aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Wrong dependancies in some packages lead to unwanted install of amule package  (Read 2661 times)

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8

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.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de

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.
Logged
Homefucking is killing prostitution

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8

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
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de

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"?
Logged
Homefucking is killing prostitution

JusTiCe8

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 30
    • http://perso.wanadoo.fr/justice8

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)
Logged