Skip to content

Instantly share code, notes, and snippets.

@greenmoss
Created August 6, 2010 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greenmoss/511979 to your computer and use it in GitHub Desktop.
Save greenmoss/511979 to your computer and use it in GitHub Desktop.
kurt@darmstadtium:/usr/lib/ruby/gems/1.8/gems/chef-0.8.16/lib/chef/provider/package$ sudo python yum-dump.py
[sudo] password for kurt:
Traceback (most recent call last):
File "yum-dump.py", line 104, in ?
y.doUnlock(PIDFILE)
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1167, in doUnlock
if hasattr(self, 'preconf') or self.conf.uid != 0:
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 664, in <lambda>
conf = property(fget=lambda self: self._getConfig(),
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 194, in _getConfig
fn = self.preconf.fn
AttributeError: 'YumBase' object has no attribute 'preconf'
Exception exceptions.AttributeError: "'YumBase' object has no attribute 'preconf'" in <bound method YumBase.__del__ of <yum.YumBase object at 0x2b34df2d1f90>> ignored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment