Bug 57396 - UCS 5.2-0 DVD iso cannot be build due to versioned package dependency of xserver-xorg on systemd
Summary: UCS 5.2-0 DVD iso cannot be build due to versioned package dependency of xser...
Status: NEW
Alias: None
Product: UCS
Classification: Unclassified
Component: General
Version: UCS 5.2
Hardware: Other Linux
: P5 normal
Target Milestone: ---
Assignee: UCS maintainers
QA Contact: UCS maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-20 12:48 CEST by Arvid Requate
Modified: 2024-06-20 21:21 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Customer ID:
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2024-06-20 12:48:40 CEST
In /var/univention/buildsystem2/apt/ucs_5.2-0/amd64/Packages{,.gz}

we currently have two versions of the package xserver-xorg-core-udeb listed:

Package: xserver-xorg-core-udeb
Architecture: amd64
Version: 2:21.1.7-3+deb12u5
[...]
Depends: [...], libudev1-udeb (>= 252.21), [...]

Package: xserver-xorg-core-udeb
Architecture: amd64
Version: 2:21.1.7-3+deb12u7
Depends: [...], libudev1-udeb (>= 252.23), [...]

The dvd tests in jenkins show that the latter is not installable, because bookworm currently only has libudev1-udeb (252.22-1~deb12u1). This breaks the dvd iso creation.

https://packages.debian.org/bookworm/libudev1-udeb

Looks like a package dependency issue upstream, but it's also curious that the apt/ucs_5.2-0/amd64/Packages* files list both versions.
Comment 1 Arvid Requate univentionstaff 2024-06-20 13:22:45 CEST
/mnt/build-storage/upstream/debian/dists/bookworm/main/debian-installer/binary-amd64/Packages.gz contains

Package: xserver-xorg-core-udeb
Source: xorg-server
Version: 2:21.1.7-3+deb12u5

and /mnt/build-storage/upstream/debian-security/dists/bookworm-security/main/debian-installer/binary-amd64/Packages.xz contains

Package: xserver-xorg-core-udeb
Source: xorg-server
Version: 2:21.1.7-3+deb12u7
Comment 2 Philipp Hahn univentionstaff 2024-06-20 13:24:27 CEST
apt/*/ may have multiple versions of a source/package only after importing some new packages; that might happen when you use `repo-copy-dsc` to copy a single Debian package or use `~phahn/REPOS/toolshed/REPO/repo-copy-scope` to copy back the released errata.

Afterwards you MUST
1. run `repo-apt-ftparchive` to re-create the Packages/Sources files to include ALL files
2. run `repo-apt-dedeup -s [-d]` to then delete the old packages

`repo-debmirror` already runs `repo-apt-ftparchive` internally, but NOT 2. — you have to do that on your own.

Why: Because `repo-apt-dedup` deletes files and it might delete multiple GiB if things go wrong; therefore it is not invoked automatically but requires running it manually.
Comment 3 Arvid Requate univentionstaff 2024-06-20 21:21:46 CEST
Philipp also explained: The source package https://tracker.debian.org/pkg/systemd is from "stable-proposed-updates", not yet released as part of Debian stable. It should get released in something like ~1W as 12.6.

xserver-xorg ( https://tracker.debian.org/pkg/xorg-server ) is also in stable-p-u, but already released as part of "stable-security" (stable-sec) and so it's already public.

Since the Debian project builds ISOs only for releases, it's okay for Debian, to release the µDeb (udeb) already earlier and delay the update of systemd till the next PU, it's enough to reach consistency at that point.