linux – yum-plugin-priorities:由于存储库优先级保护而排除哪些包?

我正在使用多个第三方RPM存储库.由于这些回购包含名称冲突的包,我正在尝试使用 yum-plugin-priorities解决这个问题.

当我运行yum check-update时,我收到通知“由于存储库优先级保护而排除了N个包”:

[root@host ~]# yum check-update
Loaded plugins: changelog,downloadonly,fastestmirror,priorities,security
Loading mirror speeds from cached hostfile
3941 packages excluded due to repository priority protections
[root@host ~]#

3941排除了包裹?天哪,那比我期待的要多得多.我有一个快速方法来检查哪些包被排除在考虑之外,这样我就可以仔细检查yum正在做什么?

我试过–disableplugin = priority,但它没有显示我被排除的包.

[root@host ~]# yum check-update --disableplugin=priorities
Loaded plugins: changelog,security
Loading mirror speeds from cached hostfile
[root@host ~]#

解决方法

它比那更容易:)

可以使用yum debuglevel显示排除.从debuglevel 3可以看到它们(调试级别范围从0到10)

yum update -d3

给你列表.

相关文章

1、安装Apache。 1)执行如下命令,安装Apache服务及其扩展包...
一、先说一下用ansible批量采集机器信息的实现办法: 1、先把...
安装配置 1. 安装vsftpd 检查是否安装了vsftpd # rpm -qa | ...
如何抑制stable_secret读取关键的“net.ipv6.conf.all.stabl...
1 删除0字节文件 find -type f -size 0 -exec rm -rf {} ...
## 步骤 1:安装必要的软件包 首先,需要确保系统已安装 `dh...