Bug 439738 - pk-update-icon hangs
Summary: pk-update-icon hangs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-packagekit
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Robin Norwood
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-31 02:53 UTC by Rahul Sundaram
Modified: 2013-03-13 05:43 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-17 10:34:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
pk-import verbose output (53.25 KB, application/octet-stream)
2008-03-31 11:38 UTC, Rahul Sundaram
no flags Details

Description Rahul Sundaram 2008-03-31 02:53:38 UTC
Description of problem:

Running pk-update-icon just hangs. If it isn't a application that the user is
supposed to run manually, it should be moved out to library path instead. 


Additional info:

pk-[TAB] lists pk-update-icon as one of the applications so users would find it
and just hanging on the command line isn't expected behaviour.

Comment 1 Rahul Sundaram 2008-03-31 02:57:52 UTC
I found more such PackageKit related applications

# pk-import-desktop returns nothing
# pk-install-file and pk-install-package shouldn't be in the user path either
# pk-import-specspo returns

 pk-import-specspo 
TI:08:25:32	TH:0x99aabf0	FI:pk-import-common.c	FN:pk_import_get_package_list,72
 - failed to open file


Comment 2 Richard Hughes 2008-03-31 11:27:48 UTC
What path should they be? /usr/libexec/?

What's the output:
pk-import-desktop --verbose
pk-import-specspo --verbose

Thanks.

Richard.

Comment 3 Rahul Sundaram 2008-03-31 11:38:21 UTC
Created attachment 299711 [details]
pk-import verbose output

Comment 4 Rahul Sundaram 2008-03-31 11:42:01 UTC
Yes. Everything not meant to be directly invoked binaries must be moved to
libexec as per Fedora packaging guidelines. If you need help with packaging
changes, let me know.

Output of pk-import-specspo --verbose is large and attached above. 

#  pk-import-desktop --verbose

TI:17:12:37	TH:0x93e1f58	FI:pk-debug.c	FN:pk_debug_init,248
 - Verbose debugging 1 (on console 1)
TI:17:12:37	TH:0x93e1f58	FI:pk-extra.c	FN:pk_extra_set_database,434
 - trying to open database '/var/lib/PackageKit/extra-data.db'
TI:17:12:37	TH:0x93e1f58	FI:pk-extra.c	FN:pk_extra_set_database,437
 - Can't open database: unable to open database file

TI:17:12:37	TH:0x93e1f58	FI:pk-import-desktop.c	FN:main,266
 - could not open database (null)


Comment 5 Richard Hughes 2008-03-31 12:00:13 UTC
Ahh, the pk-import-* tools are meant to be run using sudo -- i've added message
to tell the user what's going on.


Comment 6 Richard Hughes 2008-03-31 12:20:57 UTC
I've added pk-import-* to libexec.

Comment 7 Richard Hughes 2008-03-31 12:53:39 UTC
I don't think the gui tools should be installed in libexec, and mclasen agrees
with me. The pk-import-* tools have been moved into libexec for the next release.

I've sent a mail to the mailing list about multiple gpk-update-icon instances.


Note You need to log in before you can comment on or make changes to this bug.