yum install ntp 报错:Error: Package: ntp-4.2.6p5-25.el7.centos.2.x86_64 (base)

Posted lingluo2017

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yum install ntp 报错:Error: Package: ntp-4.2.6p5-25.el7.centos.2.x86_64 (base)相关的知识,希望对你有一定的参考价值。

redhat7 在安装ntp时报如下错误

Error: Package: ntp-4.2.6p5-25.el7.centos.2.x86_64 (base)
Requires: ntpdate = 4.2.6p5-25.el7.centos.2
Installed: ntpdate-4.2.6p5-25.el7_3.2.x86_64 (@anaconda/7.4)
ntpdate = 4.2.6p5-25.el7_3.2
Available: ntpdate-4.2.6p5-25.el7.centos.2.x86_64 (base)
ntpdate = 4.2.6p5-25.el7.centos.2
You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), ‘yum check‘ output follows:
rhn-check-2.0.2-17.el7.noarch has missing requires of yum-rhn-plugin >= (‘0‘, ‘1.6.4‘, ‘1‘)

 

解决:

yum clean all

yum distro-sync

yum update









以上是关于yum install ntp 报错:Error: Package: ntp-4.2.6p5-25.el7.centos.2.x86_64 (base)的主要内容,如果未能解决你的问题,请参考以下文章

yum报错setup has installed conflicts filesystem < ('0', '3', None): filesystem(示例代码

error for rrdtool install(python3安装rrdtool报错)

Centos中执行yum update或yum install 时报Error: Cannot find a valid baseurl for repo: base错误

执行yum clean all 报错了,一星期都还没解决 求大神指教

CentOS 7 Yum install * 报错

FATAL ERROR: please install th......Data::Dumper(未安装autoconf库)