所以我想安装 denyhosts
,安装并启用了epel存储库,但是 yum install denyhosts
仍然找不到它。我必须注意到我设法在CentOS 6.4上以同样简单的方式完成它,但在版本7上这不起作用。
repo id repo name status
base/7/x86_64 CentOS-7 - Base enabled: 8,465
base-debuginfo/x86_64 CentOS-7 - Debuginfo disabled
base-source/7 CentOS-7 - Base Sources disabled
centosplus/7/x86_64 CentOS-7 - Plus disabled
centosplus-source/7 CentOS-7 - Plus Sources disabled
epel/x86_64 Extra Packages for Enterprise Linux enabled: 5,923
epel-debuginfo/x86_64 Extra Packages for Enterprise Linux disabled
epel-source/x86_64 Extra Packages for Enterprise Linux disabled
epel-testing/x86_64 Extra Packages for Enterprise Linux disabled
epel-testing-debuginfo/x86_64 Extra Packages for Enterprise Linux disabled
epel-testing-source/x86_64 Extra Packages for Enterprise Linux disabled
extras/7/x86_64 CentOS-7 - Extras enabled: 44
extras-source/7 CentOS-7 - Extras Sources disabled
fasttrack/7/x86_64 CentOS-7 - fasttrack disabled
updates/7/x86_64 CentOS-7 - Updates enabled: 944
updates-source/7 CentOS-7 - Updates Sources disabled
repolist: 15,376
No package denyhosts available.
Error: Nothing to do
UPDATE 我相信这个问题与EPEL 7库有关 /beta/
已从官方网址中删除。我不完全确定它在哪里 http://dl.fedoraproject.org/pub/epel/7/x86_64/