← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1884915] Re: ubuntustudio-default-settings recommends linux-lowlatency thus breaking ubuntustudio focal image building

 

I fixed it in groovy, Iain. If you'd like, I can fix it in focal as part
of this SRU.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to ubuntustudio-meta in Ubuntu.
Matching subscriptions: UbuntuStudioPackages
https://bugs.launchpad.net/bugs/1884915

Title:
  ubuntustudio-default-settings recommends linux-lowlatency thus
  breaking ubuntustudio focal image building

Status in live-build package in Ubuntu:
  Invalid
Status in livecd-rootfs package in Ubuntu:
  Confirmed
Status in ubuntustudio-default-settings package in Ubuntu:
  Fix Released
Status in ubuntustudio-meta package in Ubuntu:
  Invalid
Status in live-build source package in Focal:
  Invalid
Status in livecd-rootfs source package in Focal:
  Confirmed
Status in ubuntustudio-default-settings source package in Focal:
  Confirmed
Status in ubuntustudio-meta source package in Focal:
  Invalid
Status in live-build source package in Groovy:
  Invalid
Status in livecd-rootfs source package in Groovy:
  Won't Fix
Status in ubuntustudio-default-settings source package in Groovy:
  Fix Released
Status in ubuntustudio-meta source package in Groovy:
  Invalid

Bug description:
  [ Description ]

  ubuntustudio-default-settings recommends linux-lowlatency thus
  breaking ubuntustudio focal image building

  $ reverse-depends linux-lowlatency
  Reverse-Recommends
  * ubuntustudio-lowlatency-settings

  Reverse-Depends
  * linux-lowlatency-hwe-18.04 [amd64]
  * linux-lowlatency-hwe-18.04-edge [amd64]

  Packages without architectures listed are reverse-dependencies in:
  amd64, arm64, armhf, i386, ppc64el, s390x

  Seeded packages in the Ubuntu archive must not depend on the linux
  kernel. Installation, and defaultness of a kernel flavour must be
  handled externally using livecd-rootfs kernel flavour picking, or some
  other dynamic configuration.

  The above resulted in transitevely linux-lowlatency packages getting
  pulled into the ubuntustudio task, without a blacklist. Which means
  that ABI encoded packages gain Task: ubuntustudio-desktop, and instead
  of only installing/tracking the latest kernel, the ancient
  5.4.0-16-lowlatency abi is also installed, and then production of
  daily focal isos fails, as there are two lowlatency kernels on the
  media.

  [ Fix ]

  The above description indicates what broke. The recommends means that
  the Task field contains a specific kernel ABI. We'll fix this by
  enumerating the packages that we need to ensure aren't included, and
  make sure they are effectively considered as not part of the task.

  [ QA ]

  Build an ubuntustudio/focal ISO with the -proposed livecd-rootfs and
  make sure that it builds successfully and boots.

  [ Regression potential ]

  This is about excluding kernel-related packages from the task
  consideration. If it is wrong then they could be excluded from the
  image completely. That should be obvious if the thing doesn't boot,
  and we'll have to iterate again.

  [ Original description ]

  $ reverse-depends linux-lowlatency
  Reverse-Recommends
  * ubuntustudio-lowlatency-settings

  Reverse-Depends
  * linux-lowlatency-hwe-18.04 [amd64]
  * linux-lowlatency-hwe-18.04-edge [amd64]

  Packages without architectures listed are reverse-dependencies in:
  amd64, arm64, armhf, i386, ppc64el, s390x

  $ apt-cache show -a linux*lowlatency | grep -e Package -e Task
  ...
  Package: linux-headers-5.4.0-26-lowlatency
  Task: ubuntustudio-desktop
  ...

  If the dependency is desired, that is ok, as long as the abi encoded
  packages are blacklisted in the seed similar to the !linux-image-*
  stanza.

  see https://launchpad.net/~ubuntu-
  cdimage/+livefs/ubuntu/focal/ubuntustudio/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/live-build/+bug/1884915/+subscriptions


References