Call germinate with -updates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Won't Fix
|
Undecided
|
Unassigned | ||
Jammy |
Triaged
|
High
|
Unassigned |
Bug Description
In auto/config germinate is called with the release pocket only:
(cd config/
-S $SEEDMIRROR -m $MIRROR -d $SUITE -s $SEED \
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.
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:/
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
Downloading http://
Decompressing http://
* Downloading http://
[...]
! Duplicated seed: ntfs-3g
? Unknown live package: realmd
? Unknown live package: adcli
! Duplicated seed: dirmngr
[...]
Germinate should be called with "-d ${SUITE}
Related branches
- Colin Watson: Pending requested
- Ubuntu Package Archive Administrators: Pending requested
-
Diff: 205 lines (+65/-23)2 files modifiedlib/scripts/generate_extra_overrides.py (+21/-9)
tests/test_generate_extra_overrides.py (+44/-14)
- Steve Langasek: Approve
- Iain Lane: Needs Information
- Łukasz Zemczak: Pending requested
-
Diff: 12 lines (+1/-1)1 file modifiedlive-build/auto/config (+1/-1)
summary: |
- Call germinate with -updates too + Call germinate with -updates |
Changed in livecd-rootfs (Ubuntu): | |
status: | New → Triaged |
Changed in livecd-rootfs (Ubuntu Focal): | |
status: | New → Triaged |
milestone: | none → ubuntu-20.04.3 |
tags: | added: rls-ii-incoming |
tags: | added: fr-1399 |
tags: | removed: rls-ii-incoming |
Please see https:/ /code.launchpad .net/~laney/ ubuntu- archive- publishing/ updates/ +merge/ 402698
I believe this is the kind of thing we need to fix this problem properly, generating Task fields in the archive for -updates - currently that does not happen. See add_task() in livecd-rootfs for how they are used. There might be consequences to doing it that I've not thought of, so maybe this will take a while to land in the archive.
Some workarounds / alternatives which could be done instead, to solve the immediate problem
- Directly install the needed packages in livecd-rootfs (hardcoding)
- Make ubiquity or something else in the live task depend on them
- Add a new package ubuntu-live-meta (example name) generated from the live task and install this, make it work with the normal seed ./update script and then SRUs will pick it up. That's a more general variant on the previous item.