Bug 45335 - errata component repository fails until first errata is published
errata component repository fails until first errata is published
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 4.3
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-06 17:39 CEST by Arvid Requate
Modified: 2021-06-11 09:47 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
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 2017-09-06 17:39:01 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.
Comment 1 Arvid Requate univentionstaff 2017-09-06 17:45:51 CEST
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/
==============================================================================
Comment 2 Philipp Hahn univentionstaff 2018-06-28 15:40:19 CEST
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.
Comment 3 Stefan Gohmann univentionstaff 2018-06-28 15:44:29 CEST
(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.
Comment 4 Ingo Steuwer univentionstaff 2021-05-14 15:42:01 CEST
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.
Comment 5 Philipp Hahn univentionstaff 2021-06-11 09:47:32 CEST
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.