Restaurar atualização após falha ssh

Restaurar atualização após falha ssh

Minha conexão ssh travou durante uma discussão sobre o php.ini. (atualizar apache)

Existe uma maneira de recuperar tudo sem problemas?

root     20689  0.0  0.0  20036  2284 pts/1    S+   10:15   0:00 whiptail --backtitle Package configuration --title Modif

apt-get upgrademe dê :

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Responder1

Tente excluir o arquivo de bloqueio:

rm /var/lib/dpkg/lock

E tente novamente:

apt-get upgrade

informação relacionada