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

用rpm命令安装定时器crontab

时间:2017-10-09 16:53:07      阅读:277      评论:0      收藏:0      [点我收藏+]

标签:open   signature   usr   warning   error:   bcrypt   lockfile   for   ict   

crontab -l  command not found

准备以下安装包:

 ls -l
总用量 1004
-rw-r--r-- 1 root root  76296 10月  9 16:01 cronie-1.4.4-16.el6_8.2.x86_64.rpm
-rw-r--r-- 1 root root  31928 10月  9 16:01 cronie-anacron-1.4.4-16.el6_8.2.x86_64.rpm
-rw-r--r-- 1 root root  10612 10月  9 16:01 crontabs-1.10-33.el6.noarch.rpm
-rw-r--r-- 1 root root 166196 10月  9 16:01 procmail-3.22-25.1.el6_5.1.x86_64.rpm
-rw-r--r-- 1 root root 733816 10月  9 16:01 sendmail-8.14.4-9.el6_8.1.x86_64.rpm

[root@dzyw175 cronb]# rpm -ivh procmail-3.22-25.1.el6_5.1.x86_64.rpm
warning: procmail-3.22-25.1.el6_5.1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
        file /usr/bin/formail from install of procmail-3.22-25.1.el6_5.1.x86_64 conflicts with file from package procmail-3.22-25.1.el6.x86_64
        file /usr/bin/lockfile from install of procmail-3.22-25.1.el6_5.1.x86_64 conflicts with file from package procmail-3.22-25.1.el6.x86_64
        file /usr/bin/procmail from install of procmail-3.22-25.1.el6_5.1.x86_64 conflicts with file from package procmail-3.22-25.1.el6.x86_64
[root@dzyw175 cronb]# rpm -ivh sendmail-8.14.4-9.el6_8.1.x86_64.rpm
warning: sendmail-8.14.4-9.el6_8.1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
        libcrypto.so.10(OPENSSL_1.0.1)(64bit) is needed by sendmail-8.14.4-9.el6_8.1.x86_64
        libcrypto.so.10(libcrypto.so.10)(64bit) is needed by sendmail-8.14.4-9.el6_8.1.x86_64
        libssl.so.10(libssl.so.10)(64bit) is needed by sendmail-8.14.4-9.el6_8.1.x86_64

缺失依赖关系,经过测试可以直接使用“–nodeps”选项忽略它。
[root@dzyw175 cronb]# rpm -ivh sendmail-8.14.4-9.el6_8.1.x86_64.rpm --nodeps
warning: sendmail-8.14.4-9.el6_8.1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:sendmail               ########################################### [100%]
[root@dzyw175 cronb]# rpm -ivh cronie-1.4.4-16.el6_8.2.x86_64.rpm  --nodeps
warning: cronie-1.4.4-16.el6_8.2.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cronie                 ########################################### [100%]
[root@dzyw175 cronb]# rpm -ivh crontabs-1.10-33.el6.noarch.rpm --nodeps
warning: crontabs-1.10-33.el6.noarch.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:crontabs               ########################################### [100%]
[root@dzyw175 cronb]# rpm -ivh cronie-anacron-1.4.4-16.el6_8.2.x86_64.rpm --nodeps
warning: cronie-anacron-1.4.4-16.el6_8.2.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Preparing...                ########################################### [100%]
   1:cronie-anacron         ########################################### [100%]

 

用rpm命令安装定时器crontab

标签:open   signature   usr   warning   error:   bcrypt   lockfile   for   ict   

原文地址:http://www.cnblogs.com/bingyublog/p/7641517.html

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