Yum self destructs
Michael Schwendt
mschwendt at gmail.com
Sat Jun 20 15:56:07 UTC 2009
On Sat, 20 Jun 2009 17:41:38 +0200, David wrote:
> 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?
Oh, please, you mistyped the package name. The package is
called "yum-plugin-tmprepo" not "yum-plugin-tmprep".
More information about the fedora-list
mailing list