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

Kill unattended upgrades, to avoid apt-get failures #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luke-jr
Copy link
Contributor

@luke-jr luke-jr commented Aug 23, 2018

Ubuntu Bionic tries to upgrade the system at boot by default, which breaks gitian's usage of apt-get.

Ubuntu Bionic tries to upgrade the system at boot by default, which breaks gitian's usage of apt-get.
@luke-jr luke-jr requested a review from devrandom as a code owner August 23, 2018 06:30
@devrandom
Copy link
Owner

devrandom commented Aug 24, 2018

shouldn't we just uninstall unattended-upgrades during the VM build process?

@luke-jr
Copy link
Contributor Author

luke-jr commented Aug 24, 2018

Uninstalling it still requires doing this first (since apt-get remove may fail due to a running unattended upgrade..)

@devrandom
Copy link
Owner

vmbuilder has the --removepkg flag, which executes without the VM actually starting.

@devrandom
Copy link
Owner

(invoked from make-base-vm)

@luke-jr
Copy link
Contributor Author

luke-jr commented Aug 24, 2018

Ah, well, the root of the problem that got me here is that vmbuilder doesn't work with bionic...

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 this pull request may close these issues.

2 participants