Bug 20054

Summary: packagekit crashes often and pops up an error.
Product: PackageKit Reporter: Sudarsan sridhar <nasradu8.1i>
Component: backend-yumAssignee: Richard Hughes <richard>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Sudarsan sridhar 2009-02-11 02:17:38 UTC
Error Type: &lt;type &apos;exceptions.TypeError&apos;&gt;
Error Value: &apos;NoneType&apos; object is unsubscriptable
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 2202, in &lt;module&gt;
    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 503, in dispatch_command
    self.get_distro_upgrades()
  File : /usr/share/PackageKit/helpers/yum/yumBackend.py, line 1660, in get_distro_upgrades
    pkgs = self.yumbase.pkgSack.returnNewestByName(name=&apos;preupgrade&apos;)
  File : /usr/lib/python2.5/site-packages/yum/__init__.py, line 592, in &lt;lambda&gt;
    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(&apos;postreposetup&apos;)
  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 (&apos;upgrade&apos;, &apos;install&apos;, &apos;remove&apos;):
Comment 1 Richard Hughes 2009-02-11 06:17:42 UTC
Remove yum-rpm-warm-cache, it's broken.

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.