LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-29-2008, 11:26 AM   #1
boomboom47
LQ Newbie
 
Registered: Oct 2008
Posts: 5

Rep: Reputation: 0
Unhappy yum not working after update in FC9


Hello i am new here. anyways here is my problem i did some updates in FC9 2.6.26.5-45 i386 and well i rebooted and then tried to recheck for updates and it give me this.
Code:
@localhost ~]$ yum update
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   /usr/lib/librpmdb-4.4.so: undefined symbol: _!lock_ve

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.5.1 (r251:54863, Jun 15 2008, 18:24:51) 
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)]

If you cannot solve this problem yourself, please go to 
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
this is the output after i do:
python
import yum

Code:
[root@localhost ~]# python
Python 2.5.1 (r251:54863, Jun 15 2008, 18:24:51) 
[GCC 4.3.0 20080428 (Red Hat 4.3.0-8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import yum
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 23, in <module>
    import rpm
  File "/usr/lib/python2.5/site-packages/rpm/__init__.py", line 7, in <module>
    from _rpm import *
ImportError: /usr/lib/librpmdb-4.4.so: undefined symbol: _!lock_ve
>>>
also i do not know how to install rpms without yum so i am a little lost

sorry if i have a very simple problem but i am trying to learn fedora

Thanks in advance
 
Old 10-30-2008, 10:36 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
#su
#rpm -ivh abc.rpm (To INSTALL)
#rpm -e abc.rpm (To UNINSTALL)

Also see the fedora software management wiki
 
Old 10-31-2008, 10:23 AM   #3
boomboom47
LQ Newbie
 
Registered: Oct 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Unhappy

thank you for the reply

i have one problem i have tried that but it says "-ivh: unknown option"

i am tempted to just reinstall since i really dont have anything of importance on it
 
Old 10-31-2008, 12:43 PM   #4
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Try rpm -i <packagename>.rpm

How did you get into this state?
Did you enable rawhide?
 
Old 11-03-2008, 07:52 AM   #5
boomboom47
LQ Newbie
 
Registered: Oct 2008
Posts: 5

Original Poster
Rep: Reputation: 0
um that didn't work either it just kicked me to the usage screen

i appreciate all the help you are trying to give

Quote:
How did you get into this state?
i installed some updates here is a list
Code:
Updates:

qt
qt-x11
taglib
systemtap-runtime
systemtap
gtk+
ntupdate
ntp
pciutils
nss_ldap
qt-mysql
nspluginwrapper
xorg-x11-drv-mutouch
blender
kernaloops
ntfs-3g
xorg-x11-drv-nv
kde-filesystem
oxygen-icon-theme
kdelibs-common
pciutils-devel
ntp-perl
kdelibs
kdeedu-libs
kdepimlibs
kdebase-libs
kdeedu-kstars
kdeedu-math
ksysguardd
phonon-backend-xine
kdebase-runtime
kdebase-workspace-libs
kdebase
kdebase-workspace
kdeedu

Installs:
kdebase-runtime-libs
Quote:
Did you enable rawhide?
i don't know if i did enable it but i doubt i enabled a developmental version if that is what rawhide is

Last edited by boomboom47; 11-03-2008 at 07:59 AM.
 
Old 11-03-2008, 11:07 AM   #6
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
Ok try

#su
#rpm --version

#man rpm
#locate rpm
#uname -a

Your rpm database may need to rebuilt.

Delete the db files in /var/lib/rpm (probably)

and

#rpm -rebuilddb

(will take some time)

See http://www.informatimago.com/linux/rpm-rebuilddb.html

Check the whole fedora package mgt/rpm documentation too
 
Old 11-03-2008, 12:46 PM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 12,663

Rep: Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682Reputation: 1682
Quote:
i don't know if i did enable it but i doubt i enabled a developmental version if that is what rawhide is
WHY do people keep doing this !!!
you may have FUBARed your system to the point that a full reinstall is the only option.

maybe,maybe not ??
try this and see HOW MUCH of fedora 10 you installed on fedora 9
Code:
su -
( root password)
rpm -qa | grep fc10
if there are only 1 or 2 maybe even if there are 5 fedora 10 rpm's installed this might be able to be fix
post the output
 
Old 11-04-2008, 04:22 AM   #8
boomboom47
LQ Newbie
 
Registered: Oct 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by amani View Post
Ok try

#su
#rpm --version

#man rpm
#locate rpm
#uname -a

Your rpm database may need to rebuilt.

Delete the db files in /var/lib/rpm (probably)

and

#rpm -rebuilddb

(will take some time)

See http://www.informatimago.com/linux/rpm-rebuilddb.html

Check the whole fedora package mgt/rpm documentation too
umm i really dont know why my rpm thing doesnt have the --version and -rebuilddb options
i am tempted to reinstall to save the hassle but that would ruin the learning experience


Quote:
try this and see HOW MUCH of fedora 10 you installed on fedora 9
Code:

su -
( root password)
rpm -qa | grep fc10

if there are only 1 or 2 maybe even if there are 5 fedora 10 rpm's installed this might be able to be fix
post the output
thanks for you reply

anyways it didnt output any files or folders

Code:
[root@localhost ~]# rpm -qa|grep fc10
[root@localhost ~]#
same thing without the spaces infront and behind "|"
also it is doing the same if i try fc9 instead of fc10

i really feel like i got myself into a mess

i will probably take it to a friend to see if he can troubleshoot what is doing this and how to fix it for sure but i am hoping i can learn of a solution here

edit:

well i decided to reinstall and hopefully i dont run into different problems

thanks anyways for everyones help

Last edited by boomboom47; 11-14-2008 at 10:15 AM.
 
  


Reply

Tags
fc9, python, yum


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC9 nvidia yum update conflict JohnLocke Linux - Newbie 6 08-13-2008 04:33 PM
KDE won't load in FC9 after yum update diggs Fedora 1 07-13-2008 09:40 PM
# yum --enablerepo=updates-testing update ./kdelibs-4.0.5-2.fc9.i386.rpm 'kde*' cfo Linux - Newbie 2 06-17-2008 04:08 PM
bad kernel 2.6.25.4-30.fc9.i686 just downloaded via yum update landonmkelsey Linux - Kernel 5 06-10-2008 03:17 AM


All times are GMT -5. The time now is 03:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration