Bug 3914 - [Anolis 23][x86_64/aarch64][nightly] yun update 更新执行失败
Summary: [Anolis 23][x86_64/aarch64][nightly] yun update 更新执行失败
Status: RESOLVED BYDESIGN
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: xuchunmei
QA Contact: bolong_tbl
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-01 11:05 UTC by gitpush
Modified: 2023-02-23 16:11 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gitpush alibaba_cloud_group 2023-02-01 11:05:44 UTC
跟研发同学确认,nodejs符合预期,qemu-ui-sdl需要定位修改

执行过程:
+ yum update -y
Last metadata expiration check: 0:00:27 ago on Sun Jan 29 07:41:27 2023.
Error: 
(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)
 Problem 1: package nodejs-docs-1:16.17.0-1.an23.noarch conflicts with nodejs > 1:16.17.0-1.an23 provided by noslate-anode-1:16.17.1-2.an23.x86_64
  - cannot install the best update candidate for package nodejs-docs-1:16.17.0-1.an23.noarch
  - cannot install the best update candidate for package nodejs-1:16.17.0-1.an23.x86_64
 Problem 2: package qemu-ui-sdl-2:6.2.0-1.an23.x86_64 requires qemu-common(x86-64) = 2:6.2.0-1.an23, but none of the providers can be installed
  - cannot install both qemu-common-2:6.2.0-2.an23.x86_64 and qemu-common-2:6.2.0-1.an23.x86_64
  - cannot install the best update candidate for package qemu-ui-sdl-2:6.2.0-1.an23.x86_64
  - cannot install the best update candidate for package qemu-common-2:6.2.0-1.an23.x86_64
 Problem 3: problem with installed package qemu-ui-sdl-2:6.2.0-1.an23.x86_64
  - package qemu-ui-sdl-2:6.2.0-1.an23.x86_64 requires qemu-ui-opengl(x86-64) = 2:6.2.0-1.an23, but none of the providers can be installed
  - cannot install both qemu-ui-opengl-2:6.2.0-2.an23.x86_64 and qemu-ui-opengl-2:6.2.0-1.an23.x86_64
  - cannot install the best update candidate for package qemu-ui-opengl-2:6.2.0-1.an23.x86_64
 Problem 4: problem with installed package nodejs-docs-1:16.17.0-1.an23.noarch
  - package nodejs-docs-1:16.17.0-1.an23.noarch conflicts with nodejs > 1:16.17.0-1.an23 provided by noslate-anode-1:16.17.1-2.an23.x86_64
  - problem with installed package nodejs-1:16.17.0-1.an23.x86_64
  - package nodejs-1:16.17.0-1.an23.x86_64 requires nodejs-libs = 1:16.17.0-1.an23, but none of the providers can be installed
  - package noslate-anode-libs-1:16.17.1-2.an23.x86_64 obsoletes nodejs-libs < 1:16.17.1-2.an23 provided by nodejs-libs-1:16.17.0-1.an23.x86_64
  - cannot install the best update candidate for package nodejs-libs-1:16.17.0-1.an23.x86_64
+ echo 'pkg_update_test: FAIL'
+ return 1
Comment 2 扣肉 2023-02-06 17:19:42 UTC
请使用 dnf upgrade 进行测试。你这些报错,全部来自于试图同时安装两个不同 release 的同一个包。这不应该出现的。
Comment 3 扣肉 2023-02-06 17:22:26 UTC
https://gitee.com/src-anolis-os/qemu-kvm/pulls/22

qmu 的SDL支持已经被删除,符合预期。
Comment 4 gitpush alibaba_cloud_group 2023-02-23 16:11:09 UTC
(In reply to 扣肉 from comment #2)
> 请使用 dnf upgrade 进行测试。你这些报错,全部来自于试图同时安装两个不同 release 的同一个包。这不应该出现的。


使用dnf upgrade依旧报错
[root@iZbp12nj7zzd2hcr70xlilZ ~]# dnf upgrade
Last metadata expiration check: 2:23:14 ago on Thu 23 Feb 2023 01:28:44 PM CST.
Error:
 Problem 1: package nodejs-docs-1:16.17.0-1.an23.noarch conflicts with nodejs > 1:16.17.0-1.an23 provided by noslate-anode-1:16.17.1-2.an23.x86_64
  - cannot install the best update candidate for package nodejs-docs-1:16.17.0-1.an23.noarch
  - cannot install the best update candidate for package nodejs-1:16.17.0-1.an23.x86_64
 Problem 2: problem with installed package nodejs-docs-1:16.17.0-1.an23.noarch
  - package nodejs-docs-1:16.17.0-1.an23.noarch conflicts with nodejs > 1:16.17.0-1.an23 provided by noslate-anode-1:16.17.1-2.an23.x86_64
  - problem with installed package nodejs-1:16.17.0-1.an23.x86_64
  - package nodejs-1:16.17.0-1.an23.x86_64 requires nodejs-libs = 1:16.17.0-1.an23, but none of the providers can be installed
  - package noslate-anode-libs-1:16.17.1-2.an23.x86_64 obsoletes nodejs-libs < 1:16.17.1-2.an23 provided by nodejs-libs-1:16.17.0-1.an23.x86_64
  - cannot install the best update candidate for package nodejs-libs-1:16.17.0-1.an23.x86_64

目前测试还是建议使用yum update
把该包卸载后可正常执行
1、yum remove nodejs-docs
2、yum update