Skip to content
New issue

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

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

Closed
epiccurious opened this issue May 29, 2023 · 2 comments · Fixed by #45
Closed

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

epiccurious opened this issue May 29, 2023 · 2 comments · Fixed by #45

Comments

@epiccurious
Copy link
Owner

epiccurious commented May 29, 2023

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
Copy link
Owner Author

@epiccurious epiccurious linked a pull request Dec 2, 2023 that will close this issue
@epiccurious
Copy link
Owner Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant