Having the same trouble. r...@frank-mobile:~# gdb --args /usr/bin/aptitude update GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i486-linux-gnu"... (no debugging symbols found) (gdb) r Starting program: /usr/bin/aptitude update (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread 0xb7a746d0 (LWP 5426)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found)
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7a746d0 (LWP 5426)] 0xb80c4006 in ?? () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7 (gdb) bt #0 0xb80c4006 in ?? () from /usr/lib/libapt-pkg-libc6.9-6.so.4.7 #1 0xec830008 in ?? () Cannot access memory at address 0xbd39c385 strace of apt-get upgrade: ... open("/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jaunty_main_binary-i386_Packages", O_RDONLY) = 6 fcntl64(6, F_SETFD, FD_CLOEXEC) = 0 read(6, "Package: abiword\nPriority: option"..., 32768) = 32768 write(1, "\r\320\247\321\202\320\265\320\275\320\270\320\265 \321\201\320\277\320\270\321\201\3) = 50 списков пакетов... 0%277\320\260"..., 50 stat64("/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_jaunty_main_binary-i386_Packages", {st_mode=S_IFREG|0644, st_size=7703897, ...}) = 0 fstat64(6, {st_mode=S_IFREG|0644, st_size=7703897, ...}) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++ Trying to remove /var/lib/apt/ and/or /var/cache/apt/ did not fix trouble. Technical info about system: r...@frank-mobile:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 9.04 Release: 9.04 Codename: jaunty r...@frank-mobile:~# uname -a Linux frank-mobile 2.6.28-15-generic #52-Ubuntu SMP Wed Sep 9 10:49:34 UTC 2009 i686 GNU/Linux apt 0.7.20.2ubuntu6 Got this problem after (successful on second run) apt-get upgrade. -- apt segfaults if /var/cache/apt/srcpkgcache.bin is wrong https://bugs.launchpad.net/bugs/57393 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs