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

给你列表.

dawei

【声明】:乐山站长网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。