[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Yum self destructs



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?
(short of installing F11, which will occur eventually when I get home
from a trip.)

Here's the new output from trying to use yum:

# yum update
Loaded plugins: aliases, allowdowngrade, changelog, downloadonly, fastestmirror,
              : filter-data, kernel-module, keys, list-data, merge-conf, post-
              : transaction-actions, presto, priorities, protect-packages,
              : protectbase, refresh-packagekit, refresh-updatesd, rpm-warm-
              : cache, security, tmprepo, tsflags, upgrade-helper, verify,
              : versionlock
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 157, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 189, in getOptionsConfig
    self.conf
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 652, in <lambda>
    conf = property(fget=lambda self: self._getConfig(),
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 237, in _getConfig
    startupconf.pluginconfpath,disabled_plugins,enabled_plugins)
  File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 408, in doPluginSetup
    plugin_types, confpath, disabled_plugins, enabled_plugins)
  File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 163, in __init__
    self.run('config')
  File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 180, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/tmprepo.py", line 179, in config_hook
    parser.values.tmp_repos = []
AttributeError: OptionGroup instance has no attribute 'values'



Here are the recent yum-related entries in /var/log/yum.log:

  Jun 18 23:02:44 Updated: yum-3.2.23-3.fc10.noarch
  Jun 18 23:03:33 Installed: yum-plugin-tmprepo-1.1.22-1.fc10.noarch
  Jun 18 23:03:33 Installed: yum-plugin-priorities-1.1.22-1.fc10.noarch
  Jun 18 23:03:33 Installed: yum-plugin-filter-data-1.1.22-1.fc10.noarch
  Jun 18 23:03:33 Installed: yum-plugin-tsflags-1.1.22-1.fc10.noarch
  Jun 18 23:03:34 Installed: yum-plugin-keys-1.1.22-1.fc10.noarch
  Jun 18 23:03:34 Installed: yum-plugin-versionlock-1.1.22-1.fc10.noarch
  Jun 18 23:03:34 Installed: yum-plugin-list-data-1.1.22-1.fc10.noarch
  Jun 18 23:03:34 Installed: yum-plugin-rpm-warm-cache-1.1.22-1.fc10.noarch
  Jun 18 23:03:35 Installed: yum-plugin-security-1.1.22-1.fc10.noarch
  Jun 18 23:03:35 Installed: yum-plugin-downloadonly-1.1.22-1.fc10.noarch
  Jun 18 23:03:35 Updated: yum-utils-1.1.22-1.fc10.noarch
  Jun 18 23:03:36 Installed: yum-plugin-verify-1.1.22-1.fc10.noarch
  Jun 18 23:03:36 Installed: yum-plugin-protectbase-1.1.22-1.fc10.noarch
  Jun 18 23:03:36 Installed: yum-plugin-refresh-updatesd-1.1.22-1.fc10.noarch
  Jun 18 23:03:36 Installed: yum-plugin-upgrade-helper-1.1.22-1.fc10.noarch
  Jun 18 23:03:36 Installed: yum-plugin-aliases-1.1.22-1.fc10.noarch
  Jun 18 23:03:36 Installed: yum-plugin-post-transaction-actions-1.1.22-1.fc10.noa
  rch
  Jun 18 23:03:37 Installed: yum-plugin-changelog-1.1.22-1.fc10.noarch
  Jun 18 23:03:37 Installed: yum-plugin-protect-packages-1.1.22-1.fc10.noarch
  Jun 18 23:03:37 Installed: yum-plugin-fastestmirror-1.1.22-1.fc10.noarch
  Jun 18 23:03:38 Updated: yum-NetworkManager-dispatcher-1.1.22-1.fc10.noarch
  Jun 18 23:03:39 Updated: yum-updateonboot-1.1.22-1.fc10.noarch
  Jun 18 23:03:39 Installed: yum-plugin-merge-conf-1.1.22-1.fc10.noarch
  Jun 18 23:08:11 Updated: PackageKit-yum-plugin-0.3.16-1.fc10.i386
  Jun 18 23:08:16 Updated: PackageKit-0.3.16-1.fc10.i386
  Jun 18 23:08:16 Updated: PackageKit-yum-0.3.16-1.fc10.i386
  Jun 18 23:08:20 Erased: yum-priorities
  Jun 18 23:08:36 Erased: yum-filter-data
  Jun 18 23:08:39 Erased: yum-tsflags
  Jun 18 23:08:41 Erased: yum-keys
  Jun 18 23:08:48 Erased: yum-versionlock
  Jun 18 23:09:02 Erased: yum-list-data
  Jun 18 23:09:03 Erased: yum-rpm-warm-cache
  Jun 18 23:09:04 Erased: yum-security
  Jun 18 23:09:15 Erased: yum-downloadonly
  Jun 18 23:09:16 Erased: yum-verify
  Jun 18 23:09:28 Erased: yum-protectbase
  Jun 18 23:09:29 Erased: yum-refresh-updatesd
  Jun 18 23:09:29 Erased: yum-upgrade-helper
  Jun 18 23:09:34 Erased: yum-aliases
  Jun 18 23:09:38 Erased: yum-post-transaction-actions
  Jun 18 23:09:38 Erased: yum-changelog
  Jun 18 23:09:41 Erased: yum-protect-packages
  Jun 18 23:09:42 Erased: yum-fastestmirror
  Jun 18 23:09:57 Erased: yum-tmprepo
  Jun 18 23:10:06 Erased: yum-merge-conf


With a non-functional yum, how do I fix yum?

What a mess!

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]