linux中安装docker时设置yum源出错
在设置yum源的时候一直反复出现以下错误,但又不知道原因
* Waiting for authentication...
* Waiting in queue...
* Loading list of packages....
* Requesting data...
* Testing changes... Failed to install packages: 错误运行事务: file /usr/lib/rpm/macros.d/macros.systemd from install of systemd-239-51.el8_5.2.aarch64 conflicts with file from package systemd-rpm-macros-250-7.el9.noarch
file /usr/sbin/service from install of initscripts-10.00.15-1.el8.aarch64 conflicts with file from package initscripts-service-10.11.4-1.el9.noarch
file /usr/share/man/man8/service.8.gz from install of initscripts-10.00.15-1.el8.aarch64 conflicts with file from package initscripts-service-10.11.4-1.el9.noarch
file /usr/share/man/man7/bpf-helpers.7.gz from install of bpftool-4.18.0-348.7.1.el8_5.aarch64 conflicts with file from package man-pages-5.10-4.el9.noarch
大概的意思是安装的与现有的yum源中的软件包冲突。
这步之前未更新yum包索引
猜想:是否是在设置主机yum源的问题,但yum源下载其他软件时并未报错。
至今未找到原因,望大佬帮忙指点,谢谢
如问题解决,我也会在第一时间更新相关解决方案