epiccurious / jade-diy

Securely custody your bitcoin with Open Source software and generic hardware.
MIT No Attribution
13 stars 1 forks source link

Before running apt, check for /var/lib/apt/lists/lock #12

Closed epiccurious closed 8 months ago

epiccurious commented 1 year ago

Running the script while installing system updates throws an error: E: Could not get lock /var/lib/apt/lists/lock. It is held by process #### (aptd)

Need to handle the exception and exit 1 when the lock exists.

epiccurious commented 1 year ago

https://askubuntu.com/questions/335794/could-not-get-lock-var-lib-apt-lists-lock

epiccurious commented 8 months ago

Resolved with #45. No longer running apt in the script.