[PlanetCCRMA] apt-get segfault

Guy Daniel CLOTILDE guy.clotilde@wanadoo.fr
Fri Jan 30 02:43:01 2004


Thanks for responding

rm'ing /var/lib/rpm/__db.00* doesn't help. I have renamed the rpm to avoid the string conflict you pointed.
anyway, I started another strace, this time with 'rpm -ivh something.rpm --verbose' and this time the end of the output is different:

-------------------------
open("/var/lib/rpm/__db.003", O_RDWR|O_CREAT|O_LARGEFILE, 0644) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_END)            = 0
_llseek(3, 352256, [352256], SEEK_CUR)  = 0
write(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8192) = 8192
mmap2(NULL, 360448, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0x403fe000
close(3)                                = 0
write(2, "D: ", 3D: )                      = 3
write(2, "opening  db index       /var/lib"..., 62opening  db index       /var/lib/rpm/Packages rdonly mode=0x0
) = 62
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
-------------------------

so it segfaults after trying to open the db index...
I have done a 'rpm --rebuiddb' and a 'rpm --initdb' with no error messages, but still the same.

What bothers me is that even bittorent or wget segfault.
Does it have something to do with the fact that my hostname has been changed to "accent" instead of previously "localhost" . It came after I added the name "accent" to the dns server for my machine ip...



Steve Harris wrote / a écrit:
> > Try rm /var/lib/rpm/__db.00*
> 
> It looks to me like an HTTP escape has got into the shell %3a is ':'
> in HTTP. You could try replacing it with \:
> 
> - Steve
> 
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma