Bug 14748 - packagekitd exist after some time.
Summary: packagekitd exist after some time.
Status: RESOLVED NOTABUG
Alias: None
Product: PackageKit
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Richard Hughes
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-29 04:06 UTC by fujisan
Modified: 2008-03-01 08:17 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description fujisan 2008-02-29 04:06:07 UTC
I recently noticed that when there are updates available, no icon appears in the notification area. I found out that packagekitd was not running in the background. Appearently it exits after some seconds.


I could easily update the packages with 'pkcon update-system'

Below some outputs:


[root@tosca ~]# pkcon get updates
bugfix       logwatch             noarch  7.3.6-15.fc8    updates      A log file analysis program==..............................................................................................]                
security     dbus-libs            i386    1.1.2-9.fc8     updates      Libraries for accessing D-BUS
bugfix       selinux-policy-devel noarch  3.0.8-87.fc8    updates      SELinux policy development
bugfix       recordmydesktop      i386    0.3.7-2.fc8     updates      Desktop session recorder with audio and video
enhancement  setroubleshoot-server noarch 2.0.5-2.fc8     updates      SELinux troubleshoot server
enhancement  qt-recordmydesktop   noarch  0.3.7-1.fc8     updates      KDE Desktop session recorder with audio and video
enhancement  setroubleshoot       noarch  2.0.5-2.fc8     updates      Helps troubleshoot SELinux problems
security     dbus-devel           i386    1.1.2-9.fc8     updates      Libraries and headers for D-BUS
bugfix       libsilc              i386    1.0.2-5.fc8     updates      SILC Client Library
bugfix       NetworkManager-openvpn i386  1:0.7.0-8.svn3302.fc8 updates NetworkManager VPN integration for OpenVPN
security     dbus-x11             i386    1.1.2-9.fc8     updates      X11-requiring add-ons for D-BUS
bugfix       selinux-policy       noarch  3.0.8-87.fc8    updates      SELinux policy configuration
bugfix       coreutils            i386    6.9-13.fc8      updates      The GNU core utilities: a set of tools commonly used in shell scripts
bugfix       selinux-policy-targeted noarch 3.0.8-87.fc8  updates      SELinux targeted base policy
bugfix       gmp                  i386    4.2.2-4.fc8     updates      A GNU arbitrary precision library
security     dbus                 i386    1.1.2-9.fc8     updates      D-BUS message bus
enhancement  setroubleshoot-plugins noarch 2.0.4-3.fc8    updates      Analysis plugins for use with setroubleshoot
normal       thunderbird          i386    2.0.0.12-1.fc8.remi remi     Mozilla Thunderbird mail/newsgroup client
get-updates runtime was 4.2 seconds

[root@tosca ~]# uname -a
Linux 2.6.23.15-137.fc8 #1 SMP Sun Feb 10 17:48:34 EST 2008 i686 i686 i386 GNU/Linux

[root@tosca ~]# rpm -qa|grep -i packagekit
gnome-packagekit-0.1.9-0.413.20080227git.fc8.hughsie
PackageKit-libs-0.1.9-0.500.20080227git.fc8.hughsie
PackageKit-0.1.9-0.500.20080227git.fc8.hughsie
PackageKit-devel-0.1.9-0.500.20080227git.fc8.hughsie

[root@tosca ~]# gconftool-2 -R /apps/gnome-packagekit
 frequency_refresh_cache = daily
 notify_message = true
 notify_complete = true
 frequency_get_updates = daily
 notify_available = true
 notify_restart = true
 autocomplete = false
 session_startup_timeout = 60
 notify_errors = true
 update_battery = false
 auto_update = none
 notify_started = true
 notify_battery_update = true


