Bug 1012884

Summary: tries to install already installed packages, missing dep on dconf
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 20CC: berrange, crobinso, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: virt-manager-0.10.0-4.git79196cdf.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-15 06:34:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Popelka 2013-09-27 10:22:27 UTC
Description of problem:
Everytime I start virt-manager PackageKit tells me that the application wants to install qemu-system-x86, libvirt-daemon-kvm and libvirt-daemon-config-network even all of them have already been installed.

Version-Release number of selected component (if applicable):
libvirt-1.1.2-4.fc20.x86_64
libvirt-daemon-kvm-1.1.2-4.fc20.x86_64
libvirt-daemon-config-network-1.1.2-4.fc20.x86_64
qemu-kvm-1.6.0-8.fc20.x86_64
qemu-system-x86-1.6.0-8.fc20.x86_64
virt-manager-0.10.0-3.gita2e52067.fc20.noarch
PackageKit-0.8.11-2.fc20.x86_64

How reproducible:
always

Steps to Reproduce:
1. virt-manager --debug

Actual results:
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (cli:224) Launched with command line: /usr/share/virt-manager/virt-manager --debug
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (virt-manager:184) virt-manager version: 0.10.0
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (virt-manager:185) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.pyc'>
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (virt-manager:230) GTK version: 3.10.0
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] ERROR (importer:51) Could not find any typelib for AppIndicator3
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (engine:439) libguestfs inspection support: False
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (systray:163) Showing systray: False
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (manager:208) Showing manager
[Fri, 27 Sep 2013 12:16:57 virt-manager 3289] DEBUG (engine:340) window counter incremented to 1
[Fri, 27 Sep 2013 12:16:58 virt-manager 3289] DEBUG (engine:192) Determining default libvirt URI
[Fri, 27 Sep 2013 12:16:58 virt-manager 3289] DEBUG (packageutils:42) Asking PackageKit what's installed locally.
[Fri, 27 Sep 2013 12:16:58 virt-manager 3289] DEBUG (packageutils:86) Installing packages: ['qemu-system-x86', 'libvirt-daemon-kvm', 'libvirt-daemon-config-network']
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (error:84) error dialog message:
summary=Error talking to PackageKit: GDBus.Error:org.freedesktop.PackageKit.Failed: The packages qemu-system-x86,libvirt-daemon-kvm,libvirt-daemon-config-network are already installed
details=Error talking to PackageKit: GDBus.Error:org.freedesktop.PackageKit.Failed: The packages qemu-system-x86,libvirt-daemon-kvm,libvirt-daemon-config-network are already installed

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/packageutils.py", line 54, in check_packagekit
    packagekit_install(parent, packages)
  File "/usr/share/virt-manager/virtManager/packageutils.py", line 88, in packagekit_install
    timeout=timeout)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gio.py", line 171, in __call__
    None)
GError: GDBus.Error:org.freedesktop.PackageKit.Failed: The packages qemu-system-x86,libvirt-daemon-kvm,libvirt-daemon-config-network are already installed
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (packageutils:100) Trying to start libvirtd through systemd
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (packageutils:125) libvirtd state='active'
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (packageutils:127) libvirtd already active, not starting
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (connection:865) Scheduling background open thread for qemu:///system
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (connection:882) Background 'open connection' thread is running
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (connection:933) Background open thread complete, scheduling notify
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (connection:938) Notifying open result
[Fri, 27 Sep 2013 12:17:17 virt-manager 3289] DEBUG (connection:944) qemu:///system capabilities:
<capabilities>

 ...


Additional info:
It could be as well a problem with PackageKit, so reassign as you like.

Comment 1 Jiri Popelka 2013-09-27 10:28:05 UTC
virt-manager-0.10.0-2.git948b5359.fc20  is  OK !

Comment 2 Cole Robinson 2013-09-27 12:53:07 UTC
Here's the root problem:

GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

dconf isn't installed. I assumed one of our deps would handle this automatically but I guess not, you're the second person to report it.

How did you end up in that state? Start with a minimal install, installed a non-gnome desktop, something else?

Comment 3 Jiri Popelka 2013-09-27 13:00:32 UTC
(In reply to Cole Robinson from comment #2)
> dconf isn't installed.

Yes, installing dconf seems to fix it.

> How did you end up in that state? Start with a minimal install, installed a
> non-gnome desktop, something else?

I installed a (F20-Alpha-RC1) KDE desktop and have been regularly updating from updates-testing.

Comment 4 Fedora Update System 2013-10-06 19:59:06 UTC
virt-manager-0.10.0-4.git79196cdf.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/virt-manager-0.10.0-4.git79196cdf.fc20

Comment 5 Fedora Update System 2013-10-07 15:47:27 UTC
Package virt-manager-0.10.0-4.git79196cdf.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing virt-manager-0.10.0-4.git79196cdf.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-18473/virt-manager-0.10.0-4.git79196cdf.fc20
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-10-15 06:34:17 UTC
virt-manager-0.10.0-4.git79196cdf.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.