Re: yum updates corrupting rpmdb

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

 



On Sat, 2007-12-15 at 19:52 -0500, Joe Smith wrote:
> This is the second update in as many days that has resulted in a 
> corrupted rpm database for me. I was able to fix yesterday's with a 
> --rebuilddb and 'yum clean all' but before I go through that little 
> exercise again, is anyone else seeing problems? Any suggestions how to 
> debug this?
> 
> # yum update
> ( lists a dozen or so packages to update, including firefox...
>    ...I say 'y'...
>    ...10 minutes later the terminal history is filled with:
> rpmdb: PANIC: fatal region error detected; run recovery
> rpmdb: PANIC: fatal region error detected; run recovery
> 
> and yum won't die except by 'kill -9'
> 
> # rpm -qa
> rpmdb: PANIC: fatal region error detected; run recovery
> error: db4 error(-30977) from dbenv->open: DB_RUNRECOVERY: Fatal error, 
> run database recovery
> error: cannot open Packages index using db3 -  (-30977)
> error: cannot open Packages database in /var/lib/rpm
> 
> Not out of space...
> # df /var/lib/rpm
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sdb7               497829    205804    266323  44% /var
> 
> and there are no kernel disk error messages.
> 
> Is there some "run recovery" that's different than --rebuilddb?
----
no but perhaps your /dev/sdb7 has some corruption itself.

You might try something like 'shutdown now -Fr' to force an fsck on
reboot

Craig

-- 
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