[Bug 1921862] Re: Call germinate with -updates
Jean-Baptiste Lallement
1921862 at bugs.launchpad.net
Thu May 20 13:15:05 UTC 2021
We tried the workaround to add the packages as dependencies of Ubiquity
and rebuilding an ISO with the new Ubiquity and the dependencies pulled
automatically. Unfortunately, the result is not what is expected.
The packages are installed in the live session and the target file system.
AD is configured by Ubiquity as expected during installation.
The packages are marked to be kept after installation.
But at the end of the installation, the packages are removed then
reinstalled by the installer. As a consequence the configuration done
during installation is reset.
We tried to modify script/plugininstall.py and scripts/install.py to
force keep the packages by they are still considered garbage by apt and
removed.
Finally we added a list of packages to keep so they are not considered
to "autopurge" by Ubiquity, the packages are kept as expected by not
their dependencies even if they are strong one. The resulting
installation is completely inconsistent. Using this approach would mean
to manually calculate the list of dependencies of the packages to keep
and mark them as keep. This is clearly not something maintainable.
--
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/1921862
Title:
Call germinate with -updates
Status in livecd-rootfs package in Ubuntu:
Triaged
Status in livecd-rootfs source package in Focal:
Triaged
Bug description:
In auto/config germinate is called with the release pocket only:
(cd config/germinate-output && germinate --no-rdepends --no-installer \
-S $SEEDMIRROR -m $MIRROR -d $SUITE -s $SEED \
${COMPONENTS:+-c "$COMPONENTS"} -a $ARCH)
In LTSes some packages are in universe in the release pocket and in
main in the update pocket.
For example in focal:
$ rmadison -s focal,focal-updates realmd adcli
realmd | 0.16.3-3 | focal/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
realmd | 0.16.3-3 | focal-updates | source, amd64, arm64, armhf, i386, ppc64el, riscv64, s390x
adcli | 0.9.0-1 | focal/universe | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
adcli | 0.9.0-1 | focal-updates | i386
adcli | 0.9.0-1ubuntu0.20.04.1 | focal-updates | source, amd64, arm64, armhf, ppc64el, riscv64, s390x
When these packages are seeded but they have no reverse dependencies,
for instances seeded in the live seed and only main and restricted are
considered (for Ubuntu) then these packages are ignored (unknown) by
germinate and not added to the live session.
Here is an excerpt from the build log of Focal Ubuntu Deskop
(https://launchpadlibrarian.net/530408277/buildlog_ubuntu_focal_amd64_ubuntu_BUILDING.txt.gz)
Downloading http://ftpmaster.internal/ubuntu/dists/focal/main/binary-amd64/Packages.xz file ...
Decompressing http://ftpmaster.internal/ubuntu/dists/focal/main/binary-amd64/Packages.xz file ...
Downloading http://ftpmaster.internal/ubuntu/dists/focal/main/source/Sources.xz file ...
Decompressing http://ftpmaster.internal/ubuntu/dists/focal/main/source/Sources.xz file ...
Downloading http://ftpmaster.internal/ubuntu/dists/focal/restricted/binary-amd64/Packages.xz file ...
Decompressing http://ftpmaster.internal/ubuntu/dists/focal/restricted/binary-amd64/Packages.xz file ...
Downloading http://ftpmaster.internal/ubuntu/dists/focal/restricted/source/Sources.xz file ...
Decompressing http://ftpmaster.internal/ubuntu/dists/focal/restricted/source/Sources.xz file ...
* Downloading http://archive-team.internal/seeds/ubuntu.focal/STRUCTURE
[...]
! Duplicated seed: ntfs-3g
? Unknown live package: realmd
? Unknown live package: adcli
! Duplicated seed: dirmngr
[...]
Germinate should be called with "-d ${SUITE},${SUITE}-updates" to consider both pockets.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1921862/+subscriptions
More information about the foundations-bugs
mailing list