On Wed, 2 Mar 2016 03:20:40 +0100
thibaut noah <[email protected]> wrote:


> Ok so i got this when i type the commands :
> 
> $ rpm -qi qemu
> package qemu is not installed
> 
> 
> $ rpm -qa | grep -i qemu
> libvirt-daemon-driver-qemu-1.3.1-1.fc23.x86_64
> qemu-kvm-2.5.0-4.fc23.x86_64
> qemu-guest-agent-2.5.0-4.fc23.x86_64
> qemu-system-x86-2.5.0-4.fc23.x86_64
> qemu-img-2.5.0-4.fc23.x86_64
> qemu-common-2.5.0-4.fc23.x86_64
> ipxe-roms-qemu-20150821-1.git4e03af8.fc23.noarch

And it's true, there is no package qemu installed.  So, I presume that
dnf found the package qemu at virt-preview, because the repository is
enabled, but that it is not installed.  What was the list command you
used?  dnf list?  Or dnf list installed?  Or dnf list available?  If
you used just dnf list, then it shows both packages that are installed
and available in repositories for installation.

> using the verbose on the removal give me this :  
> 
> $ dnf remove -v qemu.x86_64
> cachedir: /var/cache/dnf
> Loaded plugins: needs-restarting, debuginfo-install, reposync, copr,
> playground, download, config-manager, Query, builddep,
> protected_packages, noroot, langpacks, generate_completion_cache
> langpacks: No languages are enabled
> Error reading
> file : /var/lib/dnf/plugins/langpacks/installed_langpacks as it does
> not exist initialized Langpacks plugin
> DNF version: 1.1.5
> No match for argument: qemu.x86_64
> Error: No packages marked for removal.

And dnf is right, there is no package qemu installed.

> Well, back then i had almost no idea what is was doing so i followed
> the tutorial to the letter, seemed like a good idea back then, i had
> so many issue trying to install qemu manually at the time...

That makes sense.  And it obviously worked!  And I'm not saying you
should never use third party repositories, just to realize that if you
do, you could have problems.

So what does dnf say when you run
dnf -v upgrade qemu\*
?
From what you've posted, there is no reason that it shouldn't upgrade
the qemu packages, if there are updates available.  If the qemu package
at the virt-preview site is blocking the update because 2.5.-6 is
considered newer than the update packages version, you could turn off
the virt-preview repository in /etc/yum.repos.d, run dnf clean
metadata, run the transaction, and then turn virt-preview back on.  
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to