Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 9th August 2009, 03:56 PM
zogthegreat Offline
Registered User
 
Join Date: Feb 2005
Location: Montreal
Posts: 37
linuxfedorafirefox
need help: yum broken after removing new kernel,

I seem to have broken something after removing a test kernel that I had installed. I removed the kernel with the following command:

rpm -e kernel-2.6.29.6-217.2.3.test.fc11.x86_64

The kernel was erased, but I received an error about "grubby", that I seem to have lost. When I run "yum xxx" this is what happens:

[root@gryphon ~]# yum -y update
Loaded plugins: auto-update-debuginfo, fastestmirror, presto, protectbase, refresh-packagekit, refresh-updatesd
Found 15 installed debuginfo package(s)
Enabling fedora-debuginfo: Fedora 11 - x86_64 - Debug
Loading mirror speeds from cached hostfile
fedora/metalink | 16 kB 00:00
updates/metalink | 12 kB 00:00
* fedora: fedora.mirror.iweb.ca
* fedora-debuginfo: fedora.mirror.iweb.ca
* livna: rpm.livna.org
* rpmfusion-free: mirror.liberty.edu
* rpmfusion-free-updates: mirror.liberty.edu
* rpmfusion-nonfree: mirror.liberty.edu
* rpmfusion-nonfree-updates: mirror.liberty.edu
* updates: fedora.mirror.iweb.ca
Reading repository metadata in from local files
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 348, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 101, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.6/site-packages/yum/depsolve.py", line 112, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 649, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 491, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 232, in populateSack
self.doSetup()
File "/usr/lib/python2.6/site-packages/yum/repos.py", line 79, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 180, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 51, in postreposetup_hook
enable_debuginfo_repos(yb)
File "/usr/lib/yum-plugins/auto-update-debuginfo.py", line 38, in enable_debuginfo_repos
yb.doRepoSetup(thisrepo=r.id)
File "/usr/share/yum-cli/cli.py", line 130, in doRepoSetup
self._getSacks(thisrepo=thisrepo)
File "/usr/lib/python2.6/site-packages/yum/__init__.py", line 503, in _getSacks
self.plugins.run('exclude')
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 180, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/protectbase.py", line 51, in exclude_hook
repo1pkgs = _pkglisttodict(conduit.getPackages(repo1))
File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 584, in getPackages
return self._base.pkgSack.returnPackages(arg)
File "/usr/lib/python2.6/site-packages/yum/packageSack.py", line 397, in returnPackages
return self.sacks[repoid].returnPackages(patterns=patterns,
KeyError: 'fedora'
[root@gryphon ~]#

I have tried to do the following:

package-cleanup --problems
yum clean all
yum clean metadata
yum clean packages
yum clean dbcache


Anyone have a suggestion?

Thanks

zog
Reply With Quote
Reply

Tags
broken, kernel, removing, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing a new kernel nigel_b Using Fedora 9 27th March 2008 12:42 PM
Removing old kernel StormChaser Using Fedora 1 24th November 2007 02:47 AM
Removing old kernel...? zacetnik Using Fedora 12 6th July 2005 11:06 AM


Current GMT-time: 07:30 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat