升级时出现 Udev 错误

升级时出现 Udev 错误

我更新并升级了我的 ubuntu 14.04 服务器。更新成功,但升级时出现此错误:

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.
1 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 (204-5ubuntu20.3) ...
 * udev requires hotplug support, not started
   ...fail!
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing package udev (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 udev
E: Sub-process /usr/bin/dpkg returned an error code (1)

我该如何解决这个问题?

答案1

我也是!经过 30 分钟的挖掘,我发现了这个:

$ apt-get download udev
$ sudo dpkg -i --force-confmiss udev_204-5ubuntu20.9_amd64.deb
$ sudo apt-get upgrade

对我有用。更多信息请访问Dimitri 在 Ubuntu 错误跟踪器中的评论

相关内容