I can always receive a notify named "an internal system error has occurred" when packagekit tring to get update information. My system is Fedora 10 rawhide on i686. The PackageKit version: 0.3.9-2.fc10.i386 The error detail is below: Error Type: <type 'exceptions.TypeError'> Error Value: 'NoneType' object is unsubscriptable File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2200, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2197, 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 507, in dispatch_command self.get_updates(filters) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1731, in get_updates ygl = self.yumbase.doPackageLists(pkgnarrow='updates') File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 1470, in doPackageLists for (n,a,e,v,r) in self.up.getUpdatesList(): File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 605, in <lambda> up = property(fget=lambda self: self._getUpdates(), File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 490, in _getUpdates self._up = rpmUtils.updates.Updates(self.rpmdb.simplePkgList(), self.pkgSack.simplePkgList()) 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'):
What's "rpm -qf /usr/lib/yum-plugins/rpm-warm-cache.py" ?
(In reply to comment #1) > What's "rpm -qf /usr/lib/yum-plugins/rpm-warm-cache.py" ? > [xelnaga@ASUS6 ~]$ rpm -qf /usr/lib/yum-plugins/rpm-warm-cache.py yum-rpm-warm-cache-1.1.18-1.fc10.noarch
It's a problem with that plugin -- I can't find it in the fedora repositories, so I can't even reproduce. It also turned up no results on google. If you uninstall that plugin, does PackageKit work correctly?
(In reply to comment #3) > It's a problem with that plugin -- I can't find it in the fedora repositories, > so I can't even reproduce. It also turned up no results on google. If you > uninstall that plugin, does PackageKit work correctly? > Thanks very much! This plugin actually caused the problem. I removed it and PackageKit never report error again! By the way,you can find the plugin here: http://koji.fedoraproject.org/koji/buildinfo?buildID=67993
Hi I am receiving the same error but error output seems different, any help on how to fix this greatly appreciated (n00b)!... Error Type: <type 'exceptions.TypeError'> Error Value: rpmdb open failed File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2314, in <module> main() File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2310, in main backend = PackageKitYumBackend('', lock=True) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 182, in __init__ self.yumbase = PackageKitYumBase(self) File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2253, in __init__ self.repos.confirm_func = self._repo_gpg_confirm File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 589, in <lambda> repos = property(fget=lambda self: self._getRepos(), File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 395, in _getRepos self._getConfig() # touch the config class first File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 192, in _getConfig self._conf = config.readMainConfig(startupconf) File : /usr/lib/python2.5/site-packages/yum/config.py, line 774, in readMainConfig yumvars['releasever'] = _getsysver(startupconf.installroot, startupconf.distroverpkg) File : /usr/lib/python2.5/site-packages/yum/config.py, line 844, in _getsysver idx = ts.dbMatch('provides', distroverpkg)
Hi there, This bug report is very old and based on a version not supported anymore. By upgrading to a newer version of PackageKit you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of PackageKit. Please feel free to reopen this bug if the problem still occurs with the latest version.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.