Package: aptitude Followup-For: Bug #486454 On Sat, 30 Aug 2008 21:25:43 -0700 Daniel Burrows wrote: > I never figured out what's going on in #486454 [...]
Hi, I just came across this report while searching for more info on another issue. This is actually not related to the problem I am having at the moment but I believe I found an explanation for the behaviour the OP experienced. According to aptitude(8) the option --without-recommends does the following: "Do not treat recommendations as dependencies when installing new packages (this overrides settings in /etc/apt/apt.conf and ~/.aptitude/config). Packages previously installed due to recommendations will not be removed. [...]" The second sentence of the above quote might explain why, even if --without-recommends is set, recommendations are not removed. The OP installed emacs and aptitude took care of the dependencies which in turn get marked as automatically installed. When emacs was purged there were other packages still installed which recommend emacs22-common. So aptitude looks at the auto flag and cannot distinguish if it was set due to a recommendation or a dependency since this information is not saved. Just my 2¢, hope it helps. 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 => (0x00007fffa79ff000) libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 (0x00007f0b9f439000) libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f0b9f1ee000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f0b9efe9000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f0b9ed16000) libept.so.0 => /usr/lib/libept.so.0 (0x00007f0b9ea9d000) libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f0b9e731000) libz.so.1 => /usr/lib/libz.so.1 (0x00007f0b9e51a000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0b9e2ff000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f0b9dff3000) libm.so.6 => /lib/libm.so.6 (0x00007f0b9dd70000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f0b9db59000) libc.so.6 => /lib/libc.so.6 (0x00007f0b9d806000) libutil.so.1 => /lib/libutil.so.1 (0x00007f0b9d603000) libdl.so.2 => /lib/libdl.so.2 (0x00007f0b9d3ff000) /lib64/ld-linux-x86-64.so.2 (0x00007f0b9f6fa000) 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