dpkg: pacote de processamento de erros (Ubuntu 16.04) [duplicado]

2

Estou executando o Ubuntu 16.04. Depois de instalar o git (e depois o git-all), estou recebendo os seguintes erros sempre que tento executar o "sudo apt-get upgrade".

Setting up runit (2.1.2-3ubuntu1) ... start: Unable to connect to
Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection
refused dpkg: error processing package runit (--configure): 
subprocess installed post-installation script returned error exit
status 1 No apport report written because the error message indicates
it's a follow-up error from a previous failure.
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package
runit is not configured yet.

dpkg: error processing package git-daemon-run (--configure): 
dependency problems - leaving unconfigured dpkg: error processing
package imagemagick-6.q16 (--configure):  package is in a very bad
inconsistent state; you should  reinstall it before attempting
configuration dpkg: dependency problems prevent configuration of
imagemagick:  imagemagick depends on imagemagick-6.q16 (=
8:6.8.9.9-7ubuntu5.1); however:   Package imagemagick-6.q16 is not
configured yet.

pkg: error processing package imagemagick (--configure):  dependency
problems - leaving unconfigured Errors were encountered while
processing:  runit  git-daemon-run  imagemagick-6.q16  imagemagick E:
Sub-process /usr/bin/dpkg returned an error code (1)

Ajuda?

    
por Assaf Hershko 08.06.2016 / 20:06

2 respostas

1

Acontece que a instalação do git-all quebra o Ubuntu 16.04. Encontrou a correção aqui:

Falha ao conectar ao soquete / com / ubuntu / upstart: Conexão recusada: Foram encontrados erros durante o processamento: runit

    
por Assaf Hershko 09.06.2016 / 16:05
0

Digite o terminal:

dpkg --configure -a
apt autoremove
apt -f install
apt update
apt upgrade
    
por rancho 09.06.2016 / 04:43