FedoraForum.org - Fedora Support Forums and Community
Results 1 to 15 of 15
  1. #1
    slade17 Guest

    yum not working - database error?

    I keep getting this error whenever I try to use yum:


    Code:
    [root@localhost ~]# yum update
    Loaded plugins: fastestmirror, fedorakmod, kernel-module, protectbase, refresh-
                  : packagekit
    rpmdb: Thread/process 27363/3086673600 failed: Thread died in Berkeley DB library
    any idea how i can fix this?

  2. #2
    Join Date
    Jan 2005
    Posts
    5,057
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Re-install and immediately after first boot
    in root terminal
    setenforce 0
    yum clean all --enablerepo=updates-testing
    yum update --enablerepo=updates-testing
    touch /.autorelabel
    reboot

    SJ
    Do the Math

  3. #3
    slade17 Guest
    reinstalling is the only way to fix this? <.<

  4. #4
    Seve's Avatar
    Seve is offline Retired Community Manager
    Join Date
    Oct 2004
    Location
    The GTA, Ontario, Canada
    Age
    68
    Posts
    12,371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello:

    There should be no need to re-install?

    Try removing/disabling the yum-fedorakmod.noarch and yum-kernel-module.noarch packages that you have installed.

    Seve
    Registered Linux User: #384977
    .................................................. ............
    See the Links below for more Help and those much wanted extras ... :)


  5. #5
    slade17 Guest
    Quote Originally Posted by Seve
    Hello:

    There should be no need to re-install?

    Try removing/disabling the yum-fedorakmod.noarch and yum-kernel-module.noarch packages that you have installed.

    Seve
    how would i go about doing that, given this error?

    Code:
    [root@localhost ~]# yum remove yum-fedorakmod* yum-kernel-module*
    Loaded plugins: fastestmirror, fedorakmod, kernel-module, protectbase, refresh-
                  : packagekit
    rpmdb: Thread/process 27363/3086673600 failed: Thread died in Berkeley DB library
    Code:
    [root@localhost ~]# rpm -ev yum-fedorakmod.noarch yum-kernel-module.noarch
    rpmdb: Thread/process 27363/3086673600 failed: Thread died in Berkeley DB library

  6. #6
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    59
    Posts
    3,947
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    remove ALL of the plugins
    fastestmirror,

    protectbase

    protect base has been nothing but trouble from what i have read and so has fastestmirror.
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  7. #7
    slade17 Guest
    well, the problem is because of the error, I can't remove anything at all. I guess i'll just reinstall?

  8. #8
    Seve's Avatar
    Seve is offline Retired Community Manager
    Join Date
    Oct 2004
    Location
    The GTA, Ontario, Canada
    Age
    68
    Posts
    12,371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello:
    You can always try
    rpm -aq | grep yum-

    and then use

    rpm -e packagename

    to remove the yum add-on(s).

    Then run
    yum clean all

    yum check-update

    if that doesn't get you anywhere, then as root

    rm -f /var/lib/rpm/__db*

    rpm –rebuilddb

    yum clean all

    yum check-update

    Seve
    Registered Linux User: #384977
    .................................................. ............
    See the Links below for more Help and those much wanted extras ... :)


  9. #9
    slade17 Guest
    Code:
    [root@localhost ~]# rpm -aq | grep yum-
    rpmdb: Thread/process 27363/3086673600 failed: Thread died in Berkeley DB library
    any rpm or yum command fails.
    Last edited by slade17; 29th December 2008 at 02:37 AM.

  10. #10
    Seve's Avatar
    Seve is offline Retired Community Manager
    Join Date
    Oct 2004
    Location
    The GTA, Ontario, Canada
    Age
    68
    Posts
    12,371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello:
    Before you cash it in for a re-install try

    rm -f /var/lib/rpm/__db*

    rpm –rebuilddb

    yum clean all

    yum check-update

    At this point you don't have a lot to loose.

    Seve
    Registered Linux User: #384977
    .................................................. ............
    See the Links below for more Help and those much wanted extras ... :)


  11. #11
    slade17 Guest
    sorry, I missed the last part of your post before, i glazed over it and thought it was one stream of commands instead of two separate things.

    it looks like that worked, thanks.

  12. #12
    Join Date
    Jan 2005
    Posts
    5,057
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you update to the latest yum rpm amd db4 or next time it may not work.

    SJ
    Do the Math

  13. #13
    blockstack Guest
    Anyone know what might cause this to happen?
    I received this error shortly after a clean (dvd) install of fedora 10. All packages were updated through packagekit. I also installed the rpmfusion repository. Then, a few days later, packagekit got hung on an update and this was the error. This error appears to have occurred after an automatic update lastnight:
    $ yum --version
    3.2.20
    Installed: yum-metadata-parser-1.1.2-10.fc10.i386 at 2009-01-06 01:10
    Built : Fedora Project at 2008-10-15 13:37
    Committed: James Antill <james at fedoraproject.org> at 2008-10-14 22:00

    Installed: rpm-4.6.0-0.rc1.8.i386 at 2009-01-06 02:20
    Built : Fedora Project at 2008-12-01 12:10
    Committed: Jindrich Novy <jnovy@redhat.com> at 2008-12-01 22:00

    Installed: yum-3.2.20-5.fc10.noarch at 2009-01-06 02:23
    Built : Fedora Project at 2008-12-08 16:34
    Committed: Seth Vidal <skvidal at fedoraproject.org> at 2008-12-08 22:00

  14. #14
    Join Date
    Aug 2005
    Location
    Ann Arbor
    Age
    59
    Posts
    3,947
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    blockstack
    what was the error?
    a week or two ago i had a missing dependency error and the cause was a typo in the rpm name
    after removing and reinstalling that rpm the problem was fixed.
    Last edited by JohnVV; 6th January 2009 at 11:01 PM.
    OpenSUSE 13.2-64bit & Scientific Linux 6.6-64bit ( fedora 4 to 11) and 20 on KVM
    My Celestia Downloads

    h t t p ://celestiamotherlode.net/catalog/show_creator_details.php?creator_id=10

  15. #15
    slade17 Guest
    i might as well reply, this did fix my problem temporarily, but i updated the system and restarted and i couldn't log into GDM, so i just reinstalled. everything has been fine with the new install.

    the error is in my first post. good luck blockstack

Similar Threads

  1. QPSQL: Database error
    By fc5pjs in forum Programming & Packaging
    Replies: 4
    Last Post: 29th May 2007, 02:47 PM
  2. Replies: 2
    Last Post: 2nd July 2006, 08:17 AM
  3. Getting an error while trying to backup database
    By Wh0M3 in forum Servers & Networking
    Replies: 0
    Last Post: 23rd February 2006, 04:05 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •