View Full Version : Keep getting the following error:
Clean Mind
29th November 2008, 08:10 AM
Error Type: <type 'exceptions.TypeError'>
Error Value: 'NoneType' object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2275, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2272, 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 567, in dispatch_command
self.search_name(options, searchterms)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 329, in search_name
self._check_init(lazy_cache=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1966, in _check_init
self.yumbase.repos.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 176, 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'):
Jordanlw
29th November 2008, 08:53 AM
Hmm.. Maybe some more information?
medampudi
16th December 2008, 06:55 AM
HI,
I am also having the similar problem as above.
A little back ground about how this caused.
1. First I am a new user to linux
2. I came across a XXXXXXXXXX.src.rpm file and the packagekit manager could not install it hence i thought it could be installable using yum and searched for yum in all the add/remove software section ... and then i could not decide which file to download hence i installed all the files with yum-* as the names.....
the error message is
Error Type: <type 'exceptions.TypeError'>
Error Value: 'NoneType' object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in <module>
main()
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 611, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 567, in dispatch_command
self.search_name(options, searchterms)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 327, in search_name
self._check_init(lazy_cache=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1965, in _check_init
self.yumbase.repos.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 176, 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'):
My system configuration is
Processor: INtel Pentium 4 CPU 2.80 Ghz
Mem: 2.0 Gb
Kernel linux 2.6.27.7-134.fc10.i686
GNOME 2.24.2
Thank you
JohnVV
16th December 2008, 08:48 AM
Clean Mind what are you tring to do
I am pulling out the Crystal ball and looking DEEP in to it and i see some one maybe typing
" yum update" ??? -- what are you doing .
medampudi
I have NEVER heard of a source code rpm called this
XXXXXXXXXX.src.rpm ( that is 3 1/3 tripleX's -- must be very naughty )
you do know that a src file is the source code and dose not install anything that can be ran
Demz
16th December 2008, 08:50 AM
do this yum --enablerepo=updates-testing update dbus should cure the problem
then reboot the system an re-try
ambijat
20th December 2008, 07:10 AM
When I enable yum-plugins by editing gedit /etc/yum.conf
plugins=1
then I try to use gnome-package* GUI for add-remove software this all is get
=========
Error Type: <type 'exceptions.TypeError'>
Error Value: 'NoneType' object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in <module>
main()
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 611, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 562, in dispatch_command
self.search_group(options, searchterms)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 438, in search_group
self._check_init(lazy_cache=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1965, in _check_init
self.yumbase.repos.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'):
=====================
I hope to get help on this
thanks!
Ambrish Dhaka
Demz
20th December 2008, 08:26 AM
When I enable yum-plugins by editing gedit /etc/yum.conf
plugins=1
then I try to use gnome-package* GUI for add-remove software this all is get
=========
Error Type: <type 'exceptions.TypeError'>
Error Value: 'NoneType' object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2280, in <module>
main()
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 611, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 562, in dispatch_command
self.search_group(options, searchterms)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 438, in search_group
self._check_init(lazy_cache=True)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1965, in _check_init
self.yumbase.repos.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'):
=====================
I hope to get help on this
thanks!
Ambrish Dhaka
what yum plugins do you have? an have you tried to disable them? if not remove them
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.