aMule Forum

English => en_Bugs => Topic started by: JusTiCe8 on January 04, 2008, 08:10:11 AM

Title: Wrong dependancies in some packages lead to unwanted install of amule package
Post by: JusTiCe8 on January 04, 2008, 08:10:11 AM
Hi, this is mainly for Vollstrecker,

I have these package installed :

amule-alc amule-alcc amule-cas amule-cmd amule-common amule-daemon amule-i18n-en-gb amule-i18n-fr amule-remote-gui amule-utils amule-utils-gui amule-wxcas

and on upgrade, aptitude always want to install amule package, I guess one of the previous package depend on amule | amule-daemon too strictly or something like this leading to this choice (cause list of package parsing is sometime tricky with aptitude and order really matter), and removing it after is harmless, but annoying.

Regards.
Title: Re: Wrong dependancies in some packages lead to unwanted install of amule package
Post by: Vollstrecker on January 04, 2008, 01:15:27 PM
You can run aptitiude upgrade from console to see what happens. Maybe you just have marked the amule-pkg for install. apt-cache show amule-alc amule-alcc amule-cas amule-cmd amule-common amule-daemon amule-i18n-en-gb amule-i18n-fr amule-remote-gui amule-utils amule-utils-gui amule-wxcas | grep Depends tells for every package amule | amule-daemon.
Title: Re: Wrong dependancies in some packages lead to unwanted install of amule packag
Post by: JusTiCe8 on January 05, 2008, 11:02:50 AM
As you can't guess, I always use CLI aptitude.

this is te output of apt-cache (grep'ed on current CVS release to avoid 3 times output for same package of current installed and official Debian releases):

Quote
Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.2.1), libgeoip1, libstdc++6 (>= 4.2.1), libwxbase2.8-0 (>= 2.8.7.1), libwxgtk2.8-0 (>= 2.8.7.1), zlib1g (>= 1:1.2.3.3.dfsg-1), amule-i18n-en-gb (= 2.1.3+CVS20080104-1) | amule-i18n
Depends: libc6 (>= 2.7-1), libfontconfig1 (>= 2.4.0), libfreetype6 (>= 2.3.5), libgd2-xpm (>= 2.0.35.dfsg), libgeoip1, libjpeg62, libpng12-0 (>= 1.2.13-4), libx11-6, libxpm4, zlib1g (>= 1:1.2.3.3.dfsg-1), amule (= 2.1.3+CVS20080104-1) | amule-daemon (= 2.1.3+CVS20080104-1)
Depends: libc6 (>= 2.7-1), libcrypto++6, libgcc1 (>= 1:4.2.1), libgeoip1, libstdc++6 (>= 4.2.1), libwxbase2.8-0 (>= 2.8.7.1), zlib1g (>= 1:1.2.3.3.dfsg-1), amule-i18n-en-gb (= 2.1.3+CVS20080104-1) | amule-i18n
Depends: amule (= 2.1.3+CVS20080104-1) | amule-daemon (= 2.1.3+CVS20080104-1) | amuleweb (= 2.1.3+CVS20080104-1) | amule-alc (= 2.1.3+CVS20080104-1) | amule-remote-gui (= 2.1.3+CVS20080104-1) | amule-wxcas (= 2.1.3+CVS20080104-1)
Depends: amule (= 2.1.3+CVS20080104-1) | amule-daemon (= 2.1.3+CVS20080104-1) | amuleweb (= 2.1.3+CVS20080104-1) | amule-alc (= 2.1.3+CVS20080104-1) | amule-remote-gui (= 2.1.3+CVS20080104-1) | amule-wxcas (= 2.1.3+CVS20080104-1)
Depends: libc6 (>= 2.7-1), libcrypto++6, libgcc1 (>= 1:4.2.1), libgeoip1, libstdc++6 (>= 4.2.1), libwxbase2.8-0 (>= 2.8.7.1), libwxgtk2.8-0 (>= 2.8.7.1), zlib1g (>= 1:1.2.3.3.dfsg-1), amule-i18n-en-gb (= 2.1.3+CVS20080104-1) | amule-i18n
Depends: amule-common (= 2.1.3+CVS20080104-1), amule-alcc (= 2.1.3+CVS20080104-1), amule-cmd (= 2.1.3+CVS20080104-1), amule-cas (= 2.1.3+CVS20080104-1)
Depends: amule-common (= 2.1.3+CVS20080104-1), amule-alc (= 2.1.3+CVS20080104-1), amule-remote-gui (= 2.1.3+CVS20080104-1), amule-wxcas (= 2.1.3+CVS20080104-1)
Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.2.1), libgeoip1, libstdc++6 (>= 4.2.1), libwxbase2.8-0 (>= 2.8.7.1), libwxgtk2.8-0 (>= 2.8.7.1), zlib1g (>= 1:1.2.3.3.dfsg-1), amule (= 2.1.3+CVS20080104-1) | amule-daemon (= 2.1.3+CVS20080104-1), amule-i18n-en-gb (= 2.1.3+CVS20080104-1) | amule-i18n
Title: Re: Wrong dependancies in some packages lead to unwanted install of amule package
Post by: Vollstrecker on January 05, 2008, 11:42:20 AM
In every package I see "amule (= 2.1.3+CVS20080104-1) | amule-daemon (= 2.1.3+CVS20080104-1)," which means "OR". The CLI doesn't tell you why it installs amule? Is there a --verbose option for aptitude? What tells "dpkg --getselections | grep amule"?
Title: Re: Wrong dependancies in some packages lead to unwanted install of amule packag
Post by: JusTiCe8 on January 05, 2008, 07:11:50 PM
I know the mean of symbol, but there is some cases where package order in cli may have many effects accroding to the location, like something like package-A  dependencie-of-A or the opposite, sometime aptitude shows that a package would be installed without it's dependencie.

the get-selections gives without surprise:
Quote
amule                  deinstall
amule-alc               install
amule-alcc               install
amule-cas               install
amule-cmd               install
amule-common               install
amule-daemon               install
amule-i18n-en-gb            install
amule-i18n-fr               install
amule-remote-gui            install
amule-utils               install
amule-utils-gui               install
amule-wxcas               install

There is nice options like --show-deps/-D and more (see the man page).

Something funny, upgrade packages now by doing  "aptitude install amule-alc amule-alcc amule-cas amule-cmd amule-common amule-daemon amule-i18n-en-gb amule-i18n-fr amule-remote-gui amule-utils amule-utils-gui amule-wxcas" will not want to add amule package.  8)