internal error from PackageKit — packagekit Error Type: <type 'exceptions.TypeError'>
2009-11-25
118 words
1 min read
If you get the below error then there is a bug files <a href="https://bugzilla.redhat.com/show_bug.cgi?id=476352" target="_blank">here.
Error Type:
Error Value: ’NoneType’ object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, inmain()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2277, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 600, in
dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 526, in
dispatch_command
self.refresh_cache()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1130, in
refresh_cache
self.yumbase.repos.populateSack(which=[repo.id], mdtype=’metadata’,
cacheonly=1)
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 223, in
populateSack
self.doSetup()
File : /usr/lib/python2.5/site-packages/yum/repos.py, line 71, in doSetup
self.ayum.plugins.run(’postreposetup’)
File : /usr/lib/python2.5/site-packages/yum/plugins.py, line 178, in run
func(conduitcls(self, self.base, conf, **kwargs))
File : /usr/lib/yum-plugins/rpm-warm-cache.py, line 31, in postreposetup_hook
if commands[0] in (’upgrade’, ’install’, ’remove’):
And the solution is simply to remove:
yum-rpm-warm-cache with command:
yum remove yum-rpm-warm-cache
Related Articles:
- 2009/10/17 RPMFusion release for YUM.
- 2009/10/03 Play video in Fedora.
- 2009/10/01 Boot Linux Over HTTP With boot.kernel.org (BKO)
- 2009/09/17 top command with rc to make it more useful and beautiful.
- 2009/06/12 Managing your remote site locally – sitecopy.
Authored By Amit Agarwal
Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.