[Bug 2033700] [NEW] livecd-rootfs should replicate apt preferences from the host environment at image build time
Steve Langasek
2033700 at bugs.launchpad.net
Thu Aug 31 23:04:40 UTC 2023
Public bug reported:
Now that -proposed has NotAutomatic: yes set, packages are not pulled in
from -proposed unless explicitly requested by version number on the apt
commandline, or if the priority of (packages in) the pocket is changed
via apt preferences.
When livecd-rootfs autopkgtests are run on autopkgtest.ubuntu.com, we
will typically request a particular package from -proposed be installed
but install all other packages from the release pocket. This
configuration applies to the host environment, but packages within the
target chroot will still be pulled only from the release pocket.
A recent snapd update triggered a test of livecd-rootfs. However, the
test failed because the snapd used *within* the target squashfs for
preseeding was the version from the release pocket - and the snapd
update was a cherry-pick specifically to fix a regression when building
images due to changes to the seed which depended on specific snapd
features.
When we have a package pin for -proposed, we should use that pin both in
the host environment (used for e.g. selecting different versions of
livecd-rootfs itself), but also in the target chroot.
The package pins must be cleared from the final image.
** Affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
** Tags: rls-mm-incoming
** Tags added: rls-mm-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2033700
Title:
livecd-rootfs should replicate apt preferences from the host
environment at image build time
Status in livecd-rootfs package in Ubuntu:
New
Bug description:
Now that -proposed has NotAutomatic: yes set, packages are not pulled
in from -proposed unless explicitly requested by version number on the
apt commandline, or if the priority of (packages in) the pocket is
changed via apt preferences.
When livecd-rootfs autopkgtests are run on autopkgtest.ubuntu.com, we
will typically request a particular package from -proposed be
installed but install all other packages from the release pocket.
This configuration applies to the host environment, but packages
within the target chroot will still be pulled only from the release
pocket.
A recent snapd update triggered a test of livecd-rootfs. However, the
test failed because the snapd used *within* the target squashfs for
preseeding was the version from the release pocket - and the snapd
update was a cherry-pick specifically to fix a regression when
building images due to changes to the seed which depended on specific
snapd features.
When we have a package pin for -proposed, we should use that pin both
in the host environment (used for e.g. selecting different versions of
livecd-rootfs itself), but also in the target chroot.
The package pins must be cleared from the final image.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2033700/+subscriptions
More information about the foundations-bugs
mailing list