Re: I have a corrupt FC6 rpmdb after a timed-out yum update; rpm --rebuilddb fails

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

 



Hi Jim;

  The sequence:
    1> delete the rpm db
    2> rebuild rpm db
    3> yum update
  took almost ten hours, but it worked!

  The key was to use -y on yum so it wouldn't time out on me when I gave up watching it take forever...

Thanks folks,
Ken

On 1/22/07, Jim Cornette <fc-cornette@xxxxxxxxxxxxxx> wrote:
> Kenneth Wolcott wrote:
>> Hi;
>>
>>   I deleted the rpm db files.
>>
>>   I then ran yum update again.
>>
>>   Seems to go fine for quite awhile and then...
>
>

It sounds like you probably have entries within your rpm database that
are leftovers from the yum blunt exit. You probably need to remove the
/var/lib/rpm/__db* files and run rpm --rebuilddb to get the database in
a usable state. Afterwards, you will have to find the packages which are
multi-versions on your system and clean up the messed up entries for the
files. Hopefully the botched update did not include a lot of packages so
the mess would not be extreme.
The easiest way is to run rpm -qa and sort the output to locate packages
which might show two or more entries. Next you would want to verify the
two packages and find out which one verifies and which one shows
problems. Then you would want to remove only the database entry for the
version that does not come back clean with the --justdb option to rpm.

After the mess is cleaned up you might be able to update the system
successfully again with yum. As you mentioned your system speed and
other options, you might be pressing the edge too much with trying to
use resource hungry programs like yum. I think 333 MHz would work but it
would be extremely slow.

Jim

--
The amount of weight an evangelist carries with the almighty is measured
in billigrahams.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux