14.04 Erro ao instalar o CURL

0

eu instalei o Ubuntu 14.04, Quando eu adiciono:

sudo apt-get upgrade

Eu recebo este erro:

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@:~#

Quando eu adiciono:

sudo apt-get install curl

Eu recebo este erro:

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@:~#

Alguém sabe como consertar isso?

Obrigado.

    
por nikolr8 30.11.2014 / 20:59

1 resposta

1

Existe uma longa postagem longa com uma 'correção feia' para este problema: eu não sei o que mais isso iria quebrar.

Em uma janela de terminal, edite /etc/init.d/udev da seguinte forma:

sudo nano /etc/init.d/udev

Após o ### END INIT INFO, adicione:

sair 0

Salvar e sair.

sudo dpkg --configure -a
sudo apt-get upgrade
    
por Charles Green 30.11.2014 / 23:16