rtkbase
rtkbase copied to clipboard
Installation failed silently because of lock-frontend
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
I should take a look at https://blog.sinjakli.co.uk/2021/10/25/waiting-for-apt-locks-without-the-hacky-bash-scripts/