Re: Yum error - "Error in YUM setup" after updating

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

 



Arch Willingham wrote:
The other night, I ran YUMEX like normal (FC6, test2). It did its update like normal and updated about twenty packages. On of the packages it said it updated was "yum.noarch 2.9.5-3". After I rebooted, I tried to rum YUMEX and it immediatly popped up with "Error in YUM setup". Once I quit YUMEX, it gives an "Exception occured" and says this:

Component: yumex
Version: 1.1.2
Summary: TBba6c5a2b __init__.py:554:doUnlock:AttributeError: 'yumexBase' object has no attribute 'conf'

Traceback (most recent call last):
  File "/usr/share/yumex/yumexmain.py", line 250, in on_FileQuit
    self.delete_event()
  File "/usr/share/yumex/yumexmain.py", line 654, in delete_event
    self.yumexbase.doUnlock( const.YUM_PID_FILE )
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 554, in doUnlock
    if self.conf.uid != 0:
AttributeError: 'yumexBase' object has no attribute 'conf'

Local variables in innermost frame:
self: <yumex.yumexBase.yumexBase object at 0x9bd0b2c>
lockfile: /var/run/yum.pid


If I type YUM from teh command line, I get this error:

Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.main(sys.argv[1:])
  File "/usr/share/yum-cli/yummain.py", line 85, in main
    base.getOptionsConfig(args)
  File "/usr/share/yum-cli/cli.py", line 183, in getOptionsConfig
    errorlevel=opts.errorlevel)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 123, in doConfigSetup
    startupconf.pluginconfpath)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 227, in doPluginSetup
    plugin_types, confpath)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 128, in __init__
    self._importplugins(types)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 169, in _importplugins
    self._loadplugin(modulefile, types)
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 185, in _loadplugin
    module = imp.load_module(modname, fp, pathname, description)
  File "/usr/lib/yum-plugins/installonlyn.py", line 23, in ?
    from yum.packages import YumInstalledPackage, comparePoEVR
ImportError: cannot import name comparePoEVR

You really need to be on fedora-test-list and/or fedora-devel-list if you're running test releases. This problem (and a fix) was mentioned on fedora-devel-list yesterday.

Paul.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux