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

前端之家收集整理的这篇文章主要介绍了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

给你列表.

原文链接:https://www.f2er.com/linux/398171.html

猜你在找的Linux相关文章