Yum self destructs

David A. De Graaf dad at datix.us
Sat Jun 20 15:41:38 UTC 2009


On Sat, Jun 20, 2009 at 03:11:03PM +0200, Michael Schwendt wrote:
> On Sat, 20 Jun 2009 12:56:29 +0200, David wrote:
> 
> > Two days ago I did  'yum update'  on this F10 laptop.
> > Now I find yum no longer works.  How do I recover from this disaster?
> 
> rpm --erase yum-plugins-tmprepo
> 
> >   File "/usr/lib/yum-plugins/tmprepo.py", line 179, in config_hook
> >     parser.values.tmp_repos = []
> > AttributeError: OptionGroup instance has no attribute 'values'
> 

That sounds like a good idea, but here's what happens:

  # ll /usr/lib/yum-plugins/tmprepo.py
  -rw-r--r-- 1 root root 7491 May 19 09:18 /usr/lib/yum-plugins/tmprepo.py
 
  # rpm -qf /usr/lib/yum-plugins/tmprepo.py
  yum-plugin-tmprepo-1.1.22-1.fc10.noarch

  # rpm -e yum-plugin-tmprep
  error: package yum-plugin-tmprep is not installed

So the offending file is there; rpm says it came from
yum-plugin-tmprepo-1.1.22-1.fc10.noarch; but rpm thinks it isn't
installed.

Anyone else have an idea?

-- 
	David A. De Graaf    DATIX, Inc.    Hendersonville, NC
	dad at datix.us         www.datix.us




More information about the fedora-list mailing list