libcurl
尝试在全新的 CentOS stream 9 容器上安装时出现以下错误:
$ docker run -it quay.io/centos/centos:stream9 /bin/bash
[root@72285314347a /]# yum install libcurl
CentOS Stream 9 - BaseOS 1.8 MB/s | 6.2 MB 00:03
CentOS Stream 9 - AppStream 5.3 MB/s | 17 MB 00:03
CentOS Stream 9 - Extras packages 21 kB/s | 12 kB 00:00
Last metadata expiration check: 0:00:01 ago on Tue May 9 18:24:40 2023.
Error:
Problem: problem with installed package libcurl-minimal-7.76.1-23.el9.x86_64
- package libcurl-minimal-7.76.1-23.el9.x86_64 conflicts with libcurl(x86-64) provided by libcurl-7.76.1-23.el9.x86_64
- package libcurl-minimal-7.76.1-19.el9.x86_64 conflicts with libcurl(x86-64) provided by libcurl-7.76.1-23.el9.x86_64
- package libcurl-minimal-7.76.1-20.el9.x86_64 conflicts with libcurl(x86-64) provided by libcurl-7.76.1-23.el9.x86_64
- package libcurl-minimal-7.76.1-21.el9.x86_64 conflicts with libcurl(x86-64) provided by libcurl-7.76.1-23.el9.x86_64
- package libcurl-minimal-7.76.1-22.el9.x86_64 conflicts with libcurl(x86-64) provided by libcurl-7.76.1-23.el9.x86_64
- cannot install the best candidate for the job
(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)
我在 Rocky 9 和 9.1 上遇到了同样的错误。
我是不是做错了什么?我不敢相信这些项目竟然没有一个自动脚本来计算这样的软件包冲突,并引发严重程度为 1 的阻碍发货的错误。