Re: Help With Dependencies



On Mon, Oct 29, 2007 at 04:30:43PM -0700, Jeff Grossman <jeff@xxxxxxxxxxx> was heard to say:
How come such a difference? I don't want to install all of that other
stuff. I just want to install mercurial and what is required to run that
program.

I guess that a lot of that is being pulled in by kdiff3.

Debian has three ways packages can require one another: Depends,
Recommends, and Suggests. Technically, here's what they mean:

a Depends b: a cannot function without b. If a is installed, b must
also be installed.

a Recommends b: a almost always requires b for major functionality.
In the words of Policy, this is a "strong, but not
absolute dependency", and b is a package that
"would be found together with [a] in all but unusual
installations".

In practice, this means that b should be automatically
installed whenever a is. However, package authors
sometimes make dubious choices about what to
recommend, so you might need to override their
decisions.

a Suggests b: b somehow enhances or provides extra functionality for a.
Frontends don't, in general, automatically do anything
with suggestions (in fact, I experimented with providing
this functionality in aptitude, but it tended to install
everything in the archive); they're meant as a hint for
the user.


So, you can work around this case by passing --without-recommends, or
by individually holding back the offending packages (e.g., by adding
"kdiff3:" to the end of the command-line or typing ": kdiff3" at the
aptitude prompt). I would advise against globally disabling the
installation of recommended packages, however; doing so risks ending up
with packages that are missing functionality that you expect.



In the specific case you're looking at, I've found kdiff3 to be a very
nice 3-way merge tool that works well with Mercurial. If you don't
already have a 3-way merger that you like, you might want to try it out.

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • FS: Complete Linux Recording Package Ready To Roll.
    ... How to install Rehmudi-2.0 ... if you don't have any sound, ... dependencies of Agnula Packages ... ... from the new kernel. ...
    (comp.os.linux.misc)
  • Re: Complete Linux Recording Package Ready To Roll.
    ... How to install Rehmudi-2.0 ... if you don't have any sound, ... dependencies of Agnula Packages ... ... from the new kernel. ...
    (comp.os.linux.misc)
  • Which debian sources to use to install to Knoppix 4.0.2?
    ... running into a problem when I install software to version 4.0.2 that I ... Check out the list of extra packages to be installed, ... akregator ark cupsys cupsys-bsd cupsys-client gcc-4.0-base gs-common ... kdepim-kfile-plugins kdepim-kio-plugins kdeprint kdesktop kdessh kdf ...
    (comp.os.linux.misc)
  • Apt Gone Mad?-Or Is It Me?-Expert Help Needed
    ... So tried to upgrade OO to 2.0 but Apt refused to do so. ... Aptitude doesn't show anything but Wajig shows unmet dependency for kdelibs-data. ... The following packages are unused and will be REMOVED: agsync arson barcode brahms cdda2wav cddb digikam digikamimageplugins gmessage guarddog guidedog hotswap-gui hotswap-text i2e id3v2 kbarcode kbear kbiff kdebase-dev kdirstat kile kimdaba klog klogic kmymoney2 knetfilter knutclient komba2 kover kprof kpsk krusader ksimus ksimus-boolean ksimus-datarecorder ksimus-floatingpoint ksocrat ksocrat-data kvdr kvirc kvirc-data kvirc-doc kwavecontrol kxmleditor lesstif2 libdynamite libimlib2-dev libkonq4-dev libmimedir liborange ... ChatagnierL-Home:/temp# wajig install openoffice.org Reading Package Lists... ...
    (Debian-User)
  • Re: Debian or Ubuntu Dilemma
    ... Debian Stable < Ubuntu < Debian Testing/Unstable < Any Distro w/mutt packaging ... You'll eventually have to compile a few packages with any distro (from Debian ... Ubuntu seems to be a good balance if its default install does almost ...
    (Debian-User)