[Bug 1477626] Re: adt-setup-vm modifies cloud-init's conffile but doesn't handle dpkg conffile prompts
Launchpad Bug Tracker
1477626 at bugs.launchpad.net
Thu Aug 27 22:18:25 UTC 2015
** Branch linked: lp:debian/autopkgtest
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1477626
Title:
adt-setup-vm modifies cloud-init's conffile but doesn't handle dpkg
conffile prompts
Status in autopkgtest package in Ubuntu:
Fix Committed
Bug description:
This
if [ -e "$root/etc/cloud/cloud.cfg" ]; then
echo 'apt_preserve_sources_list: true' >> "$root/etc/cloud/cloud.cfg"
fi
modifies a conffile, and this
# upgrade, install some necessary packages
chroot "$root" apt-get update
[ "${ADT_SETUP_VM_UPGRADE:-}" = false ] || DEBIAN_FRONTEND=noninteractive chroot "$root" apt-get -y dist-upgrade
updates the system later on. If there's a new cloud-init at this point
we get a conffile prompt, as you can see here.
http://jenkins.qa.ubuntu.com/job/wily-adt-setup-
testbed/ARCH=i386,label=aldebaran-adt/63/console
This causes the script to bomb out, and eventually resulted in
https://jenkins.qa.ubuntu.com/view/Wily/view/AutoPkgTest/job/wily-adt-
udisks2/ARCH=amd64,label=adt/48/console
because -extra- wasn't installed (this happens later on in the
script).
I suppose we need to add force-conffoo to dpkg.cfg.d.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1477626/+subscriptions
More information about the foundations-bugs
mailing list