Description of problem:
Kpackagekit do not work, if system was installed without any additional packages.
When Kpackagekit is started and any action is made (check updates, for example), it says:
"A problem that we were not expecting has occurred.
Please report this bug with the error description.
The backend exited unexpectedly. This is a serious error as the spawned backend did not complete the pending transaction."
But "yum update" with root privileges works perfectly.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install Fedora 15 from minimal cd, remove any components, so only very base system will be installed.
2. Set "group_package_types=mandatory" in /etc/yum.conf
3. Install "X Window System", "KDE Software Compilation", kdm, kpackagekit.
4. Set up runlevel (ln -s ...graphical.target ....default)
5. Add normal user.
6. Reboot, login and start kpackagekit from menu.
Kpackagekit can't update, install or remove packages.
Kpackagekit must update, install and remove packages as like as on full-installation-version of Fedora.
What's the full output from:
sudo /usr/share/PackageKit/helpers/yum/yumBackend.py get-updates none
Traceback (most recent call last):
File "/usr/share/PackageKit/helpers/yum/yumBackend.py", line 55, in <module>
ImportError: No module named gio
That's all. So reason is module gio.
Installation of pygobject2 fixes it. But shouldn't PackageKit be in hard dependency of pygobject2?
Yes, it's a missing dependency in the PackageKit package. Reassigning.
PackageKit Requires: PackageKik-backend
PackageKit-yum Provides: PackageKit-backend
PackageKit-yum Requires: pygobject2
is PackageKit-yum installed or not?
or perhaps did you have PackageKit-zif instead?
Nevermind, if /usr/share/PackageKit/helpers/yum/yumBackend.py existed to run, PackageKit-yum was indeed installed. Strange how that could have happened without pygobject2 dependency being satisfied.
Created attachment 517535 [details]
Created attachment 517537 [details]
Created attachment 517538 [details]
No, i have no PackageKit-zif installed.
Here is my anaconda-ks.cfg, install.log and yum.log.
Did you try to reproduce this bug by my steps?
This is the transaction which installed KPackageKit:
Aug 01 21:09:57 Installed: libarchive-2.8.4-3.fc15.i686
Aug 01 21:09:58 Installed: comps-extras-20-2.fc15.noarch
Aug 01 21:09:58 Installed: PackageKit-yum-0.6.16-1.fc15.i686
Aug 01 21:10:01 Installed: PackageKit-0.6.16-1.fc15.i686
Aug 01 21:10:02 Installed: PackageKit-glib-0.6.16-1.fc15.i686
Aug 01 21:10:02 Installed: PackageKit-qt-0.6.16-1.fc15.i686
Aug 01 21:10:04 Installed: kpackagekit-0.6.3.3-2.fc15.i686
Aug 01 21:10:05 Installed: ntpdate-4.2.6p3-4.fc15.i686
PackageKit-yum got dragged in, pygobject2 didn't.
But I see this is PackageKit-0.6.16-1.fc15. The current stable update is 0.6.17-1.fc15, and the diff between the 2 versions includes:
So this is already fixed, just "yum update".