Package: aptitude Version: 0.6.9-1~exp1 Severity: normal Dear Maintainer,
Trying to call aptitude reinstall with several packages together, reinstallation did not complete. Here is what I get when attempting to reinstall dpkg and perl-base together: (lehrin) luc% sudo aptitude reinstall dpkg perl-base The following packages will be REINSTALLED: dpkg perl-base 0 packages upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded. Need to get 3884 kB of archives. After unpacking 0 B will be used. Get: 1 http://ftp.fr.debian.org/debian/ wheezy/main dpkg amd64 1.16.4.3 [2367 kB] Get: 2 http://ftp.fr.debian.org/debian/ wheezy/main perl-base amd64 5.14.2-12 [1517 kB] Fetched 3884 kB in 16s (233 kB/s) (lehrin) luc% echo $? 139 So the download went OK, and then I get shell prompt back, without any message or stack trace. However, asking for the errno using "echo $?", I get 139, which corresponds to SEGFAULT. If I run the command using strace, here are the final lines of the trace: stat("/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_wheezy_main_binary- amd64_Packages", {st_mode=S_IFREG|0644, st_size=29011160, ...}) = 0 stat("/var/cache/apt/archives/perl-base_5.14.2-12_amd64.deb", {st_mode=S_IFREG|0644, st_size=1517388, ...}) = 0 open("/var/log/aptitude", O_WRONLY|O_CREAT|O_APPEND, 0666) = 37 fstat(37, {st_mode=S_IFREG|0644, st_size=41414, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6f3afba000 fstat(37, {st_mode=S_IFREG|0644, st_size=41414, ...}) = 0 lseek(37, 41414, SEEK_SET) = 41414 time(NULL) = 1342598943 open("/etc/localtime", O_RDONLY) = 38 fstat(38, {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 fstat(38, {st_mode=S_IFREG|0644, st_size=2945, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6f3afb9000 read(38, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\f\0\0\0\f\0\0\0\0"..., 4096) = 2945 lseek(38, -1863, SEEK_CUR) = 1082 read(38, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\r\0\0\0\r\0\0\0\0"..., 4096) = 1863 close(38) = 0 munmap(0x7f6f3afb9000, 4096) = 0 write(37, "Aptitude 0.6.9: journal\nmer., ju"..., 516) = 516 close(37) = 0 munmap(0x7f6f3afba000, 4096) = 0 close(3) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Asking for reinstallation of the two packages separately works without any problem (note there is no download here because the downloaded files from the prior failed attempt above are still there): (lehrin) luc% sudo aptitude reinstall dpkg The following packages will be REINSTALLED: dpkg 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/2367 kB of archives. After unpacking 0 B will be used. (Reading database ... 251019 files and directories currently installed.) Preparing to replace dpkg 1.16.4.3 (using .../dpkg_1.16.4.3_amd64.deb) ... Unpacking replacement dpkg ... Processing triggers for man-db ... Setting up dpkg (1.16.4.3) ... (lehrin) luc% sudo aptitude reinstall perl-base The following packages will be REINSTALLED: perl-base 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/1517 kB of archives. After unpacking 0 B will be used. (Reading database ... 251019 files and directories currently installed.) Preparing to replace perl-base 5.14.2-12 (using .../perl- base_5.14.2-12_amd64.deb) ... Unpacking replacement perl-base ... Processing triggers for man-db ... Setting up perl-base (5.14.2-12) ... (lehrin) luc% -- Package-specific info: Terminal: xterm $DISPLAY is set. which aptitude: /usr/bin/aptitude aptitude version information: aptitude 0.6.9 compiled at Jul 9 2012 19:23:54 Compiler: g++ 4.6.3 Compiled against: apt version 4.12.0 NCurses version 5.9 libsigc++ version: 2.2.10 Ept support disabled. Gtk+ support disabled. Qt support disabled. Current library versions: NCurses version: ncurses 5.9.20110404 cwidget version: 0.5.16 Apt version: 4.12.0 aptitude linkage: linux-vdso.so.1 => (0x00007fffe25ff000) libapt-pkg.so.4.12 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.4.12 (0x00007fef1f5e6000) libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fef1f3b6000) libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fef1f18c000) libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007fef1ef87000) libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007fef1ec87000) libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fef1e9db000) libboost_iostreams.so.1.49.0 => /usr/lib/libboost_iostreams.so.1.49.0 (0x00007fef1e7c2000) libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007fef1e3dc000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fef1e1bf000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fef1deb8000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fef1dc36000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fef1da1f000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fef1d698000) libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007fef1d495000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fef1d290000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fef1d079000) libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fef1ce69000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fef1cc60000) libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fef1ca5b000) /lib64/ld-linux-x86-64.so.2 (0x00007fef1ff77000) -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages aptitude depends on: ii aptitude-common 0.6.9-1~exp1 ii libapt-pkg4.12 0.9.7.1 ii libboost-iostreams1.49.0 1.49.0-3.1 ii libc6 2.13-33 ii libcwidget3 0.5.16-3.4 ii libgcc1 1:4.7.1-2 ii libncursesw5 5.9-10 ii libsigc++-2.0-0c2a 2.2.10-0.2 ii libsqlite3-0 3.7.13-1 ii libstdc++6 4.7.1-2 ii libtinfo5 5.9-10 ii libxapian22 1.2.10-2 Versions of packages aptitude recommends: ii apt-xapian-index 0.45 ii aptitude-doc-en [aptitude-doc] 0.6.8-1 ii libparse-debianchangelog-perl 1.2.0-1 ii sensible-utils 0.0.7 Versions of packages aptitude suggests: ii debtags 1.10.1 ii tasksel 3.09 -- 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