Package: aptitude Followup-For: Bug #178770 FWIW, IMHO this can be marked as fixed, since aptitude now has the option --purge-unused respectively Aptitude::Purge-Unused which according to aptitude(8) does exactly what the OP wants.
Just add Aptitude::Purge-Unused=true to /etc/apt.conf and you're done. Kind regards Marcus -- Package-specific info: aptitude 0.4.11.11 kompiliert am Nov 20 2008 05:11:32 Compiler: g++ 4.3.2 Kompiliert gegen: apt-Version 4.6.0 NCurses-Version: 5.7 libsigc++-Version: 2.0.18 Ept-Unterstützung aktiviert. Aktuelle Bibliotheksversion: NCurses-Version: ncurses 5.7.20090228 cwidget-Version: 0.5.12 Apt-Version: 4.6.0 linux-vdso.so.1 => (0x00007fff8e3fd000) libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 (0x00007f3185db4000) libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f3185b69000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f3185964000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f3185691000) libept.so.0 => /usr/lib/libept.so.0 (0x00007f3185418000) libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f31850ac000) libz.so.1 => /usr/lib/libz.so.1 (0x00007f3184e95000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f3184c7a000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f318496e000) libm.so.6 => /lib/libm.so.6 (0x00007f31846eb000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f31844d4000) libc.so.6 => /lib/libc.so.6 (0x00007f3184181000) libutil.so.1 => /lib/libutil.so.1 (0x00007f3183f7e000) libdl.so.2 => /lib/libdl.so.2 (0x00007f3183d7a000) /lib64/ld-linux-x86-64.so.2 (0x00007f3186075000) Terminal: screen $DISPLAY is set. `which aptitude`: /usr/bin/aptitude aptitude version information: aptitude linkage: -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'oldstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-amd64-k8-custom (SMP w/2 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages aptitude depends on: ii apt [libapt-pkg-libc6. 0.7.20.2 Advanced front-end for dpkg ii libc6 2.9-4 GNU C Library: Shared libraries ii libcwidget3 0.5.12-4 high-level terminal interface libr ii libept0 0.5.26 High-level library for managing De ii libgcc1 1:4.3.3-5 GCC support library ii libncursesw5 5.7+20090228-1 shared libraries for terminal hand ii libsigc++-2.0-0c2a 2.0.18-2 type-safe Signal Framework for C++ ii libstdc++6 4.3.3-5 The GNU Standard C++ Library v3 ii libxapian15 1.0.10-2 Search engine library ii zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime Versions of packages aptitude recommends: ii aptitude-doc-en [aptitude-do 0.4.11.11-1 English manual for aptitude, a ter ii libparse-debianchangelog-per 1.1.1-2 parse Debian changelogs and output Versions of packages aptitude suggests: ii debtags 1.7.9 Enables support for package tags pn tasksel <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org