[root@tosca ~]# gdb /usr/sbin/packagekitd
GNU gdb Red Hat Linux (6.6-43.fc8rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
Missing separate debuginfo for /usr/sbin/packagekitd
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/0a/98fa4aec42f87e48ef6e7eea529bacfb7c20b7.debug
Getting all the debuginfos: debuginfo-install PackageKit
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run --verbose
Starting program: /usr/sbin/packagekitd --verbose
Missing separate debuginfo for /lib/ld-linux.so.2
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ac/2eeb206486bb7315d6ac4cd64de0cb50838ff6.debug
(no debugging symbols found)
(no debugging symbols found)
Missing separate debuginfo for /lib/libgmodule-2.0.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/94/228a03b271a44303725513e94dae36fd1f1873.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libdl.so.2
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/db/a292aff9720bfc3f25c53fa8e469168460a894.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libpackagekit.so.3
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/26/f54f20d7d15697089b0ea9c38e64fd1b51a1e5.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libnm_glib.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/1f/ac44213ae6608bea99907ea6303f57140d6910.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libsqlite3.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/d3/e690f0e471b3b0cd63c6dcc6d5f17e5a0815ca.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libpolkit-dbus.so.2
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ed/a3667f57798352c0211a4c0bcec3994ce7042b.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libpolkit-grant.so.2
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/4f/d0869b41ee0a961cf32432e53375e6594e3599.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libpolkit.so.2
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/c9/770c3e83b684a7cd29cba4334f918743a29532.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libdbus-glib-1.so.2
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/20/6221db40c44a990bdf3ac686860b1e15b0989d.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libdbus-1.so.3
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/bb/fc5ff280f71d0416cf5d786f44cfde3159fb12.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libgthread-2.0.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/04/d48753c861dee6d02bdac183f91f161c23069b.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/librt.so.1
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e3/3448de964a5ca97b70edbdcea227c6ea5d3657.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libgobject-2.0.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/05/ee954c8695f4039722374584de66a35fbb7b87.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libglib-2.0.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/d8/40c2d0fbf16972864244f6934e9b389a72399a.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libpthread.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/6c/1cdbb38ae2a292613c8c31195417ee80ea7e1e.debug
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /lib/libc.so.6
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/ba/4ea1118691c826426e9410cafb798f25cefad5.debug
(no debugging symbols found)
Missing separate debuginfo for /usr/lib/libnm-util.so.0
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/fb/8e9247294cb7ccf4a0063b6a47f3ecc519c230.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libselinux.so.1
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/45/ae9842e5eaf90347568dcd3e8fa60ffd4de915.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libexpat.so.1
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/90/66503e17dcb7232b114c5878674a5932e35885.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libnsl.so.1
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/d0/b716d925c00494a40cff204a21530d0b96df8b.debug
(no debugging symbols found)
Missing separate debuginfo for /lib/libcap.so.1
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/08/47e52d609d30b0be7916c20f54baa732dff44f.debug
(no debugging symbols found)
TI:12:54:05     TH:0x81db3f0    FI:pk-debug.c   FN:pk_debug_init,156
 - Verbose debugging enabled
TI:12:54:05     TH:0x81db3f0    FI:pk-conf.c    FN:pk_conf_init,140
 - using config file '/etc/PackageKit/PackageKit.conf'
TI:12:54:05     TH:0x81db3f0    FI:pk-main.c    FN:main,248
 - daemon shutdown set to 60 seconds
TI:12:54:05     TH:0x81db3f0    FI:pk-main.c    FN:main,252
 - using default backend yum
TI:12:54:05     TH:0x81db3f0    FI:pk-backend.c FN:pk_backend_set_name,143
 - Trying to load : yum
TI:12:54:05     TH:0x81db3f0    FI:pk-backend.c FN:pk_backend_build_library_path,118
 - dlopening '/usr/lib/packagekit-backend/libpk_backend_yum.so'
[New Thread -1208510704 (LWP 9681)]
Missing separate debuginfo for /usr/lib/packagekit-backend/libpk_backend_yum.so
Try: yum --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/e1/9e533f1f4e03b128cf9cdf1a67b656c1d64ff8.debug
(no debugging symbols found)
TI:12:54:05     TH:0x81db3f0    FI:pk-backend-yum.c     FN:backend_initialize,37
 - FILTER: initialize
[New Thread -1208513648 (LWP 9684)]
TI:12:54:05     TH:0x81db3f0    FI:pk-inhibit.c FN:pk_inhibit_remove,201
 - cannot find item 0x81ed868
TI:12:54:05     TH:0x81db3f0    FI:pk-security-polkit.c FN:pk_security_init,249
 - Using PolicyKit security framework
TI:12:54:05     TH:0x81db3f0    FI:pk-transaction-db.c  FN:pk_transaction_db_init,503
 - trying to open database '/var/lib/PackageKit/transactions.db'
TI:12:54:05     TH:0x81db3f0    FI:pk-common.c  FN:pk_iso8601_present,105
 - timespec=2008-02-29T11:54:05Z
TI:12:54:05     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_transaction_list,2243
 - GetTransactionList method called
TI:12:54:05     TH:0x81db3f0    FI:pk-transaction-list.c        FN:pk_transaction_list_get_array,306
 - 0 active transactions
TI:12:54:05     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_transaction_list,2243
 - GetTransactionList method called
TI:12:54:05     TH:0x81db3f0    FI:pk-transaction-list.c        FN:pk_transaction_list_get_array,306
 - 0 active transactions
TI:12:54:10     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=5
TI:12:54:10     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 5
TI:12:54:15     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=10
TI:12:54:15     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 10
TI:12:54:20     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=15
TI:12:54:20     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 15
TI:12:54:25     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=20
TI:12:54:25     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 20
TI:12:54:30     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=25
TI:12:54:30     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 25
TI:12:54:35     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=30
TI:12:54:35     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 30
TI:12:54:40     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=35
TI:12:54:40     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 35
TI:12:54:45     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=40
TI:12:54:45     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 40
TI:12:54:50     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=45
TI:12:54:50     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 45
TI:12:54:55     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=50
TI:12:54:55     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 50
TI:12:55:00     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=55
TI:12:55:00     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 55
TI:12:55:05     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=60
TI:12:55:05     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 60
TI:12:55:10     TH:0x81db3f0    FI:pk-engine.c  FN:pk_engine_get_seconds_idle,2637
 - engine idle=65
TI:12:55:10     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,129
 - idle is 65
*** WARNING ***
TI:12:55:10     TH:0x81db3f0    FI:pk-main.c    FN:pk_main_timeout_check_cb,131
 - exit!!

Program exited normally.
(gdb)
Comment 1 Richard Hughes 2008-02-29 07:44:26 UTC
Sure, the daemon is suppost to exit when it's not doing anything - it gets automatically started the next time one of the client tools checks for updates. Are you running pk-update-icon in the user session? Could you try changing the updae frequency to hourly and seeing if PackageKit notices updates?
Comment 2 fujisan 2008-03-01 08:17:00 UTC
OK

it works now. I changed the update freq to hourly.



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.