I can't install udev on plain ubuntu 14.04

dpkg, ubuntu, udev

Solution

The reason may be that problem occurs on all Ubuntu 14.04 installations on OVH servers. I've contacted technical support they don't have any answer that may help apart from 'help yourself'.

After getting this error:

nano /etc/init.d/udev

After the ### END INIT INFO add:

exit 0         

Save and exit.

dpkg --configure -a         
apt-get upgrade         

Edit the file again, and remove the `exit 0`, save & exit then installing subsequent packages work correctly and the system seems fine after reboots, without that awful error message ever appearing.

Temporary solution from this thread: http://forum.ovh.co.uk/showthread.php?8480-udev-requires-hotplug-support-not-started/page2&s=2144010031f992268c5690726da09284

Problem

I've plain Ubuntu 14.04 Server (64-bit) installation. When use: ``` sudo apt-get update ``` Print this error: ``` .... Hit http://security.ubuntu.com trusty-security/universe Translation-en E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. ``` After removing tmp.i `/var/lib/dpkg/updates# sudo rm tmp.i` apt-get update went OK but... When I tried 'sudo apt-get upgrade': ``` Fetched 534 kB in 4s (112 kB/s) Reading package lists... Done root@vps****:/# sudo 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.9) ... * 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) ``` I can't find any solution for that so far on web, tried many ways but nothing worked...

Original source