[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685692: marked as done (apt-get install ignores already installed packages when trying to satisfy dependencies)



Your message dated Thu, 23 Aug 2012 15:46:36 +0200
with message-id <20120823154355.GA21793@debian.org>
and subject line Re: Bug#685692: apt-get install ignores already installed packages when trying to satisfy dependencies
has caused the Debian Bug report #685692,
regarding apt-get install ignores already installed packages when trying to satisfy dependencies
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
685692: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685692
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.10.3+squeeze1
Severity: normal


When attempting to install the package libgssglue1 0.1-4 while all its depedencies are already installed, apt-get wants to remove a bunch of packages, and to me that's an unwanted behaviour. The following command shows that libgssglue1 only repends on libc6 (>=2.3) :
root@sr027069:~# apt-rdepends libgssglue1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgssglue1
  Depends: libc6 (>= 2.3)
libc6
  Depends: libc-bin (= 2.11.3-3)
  Depends: libgcc1
libc-bin
libgcc1
  Depends: gcc-4.4-base (= 4.4.5-8)
  Depends: libc6 (>= 2.2.5)
gcc-4.4-base

This is in tune with the dependencies that can be seen on debian packages web site.
Now, if I look at what version of libc6 I have installed, I find this :

root@sr027069:~# dpkg -l | grep libc6
ii  libc6                               2.13-35                            Embedded GNU C Library: Shared libraries
ii  libc6-dev                           2.13-35                            Embedded GNU C Library: Development Libraries and Header Files
ii  libc6-i386                          2.13-35                            Embedded GNU C Library: 32-bit shared libraries for AMD64

We can see that libc6 2.13-35 (which is the wheezy version) is installed, and as this version is greater than the version required to install libgssglue1, installing libgssglue1 should be as simple as installing one  package, since all its dependencies are met. However, when we attempt to install libgssglue1, we have a big surprise :

root@sr027069:~# apt-get install --simulate --verbose-versions libgssglue1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
   libatk1.0-0 (1.30.0-1)
   libgtk2.0-common (2.20.1-2)
   libcdio10 (0.81-5)
   libgsf-1-common (1.14.18-1)
   hicolor-icon-theme (0.12-1)
   libxcomposite1 (0.4.2-1)
   libwxbase2.8-0 (2.8.10.1-3+b1)
   libpth20 (2.0.7-16)
   liblcms1 (1.18.dfsg-1.2+b3)
   libcdio-paranoia0 (0.81-5)
   groff (1.20.1-10)
   libx264-120 (0.120.2171+git01f7a33-4)
   libatk1.0-data (1.30.0-1)
   libmagickcore3 (6.6.0.4-3+squeeze3)
   ttf-liberation (1.05.2.20091019-4squeeze1)
   libjbig2dec0 (0.11-1)
   libregexp-assemble-perl (0.34-3)
   linux-kbuild-2.6.32 (2.6.32-1)
   linux-headers-2.6.32-5-common (2.6.32-45)
   libmagickwand3 (6.6.0.4-3+squeeze3)
   libcdt4 (2.26.3-5)
   libapr1 (1.4.2-6+squeeze4)
   libserf-0-0 (0.3.1-1)
   libslp1 (1.2.1-7.8)
   libcairo2 (1.8.10-6)
   libexiv2-9 (0.20-2)
   libthai-data (0.1.14-2)
   libfuse2 (2.8.4-1.1)
   liblqr-1-0 (0.4.1-1)
   libdatrie1 (0.2.4-1)
   fontconfig (2.8.0-2.1)
   libpango1.0-common (1.28.3-1+squeeze2)
   ufraw-batch (0.16-3+b1)
   libpixman-1-0 (0.16.4-1)
   libxaw7 (1.0.7-1)
   libgmp3c2 (4.3.2+dfsg-1)
   libxinerama1 (1.1-3)
   libxft2 (2.1.14-2)
   libpathplan4 (2.26.3-5)
   gnuplot-nox (4.4.0-1.1+b1)
   libgsf-1-114 (1.14.18-1)
   libspeexdsp1 (1.2~rc1-1)
   libthai0 (0.1.14-2)
   libdjvulibre21 (3.5.23-3)
   libxpm4 (3.5.8-1)
   netpbm (10.0-12.2+b1)
   libxrender1 (0.9.6-1)
   libfont-freetype-perl (0.03-1)
   x-ttcidfont-conf (32)
   libgvc5 (2.26.3-5)
   libjasper1 (1.900.1-7+squeeze1)
   libjpeg62 (6b1-1)
   libpam-ldap (184-8.5)
   libxdot4 (2.26.3-5)
   psutils (1.17-27)
   gcc-4.3-base (4.3.5-4)
   libavahi-client3 (0.6.27-2+squeeze1)
   libnetpbm10 (10.0-12.2+b1)
   libsysfs2 (2.1.0+repack-1)
   libgpgme11 (1.2.0-1.2)
   libcdio-cdda0 (0.81-5)
   imagemagick (6.6.0.4-3+squeeze3)
   libpango1.0-0 (1.28.3-1+squeeze2)
   exiv2 (0.20-2)
   cpp-4.3 (4.3.5-4)
   libgraph4 (2.26.3-5)
   liblist-moreutils-perl (0.25~02-1)
   libcelt0-0 (0.7.1-1)
   fuse-utils (2.8.4-1.1)
   libxcb-render0 (1.6-1)
   libdjvulibre-text (3.5.23-3)
   libpaper-utils (1.1.24)
   libxcursor1 (1.1.10-2)
   libconfig-file-perl (1.50-2)
   libaprutil1 (1.3.9+dfsg-5)
   defoma (0.11.11)
   libxcb-render-util0 (0.3.6-1)
   libxrandr2 (1.3.0-3)
   libpaper1 (1.1.24)
   libgd2-noxpm (2.0.36~rc1~dfsg-5)
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
   apt-file (2.4.0)
   autopoint (0.18.1.1-3)
   avahi-daemon (0.6.27-2+squeeze1)
   bind9-host (9.7.3.dfsg-1~squeeze6)
   curl (7.21.0-2.1+squeeze2)
   dnsutils (9.7.3.dfsg-1~squeeze6)
   ghostscript (8.71~dfsg2-9)
   git (1.7.2.5-3)
   gnuplot (4.4.0-1.1)
   gnuplot-x11 (4.4.0-1.1+b1)
   host (9.7.3.dfsg-1~squeeze6)
   libbind9-60 (9.7.3.dfsg-1~squeeze6)
   libcups2 (1.4.4-7+squeeze1)
   libcupsimage2 (1.4.4-7+squeeze1)
   libcurl3 (7.21.0-2.1+squeeze2)
   libcurl3-gnutls (7.21.0-2.1+squeeze2)
   libdns69 (9.7.3.dfsg-1~squeeze6)
   libgs8 (8.71~dfsg2-9)
   libgssapi-krb5-2 (1.10.1+dfsg-2)
   libgssrpc4 (1.8.3+dfsg-4squeeze6)
   libgtk2.0-0 (2.20.1-2)
   libgtk2.0-bin (2.20.1-2)
   libisccfg62 (9.7.3.dfsg-1~squeeze6)
   libkadm5clnt-mit7 (1.8.3+dfsg-4squeeze6)
   libkadm5srv-mit7 (1.8.3+dfsg-4squeeze6)
   libkdb5-4 (1.8.3+dfsg-4squeeze6)
   libmagickcore3-extra (6.6.0.4-3+squeeze3)
   libneon27-gnutls (0.29.3-3)
   libnss-ldap (264-2.2)
   libnss-mdns (0.10-3.1)
   librsvg2-2 (2.26.3-1)
   libsvn1 (1.6.12dfsg-6)
   libwmf0.2-7 (0.2.8.4-6.1+b1)
   libwxgtk2.8-0 (2.8.10.1-3+b1)
   mutt (1.5.20-9+squeeze2)
   openssh-client (6.0p1-2)
   openssh-server (6.0p1-2)
   sshfs (2.2-1)
   subversion (1.6.12dfsg-6)
The following NEW packages will be installed:
   libgssglue1 (0.1-4)
0 upgraded, 1 newly installed, 39 to remove and 6 not upgraded.
Remv apt-file [2.4.0]
Remv autopoint [0.18.1.1-3]
Remv libnss-mdns [0.10-3.1]
Remv avahi-daemon [0.6.27-2+squeeze1]
Remv dnsutils [1:9.7.3.dfsg-1~squeeze6]
Remv host [1:9.7.3.dfsg-1~squeeze6]
Remv bind9-host [1:9.7.3.dfsg-1~squeeze6]
Remv curl [7.21.0-2.1+squeeze2]
Remv ghostscript [8.71~dfsg2-9]
Remv git [1:1.7.2.5-3]
Remv gnuplot [4.4.0-1.1]
Remv gnuplot-x11 [4.4.0-1.1+b1]
Remv libbind9-60 [1:9.7.3.dfsg-1~squeeze6]
Remv libwxgtk2.8-0 [2.8.10.1-3+b1]
Remv libmagickcore3-extra [8:6.6.0.4-3+squeeze3]
Remv librsvg2-2 [2.26.3-1]
Remv libgtk2.0-bin [2.20.1-2]
Remv libwmf0.2-7 [0.2.8.4-6.1+b1]
Remv libgtk2.0-0 [2.20.1-2]
Remv libgs8 [8.71~dfsg2-9]
Remv libcupsimage2 [1.4.4-7+squeeze1]
Remv libcups2 [1.4.4-7+squeeze1]
Remv libcurl3 [7.21.0-2.1+squeeze2]
Remv libcurl3-gnutls [7.21.0-2.1+squeeze2]
Remv libisccfg62 [1:9.7.3.dfsg-1~squeeze6]
Remv libdns69 [1:9.7.3.dfsg-1~squeeze6]
Remv openssh-server [1:6.0p1-2]
Remv sshfs [2.2-1]
Remv openssh-client [1:6.0p1-2]
Remv libkadm5srv-mit7 [1.8.3+dfsg-4squeeze6]
Remv libkadm5clnt-mit7 [1.8.3+dfsg-4squeeze6]
Remv libkdb5-4 [1.8.3+dfsg-4squeeze6]
Remv libgssrpc4 [1.8.3+dfsg-4squeeze6]
Remv subversion [1.6.12dfsg-6]
Remv libsvn1 [1.6.12dfsg-6]
Remv libneon27-gnutls [0.29.3-3]
Remv mutt [1.5.20-9+squeeze2]
Remv libnss-ldap [264-2.2]
Remv libgssapi-krb5-2 [1.10.1+dfsg-2]
Inst libgssglue1 (0.1-4 Debian:6.0.5/stable [amd64])
Conf libgssglue1 (0.1-4 Debian:6.0.5/stable [amd64])


As you can see, apt-get tryies to uninstall lots of packages. What's going on ?  Am I missing something ?

Please note that this bug seems very similar to bug 454631, but as it's been posted 5 years ago and that I couldn't find any response to it, I'm posting this ticket in the hope that this issue will be addressed at some point.




-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/cdrom";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
CommandLine "";
CommandLine::AsString "apt-config dump";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

# 

# deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 NETINST Binary-1 20110320-15:00]/ squeeze main contrib non-free

#deb cdrom:[Debian GNU/Linux 6.0.1a _Squeeze_ - Official amd64 NETINST Binary-1 20110320-15:00]/ squeeze main contrib non-free

deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ squeeze-updates main contrib non-free
# testing
deb http://ftp.fr.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ testing main contrib non-free
# experimental (required for cuda toolkit)
deb http://ftp.fr.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ experimental main contrib non-free

-- System Information:
Debian Release: 6.0.5
  APT prefers stable-updates
  APT policy: (700, 'stable-updates'), (700, 'stable'), (650, 'testing'), (600, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2010.08.28       GnuPG archive keys of the Debian a
ii  gnupg                   1.4.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.13-35          Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.7.1-2        GCC support library
ii  libstdc++6              4.7.1-2          GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc               <none>             (no description available)
ii  aptitude              0.6.3-3.2+squeeze1 terminal-based package manager (te
ii  bzip2                 1.0.5-6+squeeze1   high-quality block-sorting file co
ii  dpkg-dev              1.15.8.12          Debian package development tools
pn  lzma                  <none>             (no description available)
ii  python-apt            0.7.100.1+squeeze1 Python interface to libapt-pkg

-- debconf-show failed

--- End Message ---
--- Begin Message ---
On Thu, Aug 23, 2012 at 03:10:30PM +0200, Guillaume Raffy wrote:
> Package: apt
> Version: 0.8.10.3+squeeze1
> Severity: normal
> 
> 
> When attempting to install the package libgssglue1 0.1-4 while all its depedencies are already installed, apt-get wants to remove a bunch of packages, and to me that's an unwanted behaviour. The following command shows that libgssglue1 only repends on libc6 (>=2.3) :
> root@sr027069:~# apt-rdepends libgssglue1
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> libgssglue1
>   Depends: libc6 (>= 2.3)
> libc6
>   Depends: libc-bin (= 2.11.3-3)
>   Depends: libgcc1
> libc-bin
> libgcc1
>   Depends: gcc-4.4-base (= 4.4.5-8)
>   Depends: libc6 (>= 2.2.5)
> gcc-4.4-base
> 
> This is in tune with the dependencies that can be seen on debian packages web site.
> Now, if I look at what version of libc6 I have installed, I find this :
> 
> root@sr027069:~# dpkg -l | grep libc6
> ii  libc6                               2.13-35                            Embedded GNU C Library: Shared libraries
> ii  libc6-dev                           2.13-35                            Embedded GNU C Library: Development Libraries and Header Files
> ii  libc6-i386                          2.13-35                            Embedded GNU C Library: 32-bit shared libraries for AMD64
> 
> We can see that libc6 2.13-35 (which is the wheezy version) is installed, and as this version is greater than the version required to install libgssglue1, installing libgssglue1 should be as simple as installing one  package, since all its dependencies are met. However, when we attempt to install libgssglue1, we have a big surprise :
> 
> root@sr027069:~# apt-get install --simulate --verbose-versions libgssglue1
[...]
> The following packages will be REMOVED:
[...]
>    libgssapi-krb5-2 (1.10.1+dfsg-2)

This is the wheezy version and it breaks
	Breaks: libgssglue1 (<< 0.2-2)

thus you need to install libgssglue1 from wheezy
as well. Closing this bug.

-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Attachment: pgpSgR0T4nYrw.pgp
Description: PGP signature


--- End Message ---

Reply to: