Bug#594689: apt 0.8.0 breaks autoremove
Package: apt
Version: 0.8.0
Severity: important
Hello,
since todays upgrade (apt 0.7.25.3 -> 0.8.0) autoremove is broken.
"apt-get install debhelper" installs debhelper and po-debconf,
po-debconf is added to /var/lib/apt/extended_states with
Auto-Installed: 1. However after "apt-get remove debhelper" executing
"apt-get autoremove" will not remove po-debconf (although it is a leaf
package as shown by "apt-get remove po-debconf" succeeding.
cu andreas
--------------------------------
(SID)ametzler@argenau:~$ grep -E -A2 'debhelper|po-debconf' /var/lib/apt/extended_states
(SID)ametzler@argenau:~$
(SID)root@argenau:/# DEBIAN_FRONTEND=noninteractive apt-get --purge install debhelper
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
po-debconf
Suggested packages:
dh-make libmail-box-perl
Recommended packages:
libmail-sendmail-perl
The following NEW packages will be installed:
debhelper po-debconf
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/678kB of archives.
After this operation, 1827kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously deselected package po-debconf.
(Reading database ... 17705 files and directories currently installed.)
Unpacking po-debconf (from .../po-debconf_1.0.16_all.deb) ...
Selecting previously deselected package debhelper.
Unpacking debhelper (from .../debhelper_8.0.0_all.deb) ...
Processing triggers for man-db ...
Setting up po-debconf (1.0.16) ...
Setting up debhelper (8.0.0) ...
(SID)ametzler@argenau:~$ grep -E -A2 'debhelper|po-debconf' /var/lib/apt/extended_states
Package: po-debconf
Architecture: i386
Auto-Installed: 1
(SID)root@argenau:/# DEBIAN_FRONTEND=noninteractive apt-get --purge remove debhelper
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
debhelper*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 1364kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 18027 files and directories currently installed.)
Removing debhelper ...
Processing triggers for man-db ...
(SID)root@argenau:/# DEBIAN_FRONTEND=noninteractive apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(SID)root@argenau:/# DEBIAN_FRONTEND=noninteractive apt-get --purge remove po-debconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
po-debconf*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 463kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 17769 files and directories currently installed.)
Removing po-debconf ...
Processing triggers for man-db ...
--------------------------------
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
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";
APT::URL-Remap "";
APT::URL-Remap::http://merkel.debian.org/~aba/debian/ "http://ftp.at.debian.org/debian/";
APT::Get "";
APT::Get::Build-Dep-Automatic "true";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "/var/lib/apt/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]+$";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DSelect "";
DSelect::Clean "auto";
CommandLine "";
CommandLine::AsString "apt-config dump";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
deb ftp://ftp.at.debian.org/debian sid main
deb-src ftp://ftp.at.debian.org/debian sid main contrib
#deb ftp://ftp.sk.debian.org/debian sid main
# deb http://merkel.debian.org/~aba/debian sid main
# deb-src http://merkel.debian.org/~aba/debian sid main
deb ftp://ftp.at.debian.org/debian ../project/experimental main
deb-src ftp://ftp.at.debian.org/debian ../project/experimental main
# deb http://snapshot.debian.net/archive pool wvstreams
#deb http://snapshot.debian.net/archive pool cmake
# deb file:///tmp/lynx-apt/ ./
#deb file:///tmp/FIND/ ./
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.15 GnuPG archive keys of the Debian a
ii gnupg 1.4.10-4 GNU privacy guard - a free PGP rep
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-9 GCC support library
ii libstdc++6 4.4.4-9 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-4 high-quality block-sorting file co
ii dpkg-dev 1.15.8.4 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
pn python-apt <none> (no description available)
-- no debconf information
Reply to: