Bug#617257: apt: Internal Error, AutoRemover broke stuff
Package: apt
Version: 0.8.11.5
Severity: normal
I'm having a problem trying to upgrade a package that has new dependencies.
It appears that apt-get is not willing to pull in the new dependencies on its
own, but will install them if I list them on the command line. The error
seems similar to my recently filed (and fixed) bug #613420, but I'm upgrading
rather than installing a new package this time. Here's the output of some
relevant commands:
$ sudo apt-get --purge install gtk2-engines-qtcurve
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hmm, seems like the AutoRemover destroyed something which really
shouldn't happen. Please file a bug report against apt.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libegl1-mesa-dev : Depends: libdrm-dev (>= 2.4.19) but it is not going to be installed
Depends: libxxf86vm-dev but it is not going to be installed
E: Internal Error, AutoRemover broke stuff
$ sudo apt-get --purge install gtk2-engines-qtcurve libdrm-dev libxxf86vm-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
[...]
The following extra packages will be installed:
libcairo-gobject2 libcairo-script-interpreter2 libcairo2 libcairo2-dev
libdrm-nouveau1a libegl1-mesa libegl1-mesa-dev libkms1 libxcb-shape0
libxcb-shm0-dev libxcb-xfixes0
Suggested packages:
libcairo2-doc
Recommended packages:
libegl1-mesa-drivers
The following NEW packages will be installed:
libcairo-gobject2 libcairo-script-interpreter2 libdrm-dev libdrm-nouveau1a
libegl1-mesa libegl1-mesa-dev libkms1 libxcb-shape0 libxcb-shm0-dev
libxcb-xfixes0 libxxf86vm-dev
The following packages will be upgraded:
gtk2-engines-qtcurve libcairo2 libcairo2-dev
3 upgraded, 11 newly installed, 0 to remove and 57 not upgraded.
Need to get 0 B/6,243 kB of archives.
After this operation, 9,949 kB of additional disk space will be used.
Do you want to continue [Y/n]?
$ apt-cache policy gtk2-engines-qtcurve
gtk2-engines-qtcurve:
Installed: 1.8.5-1
Candidate: 1.8.6-1
Version table:
1.8.6-1 0
500 http://http.us.debian.org/debian/ unstable/main amd64 Packages
*** 1.8.5-1 0
500 http://http.us.debian.org/debian/ testing/main amd64 Packages
100 /var/lib/dpkg/status
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
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::NeverAutoRemove:: "^gnumach$";
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";
APT::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "1";
APT::Get "";
APT::Get::Build-Dep-Automatic "true";
APT::Clean-Installed "false";
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/apt";
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-Invoke "";
DPkg::Pre-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
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/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::UseIoNice "true";
RPM "";
RPM::Pre-Invoke "";
RPM::Pre-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi";
RPM::Post-Invoke "";
RPM::Post-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi";
CommandLine "";
CommandLine::AsString "apt-config dump";
-- /etc/apt/preferences --
-- /etc/apt/sources.list --
#
# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-1 20081122-12:37]/ lenny contrib main
# deb cdrom:[Debian GNU/Linux testing _Lenny_ - Official Snapshot amd64 DVD Binary-1 20081122-12:37]/ lenny contrib main
#deb file:/media/usb/laptop/debian/ ./
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ lenny/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ lenny/updates main contrib
deb http://http.us.debian.org/debian unstable main non-free contrib
deb-src http://http.us.debian.org/debian unstable main contrib non-free
deb http://http.us.debian.org/debian testing main non-free contrib
deb-src http://http.us.debian.org/debian testing main contrib non-free
#deb http://non-us.debian.org/ unstable/non-US main contrib non-free
#deb-src http://non-us.debian.org unstable/non-US main contrib non-free
deb http://http.us.debian.org/debian experimental main contrib non-free
deb-src http://http.us.debian.org/debian experimental main contrib non-free
deb http://packages.enlightenment.org/debian sid main extras
#[g]xmame
#deb http://anarxia.dhis.org:2180/debian ./
#deb-src http://anarxia.dhis.org:2180/debian ./
#mplayer, mencoder
deb http://www.debian-multimedia.org sid main non-free
deb-src http://www.debian-multimedia.org sid main non-free
# opengl-man (gl, glu, glx) and glut-man man pages
#deb http://kent.comintern.ru/~kent/debian ./
#yzis
#deb ftp://download.yzis.org/yzis ./
-- System Information:
Debian Release: wheezy/sid
APT prefers sid
APT policy: (500, 'sid'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-toi+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.5.2-5 GCC support library
ii libstdc++6 4.5.2-5 The 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)
pn aptitude | synaptic | wajig <none> (no description available)
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii dpkg-dev 1.15.8.10 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.97.1 Python interface to libapt-pkg
-- no debconf information
Reply to: