Depois de atualizar o SSL, o pip e o apt-get parecem querer usar o upstart em vez do systemd

0

Estou no Ubuntu 16.04.1

Eu atualizei o SSL (não me lembro exatamente o que fiz ... algo como "sudo apt-get libssl-dev"). Levei um tempo para perceber que isso como algo quebrou. O irônico que eu não posso usar o apt-get para tentar atualizar o sistema para consertar o que eu quebrei.

O sistema está usando systemd :

ps -p 1 
PID TTY          TIME CMD
  1 ?        00:00:07 systemd

Mas quando tento usar o pip ou o apt-get, recebo erros relacionados ao SSL e ao upstart. Não sei como consertar isso. O Google não encontrou nada que pareça resolver meu problema. (Isso tem muita informação, mas não especificamente sobre o meu problema: link )

sudo apt-get install runit git-daemon-run
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  socklog-run
The following NEW packages will be installed:
  git-daemon-run runit
0 upgraded, 2 newly installed, 0 to remove and 21 not upgraded.
Need to get 0 B/110 kB of archives.
After this operation, 1,162 kB of additional disk space will be used.
Selecting previously unselected package runit.
(Reading database ... 340516 files and directories currently installed.)
Preparing to unpack .../runit_2.1.2-3ubuntu1_amd64.deb ...
Unpacking runit (2.1.2-3ubuntu1) ...
Selecting previously unselected package git-daemon-run.
Preparing to unpack .../git-daemon-run_1%3a2.7.4-0ubuntu1.2_all.deb ...
Unpacking git-daemon-run (1:2.7.4-0ubuntu1.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
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
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

                            No apport report written because the error message indicates it's a followup error from a previous failure.
                                                                                                      Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
 runit
 git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
    
por Clem Wang 06.09.2017 / 21:54

0 respostas