1

My ssh connection crashed during a whiptail about php.ini. (update apache)

Is there a way to recover everything smoothly ?

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

apt-get upgrade give me :

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?
bob dylan
  • 1,832
  • 3
  • 20
  • 31

1 Answers1

1

Try deleting the lock file:

rm /var/lib/dpkg/lock

And try again:

apt-get upgrade
Alberto
  • 495
  • 4
  • 15