------------------------------------------------------------------------------------------------------
[root@topic ~]# yum whatprovides /usr/bin/crontab
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
4:vixie-cron-4.1-81.el5.i386 : The Vixie cron daemon for executing specified programs at set times.
Repo : base
Matched from:
Filename : /usr/bin/crontab
4:vixie-cron-4.1-77.el5_4.1.i386 : The Vixie cron daemon for executing specified programs at set times.
Repo : installed
Matched from:
Other : Provides-match: /usr/bin/crontab
[root@topic ~]# yum install vixie-cron -y
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vixie-cron.i386 4:4.1-81.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================
Updating:
vixie-cron i386 4:4.1-81.el5 base 81 k
Transaction Summary
======================================================================================================================================
Install 0 Package(s)
Upgrade 1 Package(s)
Total download size: 81 k
Downloading Packages:
vixie-cron-4.1-81.el5.i386.rpm | 81 kB 00:09
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
Public key for vixie-cron-4.1-81.el5.i386.rpm is not installed
setup的安装方法是一样的,先用whatprovides查找到安装名称;然后再用yum install 包名 安装即可 !!