|
|||||||||||
|
Re: aptitude unintuitive behaviour (bug resolving dependencies?)
From: Daniel Burrows <dburrows(at)debian.org>
Date: Sat Aug 25 2007 - 11:31:02 EDT
Just to clarify: apache-common is a 3MB package that's required by apache modules. It isn't the apache server itself, and it won't hurt AFAIK to have it installed (although it probably indicates that you have some packages you don't need). > > What's the output if you pass -D on the command-line or type "D" [snip lots] It looks to me like this is what's happening:
horde3 Recommends: php4-gd | php5-gd | php4-gd2
php4-gd Depends: phpapi-20050606+lfs,
provided by libapache-mod-php4, libapache2-mod-php4, ...
libapache-mod-php4 Depends: apache-common
There's at least one bug here: packages shouldn't depend directly on a virtual package, since then apt will select a package to fulfill the dependency somewhat randomly. php4-gd should, e.g., depend on "libapache2-mod-php4 | phpapi-20050606+lfs". You can work around this by listing libapache2-mod-php4 first on the command-line: aptitude install libapache2-mod-php4+M horde3 The +M tells aptitude to flag the package as automatically installed immediately. > >Do you get different results if you pass --without-recommends as a Not surprising given the analysis above. > It seems like I might to add the --without-recommends into apt.conf. You could do this, and some people will recommend it. Personally, I don't like doing this; ignoring recommends can leave packages broken without manual tweaking. I find it to be easier to install recommends by default and manually drop anything I don't want. Daniel -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orgReceived on Sat Aug 25 11:33:57 2007 This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 02:54:03 EDT |
||||||||||
|
|||||||||||