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%]