Package: aptitude Version: 0.6.3-3.2 Severity: normal Hi,
I ran into the same problem. It also happens when searching for actions reinstall or downgrade. Problem seems to be a few missing 'break's in src/generic/apt/matching/match.cc: -------------------------------------------------------- --- match.cc.orig 2010-06-19 08:04:43.000000000 +0200 +++ match.cc 2011-02-18 22:03:39.000000000 +0100 @@ -746,12 +746,15 @@ // The rest correspond directly to find_pkg_state() return values. case pattern::action_reinstall: matches = find_pkg_state(pkg, cache) == pkg_reinstall; + break; case pattern::action_upgrade: matches = find_pkg_state(pkg, cache) == pkg_upgrade; + break; case pattern::action_downgrade: matches = find_pkg_state(pkg, cache) == pkg_downgrade; + break; case pattern::action_keep: matches = cache[pkg].Keep(); -------------------------------------------------------- I'd appreciate if this (or another) patch could make it into the next version. Kind Regards, Rogier. -- 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 => (0xf777a000) libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0xf7659000) libncursesw.so.5 => /lib/libncursesw.so.5 (0xf7613000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0xf760c000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0xf754c000) libept.so.1 => /usr/lib/libept.so.1 (0xf74fb000) libxapian.so.22 => /usr/lib/sse2/libxapian.so.22 (0xf7320000) libz.so.1 => /usr/lib/libz.so.1 (0xf730c000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xf727f000) libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 (0xf7266000) libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xf724d000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7158000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xf7132000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7114000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf6fcd000) libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0xf6fc9000) libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xf6fc5000) libuuid.so.1 => /lib/libuuid.so.1 (0xf6fc1000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0xf6fb0000) librt.so.1 => /lib/i686/cmov/librt.so.1 (0xf6fa6000) /lib/ld-linux.so.2 (0xf777b000) Terminal: xterm $DISPLAY is set. `which aptitude`: /usr/bin/aptitude aptitude version information: aptitude linkage: -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) 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 aptitude depends on: ii apt [libapt-pkg4.10] 0.8.10.3 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 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