I've just encountered another mysterious "aptitude failed but didn't say why" occurance. I tracked down the issue with apt-get.
Posted to debian-user Attempting my usual aptitude update and package download today: aptitude update && aptitude -dy full-upgrade ... I noticed that the full-upgrade didn't run. Checking aptitude's exit status, I found it was '255', though no errors were displayed. Neither strace nor '-v' options (tried multiple to 4-5) provide any more illumination. I'll omit strace here, but -v output is: # aptitude -v update; echo "Status: $?" . . . Hit http://ftp.us.debian.org unstable/non-free amd64 Packages/DiffIndex Fetched 5,406 B in 13s (407 B/s) Current status: 0 broken [+0], 77 updates [+0], 16521 new [+0] Trying apt-get, however, gives: # apt-get update . . . Hit http://ftp.us.debian.org unstable/non-free amd64 Packages/DiffIndex W: Failed to fetch http://ftp.debian-ports.org/debian/dists/unstable/Release Unable to find expected entry main/binary-amd64/Packages in Meta-index file (malformed Release file?) W: Failed to fetch http://ftp.debian-ports.org/debian/dists/unreleased/Release Unable to find expected entry main/binary-amd64/Packages in Meta-index file (malformed Release file?) E: Some index files failed to download, they have been ignored, or old ones used instead. A little more clarity would be helpful. -- Package-specific info: aptitude 0.6.3 compiled at Oct 16 2010 18:18:04 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-vdso.so.1 => (0x00007fffb19ab000) libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007f2fb0a3d000) libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f2fb07ea000) libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f2fb05e4000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f2fb0318000) libept.so.1 => /usr/lib/libept.so.1 (0x00007f2fb00c4000) libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f2fafce3000) libz.so.1 => /usr/lib/libz.so.1 (0x00007f2fafacc000) libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f2faf835000) libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 (0x00007f2faf619000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2faf3fd000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f2faf0e9000) libm.so.6 => /lib/libm.so.6 (0x00007f2faee66000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f2faec50000) libc.so.6 => /lib/libc.so.6 (0x00007f2fae8ef000) libutil.so.1 => /lib/libutil.so.1 (0x00007f2fae6eb000) libdl.so.2 => /lib/libdl.so.2 (0x00007f2fae4e7000) libuuid.so.1 => /lib/libuuid.so.1 (0x00007f2fae2e2000) libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f2fae0d2000) librt.so.1 => /lib/librt.so.1 (0x00007f2fadeca000) /lib64/ld-linux-x86-64.so.2 (0x00007f2fb0d66000) Terminal: rxvt-unicode $DISPLAY is set. `which aptitude`: /usr/bin/aptitude aptitude version information: aptitude linkage: -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (990, 'testing'), (100, 'stable'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.34-custom-1- (SMP w/4 CPU cores) 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 Advanced front-end for dpkg ii libboost-iostreams1.42. 1.42.0-4 Boost.Iostreams Library ii libc6 2.11.2-7 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 pn aptitude-doc-en | aptitude-do <none> (no description available) 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: pn debtags <none> (no description available) ii tasksel 2.88 Tool for selecting tasks for insta -- no debconf information -- Dr. Ed Morbius Chief Scientist Krell Power Systems Unlimited -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org