Hi people need help here. Pirut crashes whenever I try to install a .rpm file from the desktop. Here is the bugzilla report:
Component: pirut
Summary: TBaa979ac4 priorities.py:88:exclude_hook:AttributeError: 'NoneType' object has no attribute 'samearch'
Traceback (most recent call last):
File "/usr/sbin/system-install-packages", line 355, in <module>
main()
File "/usr/sbin/system-install-packages", line 351, in main
pkginst.run()
File "/usr/sbin/system-install-packages", line 339, in run
self.doRefresh()
File "/usr/sbin/system-install-packages", line 98, in doRefresh
self.populatePackages()
File "/usr/sbin/system-install-packages", line 279, in populatePackages
self._populateLocalPackages(locals)
File "/usr/sbin/system-install-packages", line 154, in _populateLocalPackages
self.tsInfo.addInstall(po = po)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 535, in <lambda>
tsInfo = property(fget=lambda self: self._getTsInfo(),
File "/usr/lib/python2.5/site-packages/yum/depsolve.py", line 83, in _getTsInfo
self._tsInfo.setDatabases(self.rpmdb, self.pkgSack)
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 526, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.5/site-packages/yum/__init__.py", line 393, in _getSacks
self.plugins.run('exclude')
File "/usr/lib/python2.5/site-packages/yum/plugins.py", line 169, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/priorities.py", line 88, in exclude_hook
if opts.samearch:
AttributeError: 'NoneType' object has no attribute 'samearch'
Local variables in innermost frame:
conduit: <yum.plugins.MainPluginConduit instance at 0xb1fb3ec>
commands: None
opts: None