Results 1 to 9 of 9
Howdy, I haven't had all that much experience with linux. I used to mess around with it a lot but for a while i didnt have access to a linux ...
- 03-06-2010 #1
Yum Error
Howdy, I haven't had all that much experience with linux. I used to mess around with it a lot but for a while i didnt have access to a linux computer. But now I do. I tried to install Yum. It is possible that I already had Yum installed (FC11) so i might have screwed somethin up when i tried to overwrite what was already there. anyway this is what happends when i do a simple yum info firefox
any ideas?Code:Loaded plugins: refresh-packagekit Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "yummain.py", line 254, in user_main errcode = main(args) File "yummain.py", line 88, in main base.getOptionsConfig(args) File "cli.py", line 203, in getOptionsConfig self.plugins.run('args', args=args) File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 170, in run raise ValueError('unknown slot name "%s"' % slotname) ValueError: unknown slot name "args"
thanks
- 03-06-2010 #2Just Joined!
- Join Date
- Dec 2009
- Location
- India
- Posts
- 4
Hello,
Just wanna make sure that did you enable rpmfusion repositories in your F11 machine?
- 03-07-2010 #3
Execute this
In case it doesn't work, execute thisCode:su - rm -f /var/lib/rpm/__db* <--- two under_scores before 'db*' db_verify /var/lib/rpm/Packages rpm --rebuilddb
Post output here.Code:su -c yum repolist
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-07-2010 #4Just Joined!
- Join Date
- Dec 2009
- Location
- India
- Posts
- 4
devils casper, why would he need to remove those files? I mean I've those __db* files in my machine and everything works fine.
PS-Not offending. Want to know about it.
- 03-07-2010 #5Linux Newbie
- Join Date
- Oct 2008
- Posts
- 140
Fedora 11 came with yum pre-installed. But trying to install it anyway should just give you an error message similar to this one from my machine, "Setting up Install Process
Package yum-3.2.24-2.fc10.noarch already installed and latest version
Nothing to do
".
It can't hurt a thing. You might want to uninstall yum and start over with a fresh installation of it.
Do:
[root@Yourbox ~]$ yum erase yum
and then
[root@Yourbox ~]$rpm -ivh hxxp://mirror.cpsc.ucalgary.ca/mirror/fedora/linux/releases/11/Fedora/x86_64/os/Packages/yum-3.2.22-4.fc11.noarch.rpm
I hope that helps.
- 03-07-2010 #6Its a rpm database and if it gets corrupted, yum doesn't work properly. db_verify command regenrate that database from scratch.devils casper, why would he need to remove those files? I mean I've those __db* files in my machine and everything works fine.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 03-07-2010 #7
no immediate errors come up but when i type the same thing (yum info firefox) i get this error
The bottom one gives me the same error.Code:Loaded plugins: refresh-packagekit Traceback (most recent call last): File "/usr/bin/yum", line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File "yummain.py", line 254, in user_main errcode = main(args) File "yummain.py", line 88, in main base.getOptionsConfig(args) File "cli.py", line 203, in getOptionsConfig self.plugins.run('args', args=args) File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 170, in run raise ValueError('unknown slot name "%s"' % slotname) ValueError: unknown slot name "args"
I also tried uninstalling like kurtdriver said and it says command erase not found. So how would i uninstall it?
- 03-07-2010 #8Linux Newbie
- Join Date
- Oct 2008
- Posts
- 140
rpm -e yum
This would do it, maybe yum can't erase itself.
- 03-08-2010 #9hmmmCode:
error: Failed dependencies: yum >= 3.2.22 is needed by (installed) createrepo-0.9.7-6.fc11.noarch yum >= 2.9.5 is needed by (installed) system-config-language-1.3.2-5.fc11.noarch yum is needed by (installed) anaconda-yum-plugins-1:1.0-4.fc11.noarch yum >= 2.4 is needed by (installed) mock-0.9.16-1.fc11.noarch yum is needed by (installed) bodhi-client-0.5.19-1.fc11.noarch yum >= 3.2.22 is needed by (installed) yum-utils-1.1.21-2.fc11.noarch yum >= 3.2.19 is needed by (installed) PackageKit-yum-0.4.6-8.fc11.i586 yum >= 3.0 is needed by (installed) PackageKit-yum-plugin-0.4.6-8.fc11.i586 yum >= 3.2.19 is needed by (installed) preupgrade-1.0.1-2.fc11.noarch


Reply With Quote
