Package: aptitude Version: 0.6.3-3.2 Severity: normal "aptitude install -Rsy <package>" shows "RECOMMENDED but will NOT be installed" *unless* the output is piped (e.g. to 'cat'), in which case it does not. Piped output *should* display this information.
For example, if we find a package that is not installed, and *recommends* another packages that is not installed (this is done using "aptitude search '!~i~Drecommends:!~i' -F %p | head -1"), we can demonstrate this behaviour: When output is to terminal, "Recommended but will NOT be installed" is shown: mattcen@tony:tmp$ aptitude install -Rys $(aptitude search '!~i~Drecommends:!~i' -F %p | head -1) The following NEW packages will be installed: a7xpg-data The following packages are RECOMMENDED but will NOT be installed: a7xpg 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 3,527 kB of archives. After unpacking 3,736 kB will be used. Would download/install/remove packages. When output is to a pipe, "Recommended but will NOT be installed" is not shown: mattcen@tony:tmp$ aptitude install -Rys $(aptitude search '!~i~Drecommends:!~i' -F %p | head -1) | cat Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Reading task descriptions... The following NEW packages will be installed: a7xpg-data 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 3,527 kB of archives. After unpacking 3,736 kB will be used. Would download/install/remove packages. -- Package-specific info: aptitude 0.6.3 compiled at Oct 18 2010 22:11:25 Compiler: g++ 4.4.5 Compiled against: apt version 4.10.1 NCurses version 5.7 libsigc++ version: 2.2.4.2 Ept support enabled. Gtk+ support disabled. Current library versions: NCurses version: ncurses 5.7.20100313 cwidget version: 0.5.16 Apt version: 4.10.1 linux-gate.so.1 => (0xb7813000) libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0xb7706000) libncursesw.so.5 => /lib/libncursesw.so.5 (0xb76c0000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xb76b9000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xb75f9000) libept.so.1 => /usr/lib/libept.so.1 (0xb75a8000) libxapian.so.22 => /usr/lib/sse2/libxapian.so.22 (0xb73cd000) libz.so.1 => /usr/lib/libz.so.1 (0xb73b9000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb732c000) libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 (0xb7313000) libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb72fa000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7205000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb71df000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb71c1000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb707a000) libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xb7076000) libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7072000) libuuid.so.1 => /lib/libuuid.so.1 (0xb706e000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xb705d000) librt.so.1 => /lib/i686/cmov/librt.so.1 (0xb7053000) /lib/ld-linux.so.2 (0xb7814000) Terminal: screen-bce $DISPLAY not set. `which aptitude`: /usr/bin/aptitude aptitude version information: aptitude linkage: -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages aptitude depends on: ii apt [libapt-pkg4.10] 0.8.10.3+squeeze1 Advanced front-end for dpkg ii libboost-iostreams1.42 1.42.0-4 Boost.Iostreams Library ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib ii libcwidget3 0.5.16-3 high-level terminal interface libr ii libept1 1.0.4 High-level library for managing De ii libgcc1 1:4.4.5-8 GCC support library ii libncursesw5 5.7+20100313-5 shared libraries for terminal hand ii libsigc++-2.0-0c2a 2.2.4.2-1 type-safe Signal Framework for C++ ii libsqlite3-0 3.7.3-1 SQLite 3 shared library ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii libxapian22 1.2.3-2 Search engine library ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages aptitude recommends: ii apt-xapian-index 0.41 maintenance and search tools for a ii aptitude-doc-en [aptitude-doc 0.6.3-3.2 English manual for aptitude, a ter ii libparse-debianchangelog-perl 1.1.1-2.1 parse Debian changelogs and output ii sensible-utils 0.0.4 Utilities for sensible alternative Versions of packages aptitude suggests: ii debtags 1.7.11 Enables support for package tags ii tasksel 2.88 Tool for selecting tasks for insta -- 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