[packagekit] gpk-update-icon reporting available updates after they've already been applied

Ville-Pekka Vainio vpivaini at cs.helsinki.fi
Sat Apr 4 11:23:36 PDT 2009


This keeps happening to me on Fedora Rawhide: PackageKit checks for
updates, gpk-update-icon pops up the sun icon, I click on it and view
the list of updates. I apply all the available updates and the sun icon
disappears. I've set PackageKit to check for updates hourly and after an
hour the sun icon pops up again, saying that I have the same number of
updates available as I just applied an hour ago. I try to update, but
the update viewer says there actually are no updates available. Pretty
much the same problem was reported here[1].

I talked about this with Richard on IRC and he asked me to do pkcon
get-updates if this happens again. So that's what I did today, pkcon
reported no updates. It seems like this is a problem with the update
icon and not with the backend. Then I also did gpk-update-icon
--verbose, but as soon as I ran that command, the sun icon disappeared.
This is quite hard to debug, because it seems like if you restart
gpk-update-icon, you don't hit this bug.

Anyway, here's the output of gpk-update-icon --verbose, in case it
helps.

gpk-update-icon --verbose
TI:21:09:44	TH:0x941ada8	FI:egg-debug.c	FN:egg_debug_init,306
 - Verbose debugging 1 (on console 1)GPK_VERBOSE
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_title,307
 - setting title: <b><big></big></b>
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_message,329
 - setting message: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_icon,280
 - setting window icon: pk-package-installed
TI:21:09:44	TH:0x941ada8	FI:gpk-auto-refresh.c
FN:pk_connection_gs_changed_cb,588
 - gnome-screensaver connection-changed: 1
TI:21:09:44	TH:0x941ada8	FI:gpk-auto-refresh.c
FN:pk_connection_gpm_changed_cb,537
 - gnome-power-manager connection-changed: 1
TI:21:09:44	TH:0x941ada8	FI:gpk-auto-refresh.c
FN:pk_connection_gpm_changed_cb,574
 - setting on battery 0
TI:21:09:44	TH:0x941ada8	FI:gpk-auto-refresh.c
FN:gpk_auto_refresh_change_state,400
 - defering action for 300 seconds
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_title,307
 - setting title: <b><big></big></b>
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_message,329
 - setting message: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_icon,280
 - setting window icon: pk-package-installed
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_title,307
 - setting title: <b><big></big></b>
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_message,329
 - setting message: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_icon,280
 - setting window icon: pk-package-installed
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_title,307
 - setting title: <b><big></big></b>
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_message,329
 - setting message: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_icon,280
 - setting window icon: pk-package-installed
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_title,307
 - setting title: <b><big></big></b>
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_message,329
 - setting message: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_icon,280
 - setting window icon: pk-package-installed
TI:21:09:44	TH:0x941ada8	FI:gpk-check-update.c
FN:pk_connection_changed_cb,389
 - connected=1
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_title,307
 - setting title: <b><big></big></b>
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_message,329
 - setting message: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_icon,280
 - setting window icon: pk-package-installed
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_title,263
 - setting window title: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_title,307
 - setting title: <b><big></big></b>
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_message,329
 - setting message: 
TI:21:09:44	TH:0x941ada8	FI:gpk-client-dialog.c
FN:gpk_client_dialog_set_window_icon,280
 - setting window icon: pk-package-installed
TI:21:09:44	TH:0x941ada8	FI:gpk-watch.c	FN:pk_connection_changed_cb,1117
 - connected=1
TI:21:09:44	TH:0x941ada8	FI:gpk-watch.c	FN:gpk_watch_refresh_icon,270
 - rescan
TI:21:09:44	TH:0x941ada8	FI:gpk-smart-icon.c
FN:gpk_smart_icon_set_icon_name,116
 - setting icon name (null)
TI:21:09:44	TH:0x941ada8	FI:gpk-watch.c	FN:gpk_watch_refresh_tooltip,144
 - refresh tooltip 0
TI:21:09:44	TH:0x941ada8	FI:gpk-watch.c	FN:gpk_watch_refresh_tooltip,183
 - nothing to show
TI:21:09:44	TH:0x941ada8	FI:gpk-firmware.c	FN:gpk_firmware_init,360
 - filename=intel-ucode\x2f06-17-06
-> /lib/firmware/intel-ucode/06-17-06
TI:21:09:44	TH:0x941ada8	FI:gpk-firmware.c	FN:gpk_firmware_init,377
 - requested: /lib/firmware/intel-ucode/06-17-06
TI:21:09:44	TH:0x941ada8	FI:gpk-firmware.c
FN:gpk_firmware_remove_banned,266
 - match */intel-ucode/* for /lib/firmware/intel-ucode/06-17-06,
removing
TI:21:09:44	TH:0x941ada8	FI:gpk-hardware.c	FN:gpk_hardware_init,246
 - hardware driver checking disabled in GConf
TI:21:09:45	TH:0x941ada8	FI:gpk-smart-icon.c
FN:gpk_smart_icon_set_icon_name_cb,81
 - setting the same: (null)
TI:21:09:45	TH:0x941ada8	FI:gpk-watch.c
FN:gpk_watch_set_proxies_ratelimit,1272
 - polling check
TI:21:09:45	TH:0x941ada8	FI:gpk-watch.c	FN:gpk_watch_get_proxy_http,1200
 - not using session proxy
TI:21:09:45	TH:0x941ada8	FI:gpk-watch.c	FN:gpk_watch_get_proxy_ftp,1158
 - not using session proxy
TI:21:09:45	TH:0x941ada8	FI:gpk-watch.c
FN:gpk_watch_set_proxies_ratelimit,1277
 - set proxy_http=(null), proxy_ftp=(null)
TI:21:14:45	TH:0x941ada8	FI:gpk-auto-refresh.c
FN:gpk_auto_refresh_maybe_refresh_cache,241
 - not when session active
TI:21:14:45	TH:0x941ada8	FI:gpk-auto-refresh.c
FN:gpk_auto_refresh_maybe_get_updates,308
 - not before timeout, thresh=3600, now=395
TI:21:14:45	TH:0x941ada8	FI:gpk-auto-refresh.c
FN:gpk_auto_refresh_maybe_get_upgrades,345
 - not before timeout, thresh=604800, now=3755

Package versions:
gnome-packagekit-2.27.1-1.fc11.i586
PackageKit-0.4.6-2.fc11.i586

[1]
https://www.redhat.com/archives/fedora-devel-list/2009-March/msg01276.html


-- 
Ville-Pekka Vainio




More information about the PackageKit mailing list