[Bug 1921862] Re: Call germinate with -updates

Iain Lane 1921862 at bugs.launchpad.net
Thu May 13 12:45:03 UTC 2021


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.

** Branch linked: lp:~laney/ubuntu-archive-publishing/updates

-- 
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