Re: Yum has screwed up my system :-(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks !

Looks like this is not so easy ...

when running rpm --rebuilddb I get :

[root@notes root]# rpm --rebuilddb
Illegal instruction

Looks like I have to find my CDs...

An strace is attached...

Best regards,

Johan

On Mon, 2004-08-09 at 15:23, Axel Thimm wrote:
> On Mon, Aug 09, 2004 at 03:05:19PM +0200, Johan Henes wrote:
> > Hi !
> > 
> > I do not know if this is the right list for this posting, but here I go
> > :
> > 
> > On a FC1 server, a colleague has added freshrpms and ATRPMS in addition
> > to the "normal" two repositories for updating Fedora. After a "yum
> > update" (and another yum update with the "original yum.conf after that)
> > the system looks totally screwed.
> > 
> > ie. a rpm -q kernel gives "packet not installed"....
> > 
> > I have tried to repair the rpm database with no success...
> > 
> > A rpm -qa returns maybe 150 rpms....
> > 
> > It looks like i have a combination of rpms that really does not like
> > eachother :-)
> 
> I don't think so, freshrpms & atrpms have been doing very well as a
> combination for the last two years. I assume that you had the infamous
> rpm database corruption bug:
> 
> http://rpm.org/hintskinks/repairdb/
> 
> Even though it has improved very much in latest rpm versions there are
> still reports of corrupted rpm databases (check the fedora lists and
> bugzilla.redhat.com).
> 
> > Is it possible to get the system back to its "normal" state using yum
> > with the two original repositories, or are the CDS my only way out ???
> 
> Try
> 
> rm -f /var/lib/rpm/__*
> LD_ASSUME_KERNEL=2.4.1 rpm --rebuilddb
> 
> If that does not help, your rpm database is gone.
> 
> Also try du -s /var/lib/rpm, for a full install you should get >=
> 100MB, including full freshrpms and atrpms ~= 120MB. For 150 packages
> you would get ~10MB, so if there are no more than 10-20MB you can
> forget resurrecting the rpm database :(
execve("/bin/rpm", ["rpm", "--rebuilddb"], [/* 26 vars */]) = 0
uname({sys="Linux", node="notes.smartnet.no", ...}) = 0
brk(0)                                  = 0x843b000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=21439, ...}) = 0
old_mmap(NULL, 21439, PROT_READ, MAP_PRIVATE, 3, 0) = 0xbf5c5000
close(3)                                = 0
open("/usr/lib/librpm-4.3.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@3{\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=325568, ...}) = 0
old_mmap(0x7a8000, 382836, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x7a8000
old_mmap(0x7f5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4c000) = 0x7f5000
old_mmap(0x7f8000, 55156, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f8000
close(3)                                = 0
open("/usr/lib/librpmdb-4.3.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\vm\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=982172, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xbf5c4000
old_mmap(0x6b4000, 989364, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x6b4000
old_mmap(0x7a0000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xec000) = 0x7a0000
old_mmap(0x7a4000, 6324, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7a4000
close(3)                                = 0
open("/usr/lib/librpmio-4.3.so", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\20e\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=177108, ...}) = 0
old_mmap(0x64b000, 215072, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x64b000
old_mmap(0x675000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x29000) = 0x675000
old_mmap(0x677000, 34848, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x677000
close(3)                                = 0
open("/usr/lib/libpopt.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\264j\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=28608, ...}) = 0
old_mmap(0x6aa000, 30316, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x6aa000
old_mmap(0x6b1000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x6b1000
close(3)                                = 0
open("/usr/lib/libelf.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\374\253"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=63908, ...}) = 0
old_mmap(0x5f9000, 65392, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x5f9000
old_mmap(0x608000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe000) = 0x608000
close(3)                                = 0
open("/usr/lib/libbeecrypt.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220l\202"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=119368, ...}) = 0
old_mmap(0x822000, 121048, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x822000
old_mmap(0x83d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x1a000) = 0x83d000
close(3)                                = 0
mprotect(0xbfe9e000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC|PROT_GROWSDOWN) = -1 EINVAL (Invalid argument)
mprotect(0xbfe97000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfe9b000, 16384, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfe9d000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
mprotect(0xbfe9e000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
mprotect(0xbfe9d000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC) = -1 ENOMEM (Cannot allocate memory)
open("/lib/i686/librt.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\34\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=43468, ...}) = 0
old_mmap(NULL, 79128, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x53f000
old_mmap(0x547000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x547000
old_mmap(0x548000, 42264, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x548000
close(3)                                = 0
open("/lib/i686/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000D\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=87700, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xbf5c3000
old_mmap(NULL, 331648, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x111000
old_mmap(0x11f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xd000) = 0x11f000
old_mmap(0x120000, 270208, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x120000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\7\201"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=65928, ...}) = 0
old_mmap(0x80f000, 67608, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x80f000
old_mmap(0x81f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x81f000
close(3)                                = 0
open("/usr/lib/libbz2.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\"-"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=63424, ...}) = 0
old_mmap(0x2d1000, 61008, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2d1000
old_mmap(0x2df000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xe000) = 0x2df000
close(3)                                = 0
open("/lib/i686/libc.so.6", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20P\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1431320, ...}) = 0
old_mmap(NULL, 1158148, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xc86000
old_mmap(0xd9b000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x114000) = 0xd9b000
old_mmap(0xd9f000, 7172, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xd9f000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xbf5c2000
mprotect(0xd9b000, 8192, PROT_READ)     = 0
mprotect(0x4d8000, 4096, PROT_READ)     = 0
munmap(0xbf5c5000, 21439)               = 0
brk(0)                                  = 0x843b000
brk(0x845c000)                          = 0x845c000
brk(0)                                  = 0x845c000
set_thread_area({entry_number:-1 -> 6, base_addr:0x843b280, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
getpid()                                = 11740
rt_sigaction(SIGRTMIN, {0x119330, [], SA_RESTORER, 0xcaddb8}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x1194d0, [], SA_RESTORER, 0xcaddb8}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x11a090, [], SA_RESTORER, 0xcaddb8}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RTMIN], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1], NULL, 8) = 0
_sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfe9ec34, 35, (nil), 0}) = 0
--- SIGILL (Illegal instruction) @ 0 (0) ---
+++ killed by SIGILL +++

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux