0

I install Ubuntu 14.04, When i add:

sudo apt-get upgrade

I get this error:

root@:~# 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.8) ...
* 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)
root@:~#

When i add:

sudo apt-get install curl

I get this error:

Setting up udev (204-5ubuntu20.8) ...
* 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)
root@:~#

Anyone know how to fix this ?

Thanks.

1 Answers1

1

There is a lengthy post with an 'ugly fix' for this problem: I do not know what else this would break.

From a terminal window, edit /etc/init.d/udev as follows:

sudo nano /etc/init.d/udev

After the ### END INIT INFO add:

exit 0

Save and exit.

sudo dpkg --configure -a
sudo apt-get upgrade
Charles Green
  • 21,339
  • Your problem there is that you are on Ubuntu 13.10, and the software has moved. Your archives will need to be updated, as detailed in http://askubuntu.com/questions/91815/how-to-install-software-or-upgrade-from-an-old-unsupported-release – Charles Green Dec 01 '14 at 00:08
  • no, i install 14.04 LTS and again have this error: E: Unable to locate package ubuntu-restricted-extras – nikolr8 Dec 01 '14 at 13:32
  • It should be in the multiverse - there is not space enough here to add pictures and stuff. Can you ask that as a new question? – Charles Green Dec 01 '14 at 13:43
  • Unfortunately the question is closed - you can edit it to reflect the change to 14.04, and flag it for reopening... – Charles Green Dec 01 '14 at 13:48