We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
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.
exit 1
The text was updated successfully, but these errors were encountered:
https://askubuntu.com/questions/335794/could-not-get-lock-var-lib-apt-lists-lock
Sorry, something went wrong.
Resolved with #45. No longer running apt in the script.
Successfully merging a pull request may close this issue.
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.The text was updated successfully, but these errors were encountered: