Bug 584 - yum update failed with qemu-kvm installed
Summary: yum update failed with qemu-kvm installed
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.2
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: 葛立伟
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-26 10:39 UTC by Caspar
Modified: 2022-03-01 13:15 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Caspar alibaba_cloud_group 2022-02-26 10:39:38 UTC
Description of problem:
```
yum update                                                                                                                                                                                                                                                                              1 ↵
Last metadata expiration check: 0:02:35 ago on Sat 26 Feb 2022 10:33:56 AM CST.
Error:
 Problem: cannot install both qemu-kvm-15:4.2.0-59.0.2.module+an8.5.0+10629+21b35a34.1.x86_64 and qemu-kvm-15:4.2.0-48.an8.x86_64
  - package qemu-kvm-tests-15:4.2.0-48.an8.x86_64 requires qemu-kvm = 15:4.2.0-48.an8, but none of the providers can be installed
  - cannot install the best update candidate for package qemu-kvm-15:4.2.0-48.an8.x86_64
  - problem with installed package qemu-kvm-tests-15:4.2.0-48.an8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
```



Version-Release number of selected component (if applicable):
```
$ rpm -qa | grep qemu-kvm                                                                                                                                                                                                                                                                 1 ↵
qemu-kvm-block-curl-4.2.0-48.an8.x86_64
qemu-kvm-block-ssh-4.2.0-48.an8.x86_64
qemu-kvm-tests-4.2.0-48.an8.x86_64
qemu-kvm-block-gluster-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-common-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-debugsource-4.2.0-48.an8.x86_64
qemu-kvm-common-4.2.0-48.an8.x86_64
qemu-kvm-block-gluster-4.2.0-48.an8.x86_64
qemu-kvm-block-rbd-4.2.0-48.an8.x86_64
qemu-kvm-4.2.0-48.an8.x86_64
qemu-kvm-block-curl-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-block-iscsi-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-block-ssh-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-core-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-block-iscsi-4.2.0-48.an8.x86_64
qemu-kvm-core-4.2.0-48.an8.x86_64
qemu-kvm-block-rbd-debuginfo-4.2.0-48.an8.x86_64
qemu-kvm-tests-debuginfo-4.2.0-48.an8.x86_64
$ cat /etc/anolis-release
Anolis OS release 8.2
$ rpm -q --provides anolis-release
anolis-release = 8.2-8.an8
anolis-release(x86-64) = 8.2-8.an8
config(anolis-release) = 8.2-8.an8
redhat-release = 8.2
system-release = 8.2-8.an8
system-release(releasever) = 8
$ rpm -q anolis-release
anolis-release-8.2-8.an8.x86_64
```

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 葛立伟 alibaba_cloud_group 2022-03-01 11:08:01 UTC
qemu-kvm-tests 是virt-devel模块中的包,需要enable virt-devel

qemu-kvm-15:4.2.0-48.an8.x86_64 这个包看起来不像是module包
Comment 2 葛立伟 alibaba_cloud_group 2022-03-01 13:15:49 UTC
virt-devel:an for anolis 8.5 has been updated