我的博客:https://www.vpssw.com
# 查看定时任务列表 crontab -l
报错提示:- bash: crontab: command not found
# 安装之前,先删除 yum remove cronie # 安装cronie yum -y install cronie
安装依旧报错:
Total download size: 92 k Installed size: 215 k Downloading packages: Delta RPMs disabled because /usr/bin/applydeltarpm not installed. cronie-1.4.11-23.el7.x86_64.rpm | 92 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : cronie-1.4.11-23.el7.x86_64 1/1 Error unpacking rpm package cronie-1.4.11-23.el7.x86_64 error: unpacking of archive failed on file /etc/cron.d/0hourly;60a90564: cpio: open Verifying : cronie-1.4.11-23.el7.x86_64 1/1 Failed: cronie.x86_64 0:1.4.11-23.el7
报错提示:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
发现需要安装deltarpm
yum -y install deltarpm
安装deltarpm成功之后继续安装 yum -y install cronie
新的报错提示:
Error unpacking rpm package cronie-1.4.11-23.el7.x86_64
error: unpacking of archive failed o