Description of problem:
When installing virt-manager, libvirt-daemon-config-network is not installed. When virt-manager is started, notice is given that python requires required additional software:
Selecting Install leads to a notice that the software is already installed. Examination of the systems before and after shows that ony libvirt-daemon-config-network is not installed and remains uninstalled.
Version-Release number of selected component (if applicable):
virt-manager.noarch 1.0.1-1.fc20 installed
How reproducible: Consistent
Steps to Reproduce:
1. Build a default Fedora 20 configuration
2. yum install virt-manager
libvirt-daemon-config-network is not installed
All required software installed
See two related bugreports: 1016606 and 1081762
Hmm. Seems the InstallPackageNames API call will bail out early if any of the passed packages are already installed. So I've patched virt-manager to use the IsInstalled API to only pass that command packages that actually need installing:
Author: Cole Robinson <email@example.com>
Date: Tue Apr 29 14:34:31 2014 -0400
packageutils: Fix install when one package is already installed (bz 1090181)
virt-manager-1.0.1-3.fc20 has been submitted as an update for Fedora 20.
Thank you for the prompt response. Will this patch also fix the package dependencies so that this situation need not occur?
(In reply to Dean Hunter from comment #3)
> Thank you for the prompt response. Will this patch also fix the package
> dependencies so that this situation need not occur?
No, not having a hard RPM dependency on those packages is a deliberate choice, since some users only use virt-manager to manage remote machines, so they don't want any hypervisor packages locally.
It makes sense when you say it like that and that is what I am trying to do. It would be helpful if you could find some way to make that more obvious at the time of the prompt to install missing packages. Perhaps because virt-manager starts with a default connection to the local machine it appeared to me as if there was no choice but to install the missing packages.
Thank you, again, for your prompt response, your correction of this problem and for a fine product that I enjoy using.
* 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-1.0.1-3.fc20'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
While trying to test, what do I have to remove besides libvirt-daemon-config-network so that the test for the required packages is performed?
Thanks for trying to test. You actually have to remove all connections from the main virt-manager window. So right-click->delete connection. That's kind of a pain though, so there's a hidden command line option that temporarily simulates the first run behavior. Try:
virt-manager --debug --test-first-run
Thank you. Test completed successfully and karma updated.
virt-manager-1.0.1-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.