安装 chrony 时没有可用的包 chrony
No Package chrony availiable when I install chrony
在我的 Centos 6.5 中我想安装 chrony
# yum install chrony
我收到以下错误
Loaded plugins: fastestmirror Loading mirror speeds from cached
hostfile Setting up Install Process No package chrony available.
Error: Nothing to do
如何在 Centos 6.5 上安装 Chrony?
我将不胜感激你能给我解决这个问题的任何帮助。
听起来您的安装缺少 base.repo
。
Available Packages
Name : chrony
Arch : x86_64
Version : 2.1.1
Release : 2.el6_8
Size : 266 k
Repo : base
Summary : An NTP client/server
URL : http://chrony.tuxfamily.org
License : GPLv2
Description : A client/server for the Network Time Protocol, this program keeps your
: computer's clock accurate. It was specially designed to support
: systems with intermittent internet connections, but it also works well
: in permanently connected environments. It can use also hardware reference
: clocks, system real-time clock or manual input as time references.
听起来您可能缺少配置中的 'CentOS-Base' 存储库。签入 /etc/yum.repos.d/CentOS-Base.repo
如果不存在则创建它并添加以下配置块;
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
您也可以通过http://rpm.pbone.net
找到包裹
在我的 Centos 6.5 中我想安装 chrony
# yum install chrony
我收到以下错误
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Setting up Install Process No package chrony available. Error: Nothing to do
如何在 Centos 6.5 上安装 Chrony?
我将不胜感激你能给我解决这个问题的任何帮助。
听起来您的安装缺少 base.repo
。
Available Packages
Name : chrony
Arch : x86_64
Version : 2.1.1
Release : 2.el6_8
Size : 266 k
Repo : base
Summary : An NTP client/server
URL : http://chrony.tuxfamily.org
License : GPLv2
Description : A client/server for the Network Time Protocol, this program keeps your
: computer's clock accurate. It was specially designed to support
: systems with intermittent internet connections, but it also works well
: in permanently connected environments. It can use also hardware reference
: clocks, system real-time clock or manual input as time references.
听起来您可能缺少配置中的 'CentOS-Base' 存储库。签入 /etc/yum.repos.d/CentOS-Base.repo
如果不存在则创建它并添加以下配置块;
[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
#released updates
[updates]
name=CentOS-$releasever - Updates
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates&infra=$infra
#baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6
您也可以通过http://rpm.pbone.net
找到包裹