I am trying to install a previous version of the “qemu-kvm” package on a Rocky 8.6 system. However, the version I want is no longer listed on the appstream repo, even with the “–showduplicates” option.
Here’s what I see on my host after updating all packages from Rocky 8.5 to 8.6:
That did the trick! The mirrorlist was still enabled. After fixing that, and a quick “dnf clean all”, I can now see the v4.2.0 package that I need. I installed v4.2.0-60 and now I see this:
# /usr/libexec/qemu-kvm -version
QEMU emulator version 4.2.0 (qemu-kvm-4.2.0-60.module+el8.5.0+772+743bb337.2)
Copyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers
NOTE: I did have to reboot before removing the v6.2 package. Even though ps showed no “qemu-kvm” processes running, “dnf remove qemu-kvm” completed without error, but the files were stil there. Only after rebooting and re-running “remove” were the files actually gone. Maybe some file locks…
Agreed. I don’t plan on leaving the “hacked” appstream repo def in place for long – just until I have the old packages I need. Then I will restore the default Rocky-AppStream.repo.
However, I am adding this line, to prevent qemu-kvm (and its dependencies) from updating, until I resolve the issue I am having with v6.2.0: