码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2018-03-29 00:12:32      阅读:4514      评论:0      收藏:0      [点我收藏+]

标签:exist   ble   package   AC   ntpd   blog   pre   arc   plugin   

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)

标签:exist   ble   package   AC   ntpd   blog   pre   arc   plugin   

原文地址:https://www.cnblogs.com/lingluo2017/p/8666402.html

(3)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!