Bug 500923

Summary: gpk errors
Product: [Fedora] Fedora Reporter: A. Mani <a.mani.cms>
Component: PackageKitAssignee: Richard Hughes <richard>
Status: CLOSED CANTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: lmacken, rhughes, richard, smparrish
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-15 08:11:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kpackagekit error none

Description A. Mani 2009-05-14 21:26:10 UTC
Description of problem:
1. gpk-update icon does not show in Gnome and even when it called from CLI
2. gpk-update-viewer generates error messages
3. gpk-update-viewer reports "no updates available", when they are available.

Version-Release number of selected component (if applicable):
latest (yesterday)

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

On Fedora Rawhide x86-64 (updated from Beta to yesterday):

(in Gnome)
Icon does not show, but  even if updates are available (as per yum and yum
extender ...with almost all plugins), gpk-update-viewer says it is otherwise.
More than 5 updates are available

I also get the following traceback 

gpk-update-viewer

File "/usr/lib/python2.6/site-packages/yum/repos.py", line 79, in doSetup
    self.ayum.plugins.run('postreposetup')
  File "/usr/lib/python2.6/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/rpm-warm-cache.py", line 32, in postreposetup_hook
    cmd = commands[0]
TypeError: 'NoneType' object is unsubscriptable
______________________


pkmon


TI:23:02:24 FI:egg-debug.c FN:egg_debug_init,304
 - Verbose debugging 1 (on console 1)PK_VERBOSE
TI:23:02:24 FI:pk-monitor.c FN:main,161
 - connected=1
TI:23:02:24 FI:pk-monitor.c FN:main,178
 - refreshing task list
TI:23:02:24 FI:pk-task-list.c FN:pk_task_list_print,94
 - Tasks:
[none]...
State:


____________________

#gpk-update-icon --verbose

Nothing happens

The icon cannot be called from konsole/terminal in Gnome

______________________


I also got an error with kpackagekit

It does NOT ASK FOR Super-User Password unlike Yum Extender

Plus See attachment

Comment 1 A. Mani 2009-05-14 21:27:08 UTC
Created attachment 344050 [details]
kpackagekit error

Comment 2 Richard Hughes 2009-05-15 08:11:36 UTC
(In reply to comment #0)
>   File "/usr/lib/yum-plugins/rpm-warm-cache.py", line 32, in postreposetup_hook
>     cmd = commands[0]
> TypeError: 'NoneType' object is unsubscriptable

Please remove yum-rpm-warm-cache, it's broken.

> #gpk-update-icon --verbose
> 
> Nothing happens
> 
> The icon cannot be called from konsole/terminal in Gnome
> I also got an error with kpackagekit

It's the same error. If you remove the other package, everything will work.