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

Disable/remove unattended upgrades #22

Open
phlax opened this issue Mar 18, 2023 · 2 comments
Open

Disable/remove unattended upgrades #22

phlax opened this issue Mar 18, 2023 · 2 comments

Comments

@phlax
Copy link
Member

phlax commented Mar 18, 2023

the AMI images have unattended upgrades set it seems - which can lead to an error like:

E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 4587 (unattended-upgr)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

in this particular case there is no need to install anything anyway - but i would guess that this is slowing things down, soaking net io and generally being undesirable - and we should be able to install without it failing

@phlax
Copy link
Member Author

phlax commented Mar 18, 2023

this makes me wonder what else is running on these AMIs and whether there is a more lightweight base image we could use that doesnt do this kind of thing - if its a "server" install its probably set up to serve php or similar

@mum4k
Copy link
Collaborator

mum4k commented Mar 20, 2023

+1 for using a simpler base image.

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

No branches or pull requests

2 participants