rtkbase icon indicating copy to clipboard operation
rtkbase copied to clipboard

Installation failed silently because of lock-frontend

Open Stefal opened this issue 2 years ago • 1 comments

Describe the bug During the installation of RTKBase on a freshly installed raspberry pi os running on a Pi Zero, I had this error when the script tried to install gpsd :

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3611 (apt-get)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

Expected behavior The installation script should manage this correctly.

Software/Hardware (please complete the following information):

  • RTKBase release number 2.3.1
  • OS: Raspberry Pi Os lite (bullseye
  • SBC Raspberry Pi Zero

Stefal avatar Dec 20 '21 10:12 Stefal

I should take a look at https://blog.sinjakli.co.uk/2021/10/25/waiting-for-apt-locks-without-the-hacky-bash-scripts/

Stefal avatar Dec 20 '21 19:12 Stefal