gitian-builder icon indicating copy to clipboard operation
gitian-builder copied to clipboard

Kill unattended upgrades, to avoid apt-get failures

Open luke-jr opened this issue 6 years ago • 5 comments

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

luke-jr avatar Aug 23 '18 06:08 luke-jr

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

devrandom avatar Aug 24 '18 05:08 devrandom

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

luke-jr avatar Aug 24 '18 05:08 luke-jr

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

devrandom avatar Aug 24 '18 05:08 devrandom

(invoked from make-base-vm)

devrandom avatar Aug 24 '18 05:08 devrandom

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

luke-jr avatar Aug 24 '18 06:08 luke-jr