Bug 29633 - univention-repository-update net: UCS 4.0 zieht auch 3.0-Errata
univention-repository-update net: UCS 4.0 zieht auch 3.0-Errata
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - Repository administration
UCS 3.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Philipp Hahn
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-07 12:07 CET by Sönke Schwardt-Krummrich
Modified: 2016-01-20 13:24 CET (History)
3 users (show)

See Also:
What kind of report is it?: ---
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):
Max CVSS v3 score:
hahn: Patch_Available+


Attachments
Stop mirroring UCS-3.0 errata repositories (2.41 KB, patch)
2015-05-05 15:28 CEST, Philipp Hahn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2012-12-07 12:07:51 CET
Ein UCS 3.1-0-Repositoryserver wurde manuell auf UCS 4.0-0 gesetzt.
Anschließend wurde ein univention-repository-update net aufgerufen.
Der Upstream-Repo-Server enthält die 3.0-0 bis 3.1-0-Repos. Weiterhin ein 3.2-0 und ein 4.0-0 Repo.

Auf dem Ziel-Reposerver wurde UCS 4.0-0 sowie die Errata aus UCS 3.0-x repliziert.
Comment 1 Stefan Gohmann univentionstaff 2012-12-07 12:20:04 CET
Das ist doch richtig, oder? Wenn die Umgebung noch UCS 3 Systeme enthält, sollen auch die entsprechenden Pakete gezogen werden.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2012-12-07 12:42:02 CET
(In reply to comment #1)
> Das ist doch richtig, oder? Wenn die Umgebung noch UCS 3 Systeme enthält,
> sollen auch die entsprechenden Pakete gezogen werden.

Das System zog Updates ab UCS 4.0-0, aber Erratas ab 3.0-0.
Comment 3 Philipp Hahn univentionstaff 2014-12-01 14:38:41 CET
There are some hard-coded 3.0 errata repositories in /etc/univention/templates/files/etc/apt/mirror.list:

                print mirror.print_errata_repositories( clean = True, start = UCS_Version('3.0-0'), end = UCS_Version('3.0-2'), all_errata_updates = True )


Needs "if UCS_Version((3, 0, 0)) <= start < UCS_Version((3, 1, 0)):"
Comment 4 Philipp Hahn univentionstaff 2015-05-05 15:28:16 CEST
Created attachment 6872 [details]
Stop mirroring UCS-3.0 errata repositories
Comment 5 Stefan Gohmann univentionstaff 2015-12-02 13:48:13 CET
Requested again: Ticket #2015120221000201.
Comment 6 Philipp Hahn univentionstaff 2015-12-11 18:17:08 CET
r66221 | Bug #29633 updater: Stop mirroring UCS-3.0 errata repositories

Package: univention-updater
Version: 11.0.7-7.1437.201512111644
Branch: ucs_4.1-0
Scope: errata4.1-0

r66284 | Bug #40148 up: Fix https:// inheritance for components YAML
 univention-updater.yaml
Comment 7 Felix Botner univentionstaff 2015-12-17 14:20:12 CET
OK - with repository/mirror/version/start='3.0-0'

-> grep "3.0.*errata" /etc/apt/mirror.list
deb https://updates.software-univention.de/3.0/maintained/ errata1/all/
deb https://updates.software-univention.de/3.0/maintained/ errata2/amd64/
deb https://updates.software-univention.de/3.0/maintained/ errata3/all/
deb https://updates.software-univention.de/3.0/maintained/ errata3/amd64
...

OK - with repository/mirror/version/start > 3.0-0
-> grep "3.0.*errata" /etc/apt/mirror.list

OK - YAML
Comment 8 Janek Walkenhorst univentionstaff 2016-01-20 13:24:40 CET
<http://errata.software-univention.de/ucs/4.1/58.html>