 |
 |
 |
 |
| Software Help on software problems. |

2008-12-28, 09:45 AM CST
|
|
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/
|

2008-12-28, 12:37 PM CST
|
|
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
|

2008-12-28, 05:35 PM CST
|
|
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/
|

2008-12-28, 05:42 PM CST
|
 |
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 ...
|

2008-12-28, 06:06 PM CST
|
|
Registered User
|
|
Join Date: Aug 2006
Location: Sudbury, MA, USA
Age: 21
Posts: 408

|
|
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
__________________
http://www.xkcd.com/149/
http://www.xkcd.com/293/
|

2008-12-28, 06:08 PM CST
|
 |
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.
|

2008-12-28, 06:10 PM CST
|
|
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/
|

2008-12-28, 06:22 PM CST
|
 |
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 ...
|

2008-12-28, 06:31 PM CST
|
|
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.
|

2008-12-28, 06:33 PM CST
|
 |
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 ...
|

2008-12-28, 06:39 PM CST
|
|
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/
|

2008-12-28, 08:02 PM CST
|
|
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
|

2009-01-06, 10:57 AM CST
|
|
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
|

2009-01-06, 11:15 AM CST
|
 |
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.
Last edited by JohnVV; 2009-01-06 at 03:01 PM CST.
|

2009-01-06, 11:21 AM CST
|
|
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/
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Automatic Translations (Powered by  ):
All times are GMT -7. The time now is 11:53 AM CST.
|
|
 |
 |
 |
 |
|
|