I have compiled packagekit on my kubuntu 8.10 64bit with these commands:
./configure --enable-apt --prefix=/usr
The compilation was ok but the daemon crash when started; the log is in the following pastebin.ca link:
Seems that it can't find org.freedesktop.PackageKit.conf in /etc/dbus-1/system.d; this file was installed in /usr/etc/dbus-1/system.d but creating a symbolic link not resolve the error.
--prefix=/usr can't work like that. You need to set the directories for the sysconfdir and all that stuff. DBus is quite specific that it needs _all_ the .conf (two for apt backend) and service files installed in the right place.
Have recompiled without 'prefix' argument but the error is always the same: can't find org.freedesktop.PackageKit.conf that is installed in /usr/local/etc/dbus-1/system.d/
Here the log:
You have to install the conf files in /etc/dbus-1/system.d/
Some news: I have compiled packagekit with
./configure --enable-apt --sysconfdir=/etc
Now if I start the daemon it runs but with strange behaviour; first the log:
Here the output of pkcon:
$ pkcon get-updates
Errore: internal-error: Cannot launch daemon, file not found or permissions invalid
and this regardless I'm root or not. Same error if I use kpackagekit.
One more thing: an other error that compares in the output is 'unable to open database file':
TI:16:55:00 TH:0x9a6930 FI:pk-post-trans.c FN:pk_post_trans_init,808
- trying to open database '/var/lib/PackageKit/desktop-files.db'
TI:16:55:00 TH:0x9a6930 FI:pk-post-trans.c FN:pk_post_trans_init,811
- Can't open database: unable to open database file
TI:16:55:00 TH:0x9a6930 FI:pk-transaction-db.c FN:pk_transaction_db_init,565
- trying to open database './transactions.db'
TI:16:55:00 TH:0x9a6930 FI:pk-transaction.c FN:pk_transaction_set_sender,1200
- setting sender to :1.56
TI:16:55:00 TH:0x9a6930 FI:pk-security-polkit.c FN:pk_security_caller_new_from_sender,76
- failed to get caller org.freedesktop.ConsoleKit.Manager.GeneralError: Unable to lookup session information for process '6959'
TI:16:55:00 TH:0x9a6930 FI:pk-transaction-list.c FN:pk_transaction_list_create,409
- adding transaction 0x9d5220, item 0x9bdca0
This bug report is very old and based on a version not supported anymore. By upgrading to a newer version of PackageKit you could receive bug fixes and new functionality. You may need to upgrade your Linux distribution to obtain a newer version of PackageKit.
Please feel free to reopen this bug if the problem still occurs with the latest version.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.