Re: RPM Database Corruption

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

 



chris@xxxxxxxxxxxx writes:

Lesson learned: *NEVER* kill a yum update, no matter how long it takes.

Come and join the party we're having in another thread.

With that out of the way, how SHOULD I have proceeded after trashing an FC5 or FC6 system that had the database so corrupt that yum and rpm couldn't run?

Although the rpm database is known to get wonky from times, winding it up in an unusable state is very rare. It only really happens when corruption and various cruft has accumulated, slowly, over some time, and your final "event" pushed things over the edge, over the point of no return.

Manually rm-ing all the __db* files in /var/lib/rpm, and then running "rpm --rebuilddb" usually manages to repair or minimize the damage, maybe about 99% of the time. It's the remaining 1% of the time that puts you into a real pickle.

(What I eventually did was re-install Fedora.)

Been there, done that too.

Attachment: pgp3aQryFGNBp.pgp
Description: PGP signature

[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