Eu removi forçosamente runit
da seguinte forma:
sudo dpkg -r --force-all runit
então
sudo apt-get -f install runit
em seguida, instalou php-curl
:
sudo apt-get install php5-curl
E foi corrigido.
Estou tentando instalar o php curl assim:
sudo apt-get update
sudo apt-get install php5-curl
Mas continuo recebendo um erro.
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-curl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 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 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 its a followup error from a previous failure.
Errors were encountered while processing:
runit
git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
quando eu tento sudo dpkg --configure -a eu recebo:
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
Errors were encountered while processing:
git-daemon-run
quando eu tento sudo apt-get install --reinstall runit eu recebo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for runit:amd64
quando eu tento sudo apt-get install runit eu recebo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
runit is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 8 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 runit (2.1.2-3ubuntu1) ...
start: Job is already running: runsvdir
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 its a followup error from a previous failure.
Errors were encountered while processing:
runit
git-daemon-run
E: Sub-process /usr/bin/dpkg returned an error code (1)
quando eu tento sudo apt-get install --reinstall git-daemon-run eu recebo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for git-daemon-run:amd64
Como posso corrigir isso?
Especificações do sistema:
Processor: Intel® Core™ i7-3630QM CPU @ 2.40GHz × 8
Graphics: Gallium 0.4 on AMD TURKS (DRM 2.43.0, LLVM 3.6.2)
OS Type: Ubuntu 15.10 64-bit
Eu removi forçosamente runit
da seguinte forma:
sudo dpkg -r --force-all runit
então
sudo apt-get -f install runit
em seguida, instalou php-curl
:
sudo apt-get install php5-curl
E foi corrigido.
Instale o git-daemon-sysvinit primeiro.
sudo apt-get install git-daemon-sysvinit
Em seguida, instale o php5-curl.
git-daemon-sysvinit substitui o git-daemon-run. (Eles são alternativas um para o outro.) O git-daemon-run não funciona mais no Ubuntu 15.04 e acima, pela minha experiência e pelo que eu li. Pelo menos, não sem manuseio especial. ( link )