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

Bug#64141: apt-get wants to install dependencies for a package that is being "kept back"



Package: apt
Version: 0.6.41
Followup-For: Bug #64141

Today I experienced this problem, too.  When I tried to perform a
dist-upgrade with "Debug::pkgProblemResolver=yes", I got:

  $ sudo apt-get -u -o=Debug::pkgProblemResolver=yes dist-upgrade
  Reading package lists... Done
  Building dependency tree... Done
  Calculating upgrade... Starting
  Starting 2
  Investigating libmimelib1c2
  Package libmimelib1c2 has broken dep on libmimelib1a
    Considering libmimelib1a 0 as a solution to libmimelib1c2 0
    Holding Back libmimelib1c2 rather than change libmimelib1a
  Investigating lurker
  Package lurker has broken dep on libmimelib1c2
    Considering libmimelib1c2 0 as a solution to lurker 0
    Holding Back lurker rather than change libmimelib1c2
   Try to Re-Instate lurker
  Done
  Done
  The following NEW packages will be installed:
    esound-common fontconfig hicolor-icon-theme kdelibs-bin kdelibs-data kdelibs4c2 libarts1c2
    libartsc0 libasound2 libaspell15 libaudio2 libaudiofile0 libdmx1 libdps1 libesd0 libfontconfig1
    libfs6 libglu1-xorg libice6 libjack0.100.0-0 libjasper-1.701-1 liblcms1 libmad0 libmng1
    libnetpbm10 libogg0 libopenexr2c2 libqt3-mt libsm6 libtiff4 libvorbis0a libvorbisenc2
    libvorbisfile3 libx11-6 libxau6 libxaw8 libxcursor1 libxext6 libxft2 libxi6 libxinerama1
    libxkbfile1 libxkbui1 libxmu6 libxmuu1 libxp6 libxpm4 libxrandr2 libxrender1 libxss1 libxt6
    libxtrap6 libxtst6 libxv1 libxxf86dga1 libxxf86misc1 libxxf86vm1 menu-xdg netpbm
    ttf-bitstream-vera x11-common xbase-clients xlibmesa-gl xlibs xlibs-data
  The following packages have been kept back:
    lurker
  0 upgraded, 65 newly installed, 0 to remove and 1 not upgraded.
  Need to get 36.4MB/36.8MB of archives.
  After unpacking 115MB of additional disk space will be used.
  Do you want to continue [Y/n]? 

So apt-get decided to keep back lurker, but still wanted to install
1.3-4's indirect dependencies.

  $ apt-cache policy lurker
  lurker:
    Installed: 1.3-2
    Candidate: 1.3-4
    Version table:
       1.3-4 0
          600 http://ftp.de.debian.org testing/main Packages
           90 http://ftp.de.debian.org unstable/main Packages
   *** 1.3-2 0
          100 /var/lib/dpkg/status

lurker 1.3-4 depends on libmimelib1c2, which depends on kdelibs4c2 (see
bug #330098), which then pulls in tons of KDE- and X11-related packages.
This is the reason I became aware of this apt-get bug.

If I pin lurker to version 1.3-2 in /apt/preferences, `apt-get
dist-upgrade` works fine and doesn't want to install lurker 1.3-4's
indirect dependencies.

Also, why is this a whishlist bug?  It should be severity normal.

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Clean-Installed "false";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
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::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
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";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
Acquire "";
Acquire::ftp "";
Acquire::ftp::Passive "false";

-- /etc/apt/preferences --

#Package: lurker
#Pin: version 1.3-2
#Pin-Priority: 1001
#
Package: *
Pin: release a=testing
Pin-Priority: 600

Package: *
Pin: release a=unstable
Pin-Priority: 90

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

# See sources.list(5) for more information, especialy
# Remember that you can only use http, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.

# Main Debian Sources:
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb http://ftp.de.debian.org/debian/ unstable main contrib non-free

# Source Package Sources:
deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian/ unstable main contrib non-free

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (600, 'testing'), (90, 'unstable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-2-k6
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages apt depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.2-2  GCC support library
ii  libstdc++6                    4.0.2-2    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: