系统升级后,cron服务出错,要死人了快帮帮我!
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
- zshmail
- 帖子: 270
- 注册时间: 2006-07-03 9:12
系统升级后,cron服务出错,要死人了快帮帮我!
系统用的是7.10server版,安装后用spy更新成testing版的源。gonme等安装后,因为安装mplayer所需的一些包源里没有,就把源换成了WIKI里的源,然后顺便update和upgrade后,使用apt-get install 任意软件都提示cron出错,提示如下:
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up cron (3.0pl1-100ubuntu1) ...
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
-n: not really
-f: force
dpkg: error processing cron (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
cron
E: Sub-process /usr/bin/dpkg returned an error code (1)
=============================================================
后卸载了cron后,apt-get正常了,但影响了其它软件,比如ntp,samba等要用到cron的所有软件都不能用了。
然后我下载了cron的deb包,想通过dpkg强制安装,但也是如上提示,不能安装。
谁有修复的好办法,请速告知,谢谢!
否则我真的又得重装系统了(已经装过N遍ubuntu了,已经烦透了)
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up cron (3.0pl1-100ubuntu1) ...
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
-n: not really
-f: force
dpkg: error processing cron (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
cron
E: Sub-process /usr/bin/dpkg returned an error code (1)
=============================================================
后卸载了cron后,apt-get正常了,但影响了其它软件,比如ntp,samba等要用到cron的所有软件都不能用了。
然后我下载了cron的deb包,想通过dpkg强制安装,但也是如上提示,不能安装。
谁有修复的好办法,请速告知,谢谢!
否则我真的又得重装系统了(已经装过N遍ubuntu了,已经烦透了)
- BigSnake.NET
- 帖子: 12522
- 注册时间: 2006-07-02 11:16
- 来自: 廣州
- 联系:
- flies
- 帖子: 167
- 注册时间: 2005-11-10 21:20
- 来自: 广西南宁
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
你的这包,内部问题啊。update-rc.d的语法错误了?你的源不正常吧。corn的版本倒是一样的。是哪个源啊。Setting up cron (3.0pl1-100ubuntu1) ...
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
-n: not really
-f: force
dpkg: error processing cron (--configure):
● 鸣学
- zshmail
- 帖子: 270
- 注册时间: 2006-07-03 9:12
一直用CN99的源eexpress 写了:你的这包,内部问题啊。update-rc.d的语法错误了?你的源不正常吧。corn的版本倒是一样的。是哪个源啊。Setting up cron (3.0pl1-100ubuntu1) ...
usage: update-rc.d [-n] [-f] <basename> remove
update-rc.d [-n] <basename> defaults [NN | SS KK]
update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
-n: not really
-f: force
dpkg: error processing cron (--configure):