RE: Apt-get behaving badly
> That's bad. If you have strace installed, try running 'strace -f -o
> /tmp/dpkg.trace apt-get upgrade', and look near the end of
> /tmp/dpkg.trace for clues. You might want to try memtest86 though.
OK, I ran it. Here's the last few hundred lines of the results. Don't have
a clue as to what it might mean. Can you help?
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1765, ...}) = 0
755 read(7, "/.\n/lib\n/lib/libcom_err.so.2.0\n/"..., 1765) = 1765
755 brk(0x8c93000) = 0x8c93000
755 close(7) = 0
755 open("/var/lib/dpkg/info/gdk-imlib1.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=561, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/libgdk"..., 561) = 561
755 close(7) = 0
755 open("/var/lib/dpkg/info/modutils.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1931, ...}) = 0
755 read(7, "/.\n/etc\n/etc/cron.daily\n/etc/cro"..., 1931) = 1931
755 close(7) = 0
755 open("/var/lib/dpkg/info/sawfish.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=28580, ...}) = 0
755 brk(0x8c9b000) = 0x8c9b000
755 brk(0x8ca2000) = 0x8ca2000
755 read(7, "/.\n/etc\n/etc/X11\n/etc/X11/sawfis"..., 28580) = 28580
755 close(7) = 0
755 brk(0x8ca5000) = 0x8ca5000
755 brk(0x8ca8000) = 0x8ca8000
755 open("/var/lib/dpkg/info/ed.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=454, ...}) = 0
755 read(7, "/.\n/bin\n/bin/ed\n/usr\n/usr/bin\n/u"..., 454) = 454
755 close(7) = 0
755 open("/var/lib/dpkg/info/libtool.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/libtoo"..., 1074) = 1074
755 close(7) = 0
755 open("/var/lib/dpkg/info/xfree86-common.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1815, ...}) = 0
755 read(7, "/.\n/etc\n/etc/X11\n/etc/X11/Xresou"..., 1815) = 1815
755 close(7) = 0
755 open("/var/lib/dpkg/info/libstdc++2.10-dev.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=4884, ...}) = 0
755 brk(0x8cab000) = 0x8cab000
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/do"..., 4884) = 4884
755 brk(0x8cae000) = 0x8cae000
755 close(7) = 0
755 open("/var/lib/dpkg/info/libexpat1.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=259, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/libexp"..., 259) = 259
755 close(7) = 0
755 open("/var/lib/dpkg/info/mime-support.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=917, ...}) = 0
755 read(7, "/.\n/etc\n/etc/mime.types\n/etc/mai"..., 917) = 917
755 close(7) = 0
755 open("/var/lib/dpkg/info/apache-perl.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=798, ...}) = 0
755 read(7, "/.\n/usr\n/usr/sbin\n/usr/sbin/apac"..., 798) = 798
755 close(7) = 0
755 brk(0x8c5d000) = 0x8c5d000
755 open("/var/lib/dpkg/info/bsdmainutils.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=2831, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/ncal\n/"..., 2831) = 2831
755 close(7) = 0
755 open("/var/lib/dpkg/info/man-db.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=3952, ...}) = 0
755 read(7, "/.\n/etc\n/etc/manpath.config\n/etc"..., 3952) = 3952
755 brk(0x8c60000) = 0x8c60000
755 close(7) = 0
755 open("/var/lib/dpkg/info/libc6-dev.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=33518, ...}) = 0
755 brk(0x8c69000) = 0x8c69000
755 brk(0x8c72000) = 0x8c72000
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/gencat"..., 32768) = 32768
755 read(7, "lude/asm/string.h\n/usr/include/a"..., 750) = 750
755 brk(0x8c75000) = 0x8c75000
755 close(7) = 0
755 brk(0x8c78000) = 0x8c78000
755 brk(0x8c7b000) = 0x8c7b000
755 brk(0x8c7e000) = 0x8c7e000
755 brk(0x8c81000) = 0x8c81000
755 open("/var/lib/dpkg/info/m4.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1623, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/do"..., 1623) = 1623
755 close(7) = 0
755 open("/var/lib/dpkg/info/libjpeg62.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=271, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/libjpe"..., 271) = 271
755 close(7) = 0
755 open("/var/lib/dpkg/info/libmpeg1.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=231, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/libmpe"..., 231) = 231
755 close(7) = 0
755 brk(0x8c84000) = 0x8c84000
755 open("/var/lib/dpkg/info/libxml1.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=386, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/pkgcon"..., 386) = 386
755 close(7) = 0
755 open("/var/lib/dpkg/info/netscape-base-477.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=954, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/do"..., 954) = 954
755 close(7) = 0
755 open("/var/lib/dpkg/info/whiptail.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=232, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/ma"..., 232) = 232
755 close(7) = 0
755 open("/var/lib/dpkg/info/libxml2.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=469, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/xmllin"..., 469) = 469
755 close(7) = 0
755 open("/var/lib/dpkg/info/grep.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=2400, ...}) = 0
755 brk(0x8c87000) = 0x8c87000
755 read(7, "/.\n/bin\n/bin/grep\n/bin/egrep\n/bi"..., 2400) = 2400
755 close(7) = 0
755 open("/var/lib/dpkg/info/esound.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=142, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/esd\n/u"..., 142) = 142
755 close(7) = 0
755 open("/var/lib/dpkg/info/mount.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=635, ...}) = 0
755 read(7, "/.\n/bin\n/bin/mount\n/bin/umount\n/"..., 635) = 635
755 close(7) = 0
755 open("/var/lib/dpkg/info/communicator-base-477.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=618, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/netsca"..., 618) = 618
755 close(7) = 0
755 open("/var/lib/dpkg/info/libzvt2.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=458, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/libzvt"..., 458) = 458
755 close(7) = 0
755 open("/var/lib/dpkg/info/at.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=811, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/do"..., 811) = 811
755 close(7) = 0
755 open("/var/lib/dpkg/info/libtiff3g.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=235, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/do"..., 235) = 235
755 close(7) = 0
755 open("/var/lib/dpkg/info/dnsutils.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=383, ...}) = 0
755 brk(0x8c8a000) = 0x8c8a000
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/dig\n/u"..., 383) = 383
755 close(7) = 0
755 open("/var/lib/dpkg/info/automake.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=3039, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/li"..., 3039) = 3039
755 close(7) = 0
755 brk(0x8c8d000) = 0x8c8d000
755 open("/var/lib/dpkg/info/asclock-themes.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=4110, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/as"..., 4110) = 4110
755 close(7) = 0
755 brk(0x8c90000) = 0x8c90000
755 open("/var/lib/dpkg/info/bison.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1673, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/bison\n"..., 1673) = 1673
755 close(7) = 0
755 open("/var/lib/dpkg/info/e2fsprogs.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1765, ...}) = 0
755 read(7, "/.\n/lib\n/lib/libcom_err.so.2.0\n/"..., 1765) = 1765
755 brk(0x8c93000) = 0x8c93000
755 close(7) = 0
755 open("/var/lib/dpkg/info/gdk-imlib1.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=561, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/libgdk"..., 561) = 561
755 close(7) = 0
755 open("/var/lib/dpkg/info/modutils.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1931, ...}) = 0
755 read(7, "/.\n/etc\n/etc/cron.daily\n/etc/cro"..., 1931) = 1931
755 close(7) = 0
755 open("/var/lib/dpkg/info/sawfish.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=28580, ...}) = 0
755 brk(0x8c9b000) = 0x8c9b000
755 brk(0x8ca2000) = 0x8ca2000
755 read(7, "/.\n/etc\n/etc/X11\n/etc/X11/sawfis"..., 28580) = 28580
755 close(7) = 0
755 brk(0x8ca5000) = 0x8ca5000
755 brk(0x8ca8000) = 0x8ca8000
755 open("/var/lib/dpkg/info/ed.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=454, ...}) = 0
755 read(7, "/.\n/bin\n/bin/ed\n/usr\n/usr/bin\n/u"..., 454) = 454
755 close(7) = 0
755 open("/var/lib/dpkg/info/libtool.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1074, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/libtoo"..., 1074) = 1074
755 close(7) = 0
755 open("/var/lib/dpkg/info/xfree86-common.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1815, ...}) = 0
755 read(7, "/.\n/etc\n/etc/X11\n/etc/X11/Xresou"..., 1815) = 1815
755 close(7) = 0
755 open("/var/lib/dpkg/info/libstdc++2.10-dev.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=4884, ...}) = 0
755 brk(0x8cab000) = 0x8cab000
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/do"..., 4884) = 4884
755 brk(0x8cae000) = 0x8cae000
755 close(7) = 0
755 open("/var/lib/dpkg/info/groff-base.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=3758, ...}) = 0
755 read(7, "/.\n/etc\n/etc/groff\n/etc/groff/ma"..., 3758) = 3758
755 brk(0x8cb1000) = 0x8cb1000
755 close(7) = 0
755 open("/var/lib/dpkg/info/sysvinit.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=2267, ...}) = 0
755 brk(0x8cb4000) = 0x8cb4000
755 read(7, "/.\n/etc\n/etc/init.d\n/etc/init.d/"..., 2267) = 2267
755 close(7) = 0
755 open("/var/lib/dpkg/info/gcc.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=225, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/c89\n/u"..., 225) = 225
755 close(7) = 0
755 open("/var/lib/dpkg/info/libgdk-pixbuf2.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=2107, ...}) = 0
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/gdk-pi"..., 2107) = 2107
755 close(7) = 0
755 open("/var/lib/dpkg/info/libhtml-parser-perl.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1080, ...}) = 0
755 brk(0x8cb7000) = 0x8cb7000
755 read(7, "/.\n/usr\n/usr/lib\n/usr/lib/perl5\n"..., 1080) = 1080
755 close(7) = 0
755 open("/var/lib/dpkg/info/ssh.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=1193, ...}) = 0
755 read(7, "/.\n/usr\n/usr/bin\n/usr/bin/ssh\n/u"..., 1193) = 1193
755 close(7) = 0
755 open("/var/lib/dpkg/info/tcpd.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=562, ...}) = 0
755 brk(0x8cba000) = 0x8cba000
755 read(7, "/.\n/usr\n/usr/sbin\n/usr/sbin/tcpd"..., 562) = 562
755 close(7) = 0
755 open("/var/lib/dpkg/info/perl-base.list", O_RDONLY) = 7
755 fstat64(7, {st_mode=S_IFREG|0644, st_size=4025, ...}) = 0
755 read(7, "/.\n/usr\n/usr/share\n/usr/share/do"..., 4025) = 4025
755 --- SIGTERM (Terminated) ---
741 <... wait4 resumed> [WIFSIGNALED(s) && WTERMSIG(s) == SIGTERM], 0,
NULL) = 755
741 --- SIGCHLD (Child exited) ---
741 rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_IGN}, 8) = 0
741 rt_sigaction(SIGINT, {SIG_DFL}, {SIG_IGN}, 8) = 0
741 brk(0x80b6000) = 0x80b6000
741 close(12) = 0
741 close(11) = 0
741 close(10) = 0
741 close(9) = 0
741 close(8) = 0
741 close(7) = 0
741 close(6) = 0
741 close(5) = 0
741 munmap(0x40599000, 299008) = 0
741 munmap(0x40574000, 151552) = 0
741 munmap(0x40279000, 3124843) = 0
741 write(2, "E: ", 3) = 3
741 write(2, "Sub-process /usr/bin/dpkg exited"..., 45) = 45
741 write(2, "\n", 1) = 1
741 close(3) = 0
741 munmap(0x40014000, 4096) = 0
741 _exit(100) = ?
(END)
Reply to: