> On Tue, May 01, 2001 at 04:15:58PM -0400, Jon Eisenstein wrote: > > I seem to be in a very troublesome spot... My dpkg segfaults in any needed > > situation: > > Maybe try strace'ing it (of course if you have strace installed)?
In this reply, I'm replying to many questions and support from different people, who, before I start, I would like to thank greatly. What version: Unstable, 1.9.2. Strace: Output at end of message. Checksums: Unfortunately, I did overwrite my original dpkg with the unpacked version. I figured it couldn't get any worse than it already was. Status of available/status/etc files: What types of problems should I be looking for? Rebuild: Downloading source now. Strace output from: dpkg -i foo (since I get it regardless of whether or not the file exists, this should be fine) brk(0) = 0x8081cd0 brk(0x8081cf8) = 0x8081cf8 brk(0x8082000) = 0x8082000 umask(022) = 022 open("/etc/dpkg/dpkg.cfg", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=232, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 read(3, "# dpkg configuration file\n#\n# Th"..., 4096) = 232 read(3, "", 4096) = 0 close(3) = 0 munmap(0x40017000, 4096) = 0 getuid32() = 0 geteuid32() = 0 access("/var/lib/dpkg", W_OK) = 0 open("/var/lib/dpkg/lock", O_RDWR|O_CREAT|O_TRUNC, 0660) = 3 fcntl64(0x3, 0x6, 0xbffffb28, 0x40016004) = 0 fcntl64(0x3, 0x1, 0xbffffb28, 0x40016004) = 0 fcntl64(0x3, 0x2, 0x1, 0x40016004) = 0 open("/var/lib/dpkg/status", O_RDONLY) = 4 fstat64(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0 old_mmap(NULL, 0, PROT_READ, MAP_SHARED, 4, 0) = 0 --- SIGSEGV (Segmentation fault) --- +++ killed by SIGSEGV +++