Re: yum failure.

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

 





2014-10-15 23:31 GMT+03:00 William <mattison.computer@xxxxxxxxx>:
I have F20 on a 64-bit system.  I'm a home user with no sysadmin training and no real sysadmin experience.  I tried to do my weekly patches, and got this:

bash.6[~]: yum update
error: rpmdb: BDB0113 Thread/process 2156/140591811774272 failed: BDB1507 Thread died in Berkeley DB library
error: db5 error(-30973) from dbenv->failchk: BDB0087 DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db5 -  (-30973)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed
bash.7[~]:
To answer Ranjan,
> Has you done this before?
Yes, I've been doing it every week for over a year.  This is the first time I've had a problem.

> Were you doing this as root or do you have super user status on your system?
I always do it as root.

"Alchemist" suggested:
> Do as root
> pkill yum && pkill rpm && rm -rf /var/lib/rpm/__db.00* && rpmdb --rebuilddb && sync

This appeared to have no effect.  So I tried the individual pieces as separate commands.  That appeared to work.  I then tried the "yum update".  It appears to have worked.  Thank-you!

Follow-up question...
I know that the packages on my work station came from at least two repositories.  I don't recall which.  I have a graphics card driver which I think came from an external(?) repository.  I have "xeyes", "xv", and "xcdroast", which also might have come from "external" repositories.  How can I check that the sequence of commands that "Alchemist" gave me got all the repositories?

thanks,
Bill.

RPMDB is repo unaware and includes all native RPMs. To check package against repo list use
yum list or yumdb info [package name]
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[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