Fedora Linux Support Community & Resources Center

Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Software

Software Help on software problems.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2008-12-28, 09:45 AM CST
slade17 Offline
Registered User
 
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408
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?
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/
Reply With Quote
  #2  
Old 2008-12-28, 12:37 PM CST
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 4,465
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
Reply With Quote
  #3  
Old 2008-12-28, 05:35 PM CST
slade17 Offline
Registered User
 
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408
reinstalling is the only way to fix this? <.<
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/
Reply With Quote
  #4  
Old 2008-12-28, 05:42 PM CST
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 51
Posts: 11,971
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 ...
Reply With Quote
  #5  
Old 2008-12-28, 06:06 PM CST
slade17 Offline
Registered User
 
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408
Quote:
Originally Posted by Seve View Post
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
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/
Reply With Quote
  #6  
Old 2008-12-28, 06:08 PM CST
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 42
Posts: 3,411
remove ALL of the plugins
fastestmirror,

protectbase

protect base has been nothing but trouble from what i have read and so has fastestmirror.
__________________
Running Arch Linux & CentOS 5.4 with a Nvidia GForce 2 MX 400
(NVIDIA-96.43.13-pkg1.run)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
Reply With Quote
  #7  
Old 2008-12-28, 06:10 PM CST
slade17 Offline
Registered User
 
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408
well, the problem is because of the error, I can't remove anything at all. I guess i'll just reinstall?
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/
Reply With Quote
  #8  
Old 2008-12-28, 06:22 PM CST
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 51
Posts: 11,971
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 ...
Reply With Quote
  #9  
Old 2008-12-28, 06:31 PM CST
slade17 Offline
Registered User
 
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408
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.
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/

Last edited by slade17; 2008-12-28 at 06:37 PM CST.
Reply With Quote
  #10  
Old 2008-12-28, 06:33 PM CST
Seve's Avatar
Seve Offline
Retired Community Manager
 
Join Date: Oct 2004
Location: The GTA, Ontario, Canada
Age: 51
Posts: 11,971
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 ...
Reply With Quote
  #11  
Old 2008-12-28, 06:39 PM CST
slade17 Offline
Registered User
 
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408
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.
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/
Reply With Quote
  #12  
Old 2008-12-28, 08:02 PM CST
SlowJet Offline
Registered User
 
Join Date: Jan 2005
Posts: 4,465
Make sure you update to the latest yum rpm amd db4 or next time it may not work.

SJ
__________________
Do the Math
Reply With Quote
  #13  
Old 2009-01-06, 10:57 AM CST
blockstack Offline
Registered User
 
Join Date: Jan 2009
Posts: 2
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
Reply With Quote
  #14  
Old 2009-01-06, 11:15 AM CST
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 42
Posts: 3,411
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.
__________________
Running Arch Linux & CentOS 5.4 with a Nvidia GForce 2 MX 400
(NVIDIA-96.43.13-pkg1.run)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10

Last edited by JohnVV; 2009-01-06 at 03:01 PM CST.
Reply With Quote
  #15  
Old 2009-01-06, 11:21 AM CST
slade17 Offline
Registered User
 
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408
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
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
QPSQL: Database error fc5pjs Programming 4 2007-05-29 07:47 AM CDT
MySQL gives me the fallowing error "ERROR 1049 (42000): Unknown database 'start'" Rockafella Software 2 2006-07-02 01:17 AM CDT
Getting an error while trying to backup database Wh0M3 Networking 0 2006-02-23 08:05 AM CST
rpm database error Truls Gulbrandsen gmane.linux.redhat.fedora.general 0 2005-02-02 01:34 PM CST

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 11:53 AM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Translated to other languages supported by vBET Translator 2.3.8