Udev 和 systemd 已损坏,如能提供任何帮助将不胜感激

Udev 和 systemd 已损坏,如能提供任何帮助将不胜感激

我无法配置 udev 或 systemd

cam@banowsky:~/rails/lo/db$ sudo dpkg --configure udevSetting up udev (219-     4ubuntu10) ...
update-initramfs: deferring update (trigger activated)
insserv: warning: script 'plex' missing LSB tags and overrides
initctl: Unable to connect to Upstart: Failed to connect to socket     
/com/ubuntu/upstart: Connection refused
insserv: warning: script 'mongodb' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script  `mongodb'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `mongodb'
initctl: Unable to connect to Upstart: Failed to connect to socket    /com/ubuntu/upstart: Connection refused
insserv: warning: script 'plexmediaserver' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `plexmediaserver'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script `plexmediaserver'
insserv: There is a loop between service monit and plex if stopped
insserv:  loop involving service plex at depth 2
insserv:  loop involving service monit at depth 1
insserv: Stopping plex depends on monit 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
Processing triggers for initramfs-tools (0.103ubuntu13) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-10-generic
Errors were encountered while processing:
udev
cam@banowsky:~/rails/lo/db$ sudo dpkg-reconfigure udev
sh: 0: getcwd() failed: No such file or directory
sh: 0: getcwd() failed: No such file or directory
/usr/sbin/dpkg-reconfigure: udev is broken or not fully installed

我也跑过

sudo dpkg-reconfigure udev
dpkg-reconfigure systemd
susudodo apt-get install -f

故障发生在此时

update-initramfs: Generating /boot/initrd.img-3.19.0-10-generic

有任何想法吗?

答案1

我遇到了类似的问题:

update-initramfs: deferring update (trigger activated)
insserv: warning: script 'S85vpnagentd_init' missing LSB tags and overrides
insserv: warning: script 'vpnagentd_init' missing LSB tags and overrides
insserv: There is a loop between service ondemand and procps if started
insserv:  loop involving service procps at depth 2
insserv:  loop involving service udev at depth 1
insserv: Starting vpnagentd_init depends on ondemand and therefore on system facility `$all' which can not be true!

问题是由于安装了第三方 vpn 客户端引起的。我取消了安装,一切恢复正常。

因此,查看您的错误消息,可能是“plexmediaserver”、“plex”和“mongodb”中的一个导致了问题。删除这些包可能会解决问题。

相关内容