Package: aptitude Version: 0.6.3-3 Severity: wishlist Proof that aptitude loses track of automatically installed packages:
# set ghostscript # aptitude install $@ The following NEW packages will be installed: ghostscript gs-common{a} (D: ghostscript) (for ghostscript) libcupsimage2{a} (D: libgs8) (for ghostscript) libgs8{a} (D: ghostscript) (for ghostscript) libjbig2dec0{a} (D: libgs8) (for ghostscript) 0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 6,422kB of archives. After unpacking 14.4MB will be used. Do you want to continue? [Y/n/?] Get:1 http://ftp.tw.debian.org unstable/main libcupsimage2 1.4.4-2 [123kB] Get:2 http://ftp.tw.debian.org unstable/main libjbig2dec0 0.11-1 [42.0kB] Get:3 http://ftp.tw.debian.org unstable/main libgs8 8.71~dfsg2-3 [2,096kB] Get:4 http://ftp.tw.debian.org unstable/main gs-common 8.71~dfsg2-3 [44.0kB] Get:5 http://ftp.tw.debian.org unstable/main ghostscript 8.71~dfsg2-3 [4,117kB] Fetched 6,422kB in 6min 32s (16.4kB/s) Selecting previously deselected package libcupsimage2. (Reading database ... 109897 files and directories currently installed.) Unpacking libcupsimage2 (from .../libcupsimage2_1.4.4-2_i386.deb) ... Selecting previously deselected package libjbig2dec0. Unpacking libjbig2dec0 (from .../libjbig2dec0_0.11-1_i386.deb) ... Selecting previously deselected package libgs8. Unpacking libgs8 (from .../libgs8_8.71~dfsg2-3_i386.deb) ... Selecting previously deselected package gs-common. Unpacking gs-common (from .../gs-common_8.71~dfsg2-3_all.deb) ... Selecting previously deselected package ghostscript. Unpacking ghostscript (from .../ghostscript_8.71~dfsg2-3_i386.deb) ... Processing triggers for man-db ... Setting up libcupsimage2 (1.4.4-2) ... Setting up libjbig2dec0 (0.11-1) ... Setting up libgs8 (8.71~dfsg2-3) ... Setting up gs-common (8.71~dfsg2-3) ... Setting up ghostscript (8.71~dfsg2-3) ... # aptitude purge $@ The following packages will be REMOVED: ghostscript{p} 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 7,057kB will be freed. The following packages have unmet dependencies: gs-common: Depends: ghostscript but it is not going to be installed. The following actions will resolve these dependencies: Remove the following packages: 1) gs-common Accept this solution? [Y/n/q/?] The following packages will be REMOVED: ghostscript{p} gs-common{a} (D: ghostscript) 0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 7,168kB will be freed. Do you want to continue? [Y/n/?] ^C # 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::Acquire::Max-Default-Age ""; APT::Acquire::Max-Default-Age::Debian-Security "7"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^linux-image.*"; APT::NeverAutoRemove:: "^linux-restricted-modules.*"; APT::NeverAutoRemove:: "^kfreebsd-image.*"; APT::Cache ""; APT::Cache::AllVersions "false"; APT::Clean-Installed "false"; APT::Get ""; APT::Get::Purge "true"; 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::netrc "auth.conf"; Dir::Etc::parts "apt.conf.d"; Dir::Etc::preferences "preferences"; Dir::Etc::preferencesparts "preferences.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"; Acquire ""; Acquire::http ""; Acquire::http::Dl-Limit "16"; Acquire::http::No-Cache "true"; Aptitude ""; Aptitude::CmdLine ""; Aptitude::CmdLine::Always-Prompt "true"; Aptitude::CmdLine::Show-Why "true"; Aptitude::CmdLine::Show-Deps "true"; Aptitude::Purge-Unused "true"; 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"; So we have to remove them by hand. # aptitude search libjbig2dec0 i A libjbig2dec0 - JBIG2 decoder library - shared libraries p libjbig2dec0-dev - JBIG2 decoder library - development files # set ghostscript gs-common # aptitude purge $@ The following packages will be REMOVED: ghostscript{p} gs-common{p} 0 packages upgraded, 0 newly installed, 2 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 7,168kB will be freed. Do you want to continue? [Y/n/?] (Reading database ... 110310 files and directories currently installed.) Removing ghostscript ... Removing gs-common ... Processing triggers for man-db ... # set libcupsimage2 libjbig2dec0 libgs8 # aptitude purge $@ The following packages will be REMOVED: libcupsimage2{ap} libgs8{ap} (D: libcupsimage2, D: libjbig2dec0) libjbig2dec0{ap} 0 packages upgraded, 0 newly installed, 3 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 7,234kB will be freed. Do you want to continue? [Y/n/?] (Reading database ... 109916 files and directories currently installed.) Removing libgs8 ... Purging configuration files for libgs8 ... Removing libcupsimage2 ... Purging configuration files for libcupsimage2 ... Removing libjbig2dec0 ... Purging configuration files for libjbig2dec0 ... -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org