Obtendo um erro ao tentar instalar o NUT

0

Estou tentando instalar a porca em uma máquina sem cabeçalho com o servidor Ubuntu 12.04 e continuo recebendo este erro:

$ sudo apt-get install nut
Reading package lists... Done
Building dependency tree       
Reading state information... Done
nut is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 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 nut-server (2.6.3-1ubuntu1.1) ...
grep: /etc/nut/nut.conf: No such file or directory
sed: can't read /etc/nut/nut.conf: No such file or directory
dpkg: error processing nut-server (--configure):
 subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of nut:
 nut depends on nut-server; however:
  Package nut-server is not configured yet.
dpkg: error processing nut (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a          previous failure.
                          Errors were encountered while processing:
 nut-server
 nut
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por 3ugene 21.12.2012 / 20:18

1 resposta

0

Após várias tentativas de configurar a porca para funcionar com o meu UPS, decidi desinstalar tudo e começar do começo. Durante este processo de desinstalação eu de alguma forma deletei o nut.conf form / etc / nut. Para poder instalar a porca novamente, tive que criar manualmente esse arquivo e inserir MODE=standalone nele.

    
por 3ugene 28.12.2012 / 05:43