PDA

View Full Version : Add remove software fails after downloading yum updates.



Clean Mind
30th November 2008, 10:57 AM
There are numerous updates for YUM; however, Add/Remove software fails after downloading these updates (found by searching "YUM" under the Add/Remove software screen.

The bug is as follow:

Error Type: <type 'exceptions.TypeError'>
Error Value: 'NoneType' object is unsubscriptable
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in <module>
main()
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2199, in main
backend.dispatcher(sys.argv[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 599, in dispatcher
self.dispatch_command(args[0], args[1:])
File : /usr/lib/python2.5/site-packages/packagekit/backend.py, line 561, in dispatch_command
self.search_group(options, searchterms)
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 479, in search_group
pkgfilter.add_available(self._get_available_from_n ames(all_packages))
File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 363, in _get_available_from_names
pkgs = self.yumbase.pkgSack.searchNames(names=name_list)
File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 592, in <lambda>
pkgSack = property(fget=lambda self: self._getSacks(),
File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 435, in _getSacks
self.repos.populateSack(which=repos)
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 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'):
:confused:

Clean Mind
1st December 2008, 06:13 AM
Have anyone tried installing these updates?

Deonis
1st December 2008, 08:42 PM
I actually have all sort of problem with this software!!! I do not understand actually what it useful for!! First I have never seen it in work, second I always trying to use YUM for all purposes or YUMEX (graphic interface ) -works grate.
Maybe somebody can explain what is this software, how to make it work, and why Fedora developers set it as a default application for packages add/remove in Fedora!!! It did not work in Fedora 9, as well as in 10 !!!

some help will be appreciated!!!