不小心删除sysvinit
时间:2009-09-08
来源:互联网
我用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)
现在用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)
作者: kingoftime3 发布时间: 2009-09-08
Probably this is useful to you:
http://www.linuxsir.org/bbs/thread227316.html
http://www.linuxsir.org/bbs/thread227316.html
作者: d00m3d 发布时间: 2009-09-09
呵呵。sysvinit删除就删除吧,换一个。
今天看以新闻,Debian启动系统维护者们说,现在的Debian Sysvinit启动系统因为其不可靠性,将会逐渐被upstart代替。
因为未来的内核会更加基于事件驱动,所以Debian的开发者们首先想到的是实现一个基于事件的启动系统来替换Debian 6.0中的旧系统。而sysvinit是基于结果,从而变得越来越不可靠。比方说,fsck和mount工具不能找到在/dev的设备,或者网络文件系统不能启动它的服务,因为网络工作接口没有初始化。
就像Fedora和Ubuntu,Debian正在尝试在upstart上设置。在FOSDEM 2009中,Debian提交了一份状况报告,报告中提及它已经组织了启动了一个初始进程替换和扩展的项目。
有关更详细的 upstart 介绍,看看王旭老兄的翻译:
http://blog.chinaunix.net/u/3514/showart.php?id=723261
今天看以新闻,Debian启动系统维护者们说,现在的Debian Sysvinit启动系统因为其不可靠性,将会逐渐被upstart代替。
因为未来的内核会更加基于事件驱动,所以Debian的开发者们首先想到的是实现一个基于事件的启动系统来替换Debian 6.0中的旧系统。而sysvinit是基于结果,从而变得越来越不可靠。比方说,fsck和mount工具不能找到在/dev的设备,或者网络文件系统不能启动它的服务,因为网络工作接口没有初始化。
就像Fedora和Ubuntu,Debian正在尝试在upstart上设置。在FOSDEM 2009中,Debian提交了一份状况报告,报告中提及它已经组织了启动了一个初始进程替换和扩展的项目。
有关更详细的 upstart 介绍,看看王旭老兄的翻译:
http://blog.chinaunix.net/u/3514/showart.php?id=723261
作者: DebianEdu 发布时间: 2009-09-10
变更求突破,未尝不可,也总比默守成规的要好
作者: d00m3d 发布时间: 2009-09-10
是要更换了,特别是依赖网络的nfs服务,一旦网卡没先起来,总是挂载不上,很是郁闷的。
作者: favoyun 发布时间: 2009-09-10
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28