Monday, 23 November 2026

changes to priority tracking / mismatches

Hi all,

For background, the "priority" I'm talking about here is the Priority field in the package list, e.g. the "Priority: required" in something like:

Package: util-linux
Version: 2.41.3-3ubuntu2.2
Priority: required <--- HERE
Essential: yes
Section: utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Chris Hofstaedtler <zeha@debian.org>
...

The property values are documented for Debian at https://www.debian.org/doc/debian-policy/ch-archive.html#priorities, although for Ubuntu we only care about required and important.

It used to be a requirement that no package depended on a package of lower priority, partly because bootstrapping tools like debootstrap did not process dependencies: the would just download all packages of priority required (for minbase variant) or priority required and important (for the others). This hasn't been true for a long time now though, and Debian dropped this requirement on priority back in 2017.

Ubuntu uses seeds to define priority required and important, and we have a report called "priority mismatches" (https://static-reports.ubuntu.com/mismatches/priority-mismatches.html) that checked that all the packages in those seeds and their dependencies have the expected priority. Yesterday we merged an https://code.launchpad.net/~mwhudson/ubuntu-archive-tools/+git/ubuntu-archive-tools/+merge/515103 that catches up with the Debian policy change by dropping the "and their dependencies" bit from the checks.

This obviously resulted in hundreds of packages having an uncessarily high priority, and I've just lowered these packages priority to optional.

After all this, I really don't expect all this to make much difference to anyone, but there is a chance that it will have some unexpected effects on image builds. Hopefully not but let me know if anything happens :-)

Cheers,
mwh

-- ubuntu-devel mailing list ubuntu-devel@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel