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

Bug#473863: autoremove needs two runs when one would suffice



Package: apt
Version: 0.7.20.2

Hi there!

On Wed, 02 Apr 2008 03:06:02 +0200, Jidanni wrote:
> The following is a perfect example of users needing an additional
> autoremove step (the third autoremove below) when it should all be
> accomplished once (at the second autoremove below).

It seems this bug is still present on an up-to-date sid:
=====
luca@gismo:~$ sudo apt-get install rxvt-unicode
[sudo] password for luca:
[...]
The following packages were automatically installed and are no longer required:
  libgtkhtml2-0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libafterimage0 libperl5.10
The following NEW packages will be installed:
  libafterimage0 libperl5.10 rxvt-unicode
0 upgraded, 3 newly installed, 0 to remove and 19 not upgraded.
Need to get 1592kB of archives.
After this operation, 3744kB of additional disk space will be used.
Do you want to continue [Y/n]? y
[...]
Setting up rxvt-unicode (9.06-1) ...
Processing triggers for menu ...

luca@gismo:~$ sudo apt-get --purge autoremove rxvt-unicode
[...]
The following packages were automatically installed and are no longer required:
  libgtkhtml2-0
The following packages will be REMOVED:
  libgtkhtml2-0* rxvt-unicode*
0 upgraded, 0 newly installed, 2 to remove and 19 not upgraded.
After this operation, 3658kB disk space will be freed.
Do you want to continue [Y/n]? y
[...]
Processing triggers for menu ...

luca@gismo:~$ sudo apt-get --purge autoremove
[...]
The following packages were automatically installed and are no longer required:
  libperl5.10 libafterimage0
The following packages will be REMOVED:
  libafterimage0* libperl5.10*
0 upgraded, 0 newly installed, 2 to remove and 19 not upgraded.
After this operation, 684kB disk space will be freed.
Do you want to continue [Y/n]? y
[...]

luca@gismo:~$
=====

Thx, bye,
Gismo / Luca

-- 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 "none";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Cache-Limit "88388604";
APT::Default-Release "unstable";
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::sourceparts "sources.list.d";
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";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
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";
Acquire "";
Acquire::PDiffs "false";

-- /etc/apt/preferences --

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

Package: *
Pin: release a=Unofficial Multimedia Packages
Pin-Priority: 300

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

# -*- mode: apt-sources -*-
#
# Time-stamp: <2009/02/01 17:37:38 CET luca@gismo.pca.it>


# Debian.org
# automatic selection through DNS
# http://lists.debian.org/debian-devel/2008/02/msg00216.html
# http://lists.debian.org/debian-devel/2008/02/msg00700.html
deb http://cdn.debian.net/debian/ sid main non-free contrib
deb http://cdn.debian.net/debian/ experimental main non-free contrib
deb-src http://cdn.debian.net/debian/ sid main contrib non-free
deb-src http://cdn.debian.net/debian/ experimental main contrib non-free

# http://wiki.debian.org/DebianKernel
deb http://kernel-archive.buildserver.net/debian-kernel sid main
deb http://kernel-archive.buildserver.net/debian-kernel trunk main
deb-src http://kernel-archive.buildserver.net/debian-kernel sid main
deb-src http://kernel-archive.buildserver.net/debian-kernel trunk main

# emacs-snapshot
deb http://emacs.orebokech.com sid main
deb-src http://emacs.orebokech.com sid main

# http://wiki.debian.org/pkg-fso
deb http://pkg-fso.alioth.debian.org/debian unstable main
deb-src http://pkg-fso.alioth.debian.org/debian unstable main

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 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        2009.01.31 GnuPG archive keys of the Debian a
ii  libc6                         2.9-3      GNU C Library: Shared libraries
ii  libgcc1                       1:4.3.3-4  GCC support library
ii  libstdc++6                    4.3.3-4    The GNU Standard C++ Library v3

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc                       <none>     (no description available)
pn  aptitude | synaptic | gnome-a <none>     (no description available)
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  dpkg-dev                      1.14.25    Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.8      Python interface to libapt-pkg

-- no debconf information

Attachment: pgpd_h4_yPEXj.pgp
Description: PGP signature


Reply to: