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

Re: RPM just did something weird - after yum update.



On Thu, May 06, 2004 at 09:54:23AM -0500, Brian Hankins wrote:
> I have another thread where rpm upgrades are segfaulting. Here is some 
> advice given to me, which you will need the rpm-devel package by the way:
> 
> There's probably something corrupt in the rpmdb, if --rebuilddb doesn't 
> cure it then you can try the alternative method:
> 
> Take a backup:
> # cd /var/lib
> # tar czvf /tmp/rpmdb.tar.gz rpm
> 
> Do a basic verify of the packages db:
> # cd /var/lib/rpm
> # /usr/lib/rpm/rpmdb_verify Packages 
> 
> Repair it:
> # mv Packages Packages-ORIG
> # /usr/lib/rpm/rpmdb_dump Packages-ORIG | /usr/lib/rpm/rpmdb_load Packages
> 
> See if it worked:
> # rpm -qa

I have done this.. It didn't help.
rpmdb_verify didn't even say anything about errors.. but i did still
that dump/load..

-rw-r--r--   1 rpm  rpm  28983296 May  6 09:27 Packages
-rw-r--r--   1 rpm  rpm  32870400 May  5 21:55 Packages-ORIG

It only made the file smaller but it still does segmentation fault.

$ rpm -qa 
...
elfutils-0.89-2
error: rpmdbNextIterator: skipping h#     876 Header V3 DSA signature: BAD, key ID e42d547b
Segmentation fault

$ rpm -q yum
error: rpmdbNextIterator: skipping h#     876 Header V3 DSA signature: BAD, key ID e42d547b
Segmentation fault

> ----This did not fix my particular problem, but might be something for you 
> to try.

Same here.. i made a bugzilla as the rpm guy at redhat said in some
posting with those commands..

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122601

And i think that this could be the same as:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=122520

But hard to say..


-- 
 Jani Ollikainen   http://iki.fi/bestis/

Attachment: pgp00134.pgp
Description: PGP signature


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