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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-29-2008, 11:26 AM
|
#1
|
LQ Newbie
Registered: Oct 2008
Posts: 5
Rep:
|
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
|
|
|
10-30-2008, 10:36 AM
|
#2
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep: 
|
#su
#rpm -ivh abc.rpm (To INSTALL)
#rpm -e abc.rpm (To UNINSTALL)
Also see the fedora software management wiki
|
|
|
10-31-2008, 10:23 AM
|
#3
|
LQ Newbie
Registered: Oct 2008
Posts: 5
Original Poster
Rep:
|
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 
|
|
|
10-31-2008, 12:43 PM
|
#4
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep: 
|
Try rpm -i <packagename>.rpm
How did you get into this state?
Did you enable rawhide?
|
|
|
11-03-2008, 07:52 AM
|
#5
|
LQ Newbie
Registered: Oct 2008
Posts: 5
Original Poster
Rep:
|
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
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.
|
|
|
11-03-2008, 11:07 AM
|
#6
|
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766
Rep: 
|
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
|
|
|
11-03-2008, 12:46 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,702
|
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
|
|
|
11-04-2008, 04:22 AM
|
#8
|
LQ Newbie
Registered: Oct 2008
Posts: 5
Original Poster
Rep:
|
Quote:
Originally Posted by amani
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.
|
|
|
All times are GMT -5. The time now is 05:50 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|