Re: Problem with yum database

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

 



On Fri, 2010-06-25 at 11:11 -0700, JD wrote:
> 
> On 06/25/2010 11:04 AM, stan was caught red-handed while writing::
> > rpm --rebuilddb
> >    
> Thank you stan. I tried it:
> $ sudo rpm --rebuilddb
> rpmdb: Thread/process 7604/3079239360 failed: Thread died in Berkeley DB 
> library
> error: db3 error(-30974) from dbenv->failchk: DB_RUNRECOVERY: Fatal 
> error, run database recovery
> error: cannot open Packages index using db3 -  (-30974)
> 
> This is not the first time it has happened.
> I have been using fedora since FC6. This
> corruption (due to killing yum) has happened
> to me on at least 3 occasions.
> 
> I see it as a big deficiency that killing an app
> should incur such a devastating damage to it's database.
----
maybe you shouldn't kill it while it is running.

Problem doesn't appear to be yum but your Packages database which is
actually maintained by rpm. Yum doesn't write to those files.

Try this...

ps aux|grep rpm
ps aux|grep yum

and make sure that no yum or rpm processes are currently running

Once you have determined that no yum or rpm processes are still
running...

rm /var/lib/rpm/__db.00*

and delete them

Then, try the rebuild command...

rpm --rebuilddb

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

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

  Powered by Linux