yum not working
Hello,
I'm using FC4. When i try to install or update using 'yum' i get an error. For example, [root@localhost html]# yum install xine error: cannot open Packages database in /var/lib/rpm Traceback (most recent call last): File "/usr/bin/yum", line 15, in ? yummain.main(sys.argv[1:]) File "/usr/share/yum-cli/yummain.py", line 51, in main base.getOptionsConfig(args) File "/usr/share/yum-cli/cli.py", line 139, in getOptionsConfig self.doConfigSetup(fn = conffile, root = root) File "__init__.py", line 77, in doConfigSetup File "config.py", line 258, in __init__ File "config.py", line 365, in _getsysver TypeError: rpmdb open failed Please help me |
You need to reconfigure your yum.conf - use the one supplied by Max Kanat-Alexander at www.fedorafaq.org.
Code:
cd /etc |
Hi,
I tried the commands which u mentioned.. The first two commands worked perfectly. But when i typed the 3rd one i got the following error.. [root@localhost ~]# rpm -Uvh http://www.fedorafaq.org/yum Retrieving http://www.fedorafaq.org/yum Segmentation fault |
try downloading http://www.fedorafaq.org/yum and then install it from the directory you saved it in.
|
saipraveen: that likely means the file got corrupted in the transfer. You could try again or do as linmix correctly suggests: point your browser at the site and download the package first. The just rpm -Uvh yum from whatever directory you downloaded it to.
|
All times are GMT -5. The time now is 08:52 AM. |