Não é possível adicionar / remover pacotes, a pós-instalação falha

1

Algo está errado com o kit de políticas e impede que os pacotes sejam iniciados:

# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up rabbitmq-server (3.4.3-2) ...
insserv: warning: script 'K02nxsensor' missing LSB tags and overrides
insserv: warning: script 'K02nxserver' missing LSB tags and overrides
insserv: warning: script 'S99pwrstatd' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (empty) of script 'rabbitmq-server' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script 'rabbitmq-server' overrides LSB defaults (0 1 6).
insserv: warning: script 'pwrstatd' missing LSB tags and overrides
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'plexmediaserver' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script 'plexmediaserver'
insserv: Default-Stop  undefined, assuming empty stop  runlevel(s) for script 'plexmediaserver'
insserv: script sshINT: service sshd already provided!
insserv: warning: script 'nxserver' missing LSB tags and overrides
insserv: warning: script 'nxsensor' missing LSB tags and overrides
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to start rabbitmq-server.service: Connection timed out
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing package rabbitmq-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish

Como eu posso consertar essa coisa de polkit gio-error-quark?

Mesmo alguns comandos systemctl apresentam o mesmo erro:

# systemctl disable plymouth-quit-wait
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out

update: é um bug conhecido: link

    
por Jay _silly_evarlast_ Wren 31.05.2015 / 19:33

1 resposta

1

Ainda não posso responder ao seu comentário, mas você já tentou o solução alternativa mencionada no tópico do bug?

  

Instale o policykit-1 primeiro, depois reinicialize e instale tudo o mais.

    
por Synergist 01.06.2015 / 08:12