artefactual-labs / am-packbuild

Archivematica package building scripts
GNU General Public License v2.0
4 stars 6 forks source link

Automatic apt refresh no longer working in Ubuntu 20.04 #275

Open sbreker opened 4 years ago

sbreker commented 4 years ago

There is code in update.sh that will refresh the apt cache on boot of the VM:

https://github.com/artefactual-labs/am-packbuild/blob/stable/1.11.x/packer/scripts/ubuntu/update.sh#L18-L24

Since Upstart is no longer installed by default in Ubuntu 20.04, the /etc/init directory is no longer present and writing the file to this location fails.