|
我用apt装chkconfig时,不小心就将sysvinit卸载了,后来每次使用apt-get upgrade都会提示找不到update-rc.d.然后我就找到sysvinit的deb包,将其中的文件复制到系统相应位置.
现在用upgrade时就说
dpkg:处理 rsyslog (--configure)时出错:
子进程 已安装的 post-installation 脚本 返回了错误号 1
正在设置 console-tools (1:0.2.3dbs-66) ...
update-rc.d: not present yet.
You are replacing sysv-rc with file-rc or another -rc package, or
the other way around. The replacement package must first be
unpacked before you can configure other packages.
Exiting with error status 1.
invoke-rc.d: not present yet.
You are replacing sysv-rc with file-rc or another -rc package, or
the other way around. The replacement package must first be
unpacked before you can configure other packages.
Exiting with error status 1.
dpkg:处理 console-tools (--configure)时出错:
子进程 已安装的 post-installation 脚本 返回了错误号 1
在处理时有错误发生:
rsyslog
console-tools
E: Sub-process /usr/bin/dpkg returned an error code (1) |
|