Skip to content

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

Open
luke-jr wants to merge 1 commit into
devrandom:masterfrom
luke-jr:kill_unattended
Open

Kill unattended upgrades, to avoid apt-get failures#195
luke-jr wants to merge 1 commit into
devrandom:masterfrom
luke-jr:kill_unattended

Conversation

@luke-jr

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

Copy link
Copy Markdown
Contributor

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

devrandom commented Aug 24, 2018

Copy link
Copy Markdown
Owner

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

@luke-jr

luke-jr commented Aug 24, 2018

Copy link
Copy Markdown
Contributor Author

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

@devrandom

Copy link
Copy Markdown
Owner

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

@devrandom

Copy link
Copy Markdown
Owner

(invoked from make-base-vm)

@luke-jr

luke-jr commented Aug 24, 2018

Copy link
Copy Markdown
Contributor Author

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