apt-get 升级问题

apt-get 升级问题

自从我删除并清除了 udev 程序后,我在使用 apt-get upgrade 时就遇到了麻烦。

这是我收到的错误:

Reading package lists... Done Building dependency tree        Reading
state information... Done Calculating upgrade... Done 0 upgraded, 0
newly installed, 0 to remove and 0 not upgraded. 2 not fully installed
or removed. After this operation, 0 B of additional disk space will be
used. Do you want to continue? [Y/n] y Setting up udev (229-4ubuntu17)
... addgroup: The group `input' already exists as a system group.
Exiting. update-initramfs: deferring update (trigger activated)
insserv: warning: script 'vncserver' missing LSB tags and overrides

insserv: There is a loop between service torque-scheduler and
vncserver if stopped 
insserv:  loop involving service vncserver at depth 2 
insserv:  loop involving service torque-scheduler at depth 1
insserv: Stopping vncserver depends on torque-scheduler and therefore
on system facility `$all' which can not be true! 
insserv: exiting now without changing boot order! 
update-rc.d: error: insserv rejected the script header 
dpkg: error processing package udev (--configure): 
subprocess installed post-installation script returned error exit
status 1 
Setting up unattended-upgrades (0.90ubuntu0.5) ... 
insserv: warning: script 'vncserver' missing LSB tags and overrides 
insserv: There is a loop between service torque-scheduler and vncserver if stopped 
insserv:  loop involving service vncserver at depth 2 
insserv: loop involving service torque-scheduler at depth 1 insserv: Stopping
vncserver depends on torque-scheduler and therefore on system facility
`$all' which can not be true! insserv: exiting now without changing

 boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package unattended-upgrades (--configure): 
subprocess installed post-installation script returned error exit
status 1 
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-77-generic 
Errors were encountered while processing:  udev  unattended-upgrades 
E: Sub-process /usr/bin/dpkg returned an error code (1)

相关内容