PDA

View Full Version : Failed to contact PackageKit: Error calling StartServiceByName for org.freedesktop.Pa



MarkClerk
7th August 2015, 08:29 PM
Hello
i'm on fedora 22

i try to update my software with the "softwares" application on the desktop. I guess its true name is "gnome-software"
the update process never stop : first problem

then i try to update with dnf - upgrade : it worked well

then i write this in the terminal : java-version
i got this :
"Failed to contact PackageKit: Error calling StartServiceByName for org.freedesktop.PackageKit: GDBus.Error:org.freedesktop.DBus.Error.TimedOut: Activation of org.freedesktop.PackageKit timed out"

i have the same thing with the "pkcon repair" commande

i reboot several time it's the same problem

it's the first time i have this pb.
THis problem occured in the past with f21 but i thought it was fixed


i also try :
systemctl start packagekit
sudo systemctl restart packagekit.service

it's still not working

could you help me ?

thanks in advance

MarkClerk
7th August 2015, 09:21 PM
Hello
i think i fix it
in fact even if i restart pakage kit it's disabled.

i use this methode from https://bugzilla.redhat.com/show_bug.cgi?id=1188455#c3 :
Tom Tromey 2015-02-12 12:45:38 EST
This happened to me as well.
This worked for me:

* sudo rm /var/lib/PackageKit/*.db
* sudo systemctl restart packagekit.service
* sudo pkcon repair

i hope that could be useful for you
regards