Univention Bugzilla – Bug 45335
errata component repository fails until first errata is published
Last modified: 2021-06-11 09:47:32 CEST
We published the first Errata for UCS 4.2-2 today: http://errata.software-univention.de/ucs/4.2/158.html http://errata.software-univention.de/ucs/4.2/159.html They only ship architecture-independend packages. On a UCS 4.2-2 system this leads to the situation that the updater code just includes the "all" repository: =========================================================================== root@master10:~# cat /etc/apt/sources.list.d/20_ucs-online-component.list #Warning: This file is auto-generated and might be overwritten by # univention-config-registry. # Please edit the following file(s) instead: #Warnung: Diese Datei wurde automatisch generiert und kann durch # univention-config-registry überschrieben werden. # Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en): # # /etc/univention/templates/files/etc/apt/sources.list.d/20_ucs-online-component.list # deb http://univention-repository.knut.univention.de/4.2/maintained/component/ 4.2-2-errata/all/ deb http://univention-repository.knut.univention.de/4.1/maintained/component/ 4.1-4-errata/all/ deb http://univention-repository.knut.univention.de/4.1/maintained/component/ 4.1-4-errata/amd64/ =========================================================================== The may lead to problems when a future errata-release publishes packages with an unfortunate dependency between "all" und "$(ARCH)" binary packages.
Same with external repo: ============================================================================== root@master10:~# cat /etc/apt/sources.list.d/20_ucs-online-component.list #Warning: This file is auto-generated and might be overwritten by # univention-config-registry. # Please edit the following file(s) instead: #Warnung: Diese Datei wurde automatisch generiert und kann durch # univention-config-registry überschrieben werden. # Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en): # # /etc/univention/templates/files/etc/apt/sources.list.d/20_ucs-online-component.list # # Configuration error: component not found: 4.2-2-errata deb http://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/all/ deb http://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/amd64/ root@master10:~# ucr commit /etc/apt/sources.list.d/20_ucs-online-component.list File: /etc/apt/sources.list.d/20_ucs-online-component.list root@master10:~# cat /etc/apt/sources.list.d/20_ucs-online-component.list #Warning: This file is auto-generated and might be overwritten by # univention-config-registry. # Please edit the following file(s) instead: #Warnung: Diese Datei wurde automatisch generiert und kann durch # univention-config-registry überschrieben werden. # Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en): # # /etc/univention/templates/files/etc/apt/sources.list.d/20_ucs-online-component.list # deb http://updates.software-univention.de/4.2/maintained/component/ 4.2-2-errata/all/ deb http://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/all/ deb http://updates.software-univention.de/4.1/maintained/component/ 4.1-4-errata/amd64/ ==============================================================================
Changing the subject as it is not `all` / `$ARCH` specific: Just after the release of a UCS release there is no errata component repository yet. As such `/etc/apt/sources.list.d/20_ucs-online-component.list` contains `Configuration error: component not found: 4.Y-Z-errata` until something `ucr commits` that file. Until then `apt update` will never pick up any errata. I have not checked what triggers a commit as nobody has complained so far.
(In reply to Philipp Hahn from comment #2) > I have not checked what triggers a commit as nobody has complained so far. univention-upgrade triggers a commit.
This issue has been filed against UCS 4.3. UCS 4.3 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.
The repository layout has changed since UCS-5 and errata500 is available from start. For UCS-4 we adapted our release process to also create an empty component/5.0-0-errata.