Bug 53429 - Using a dvd (iso) to initialize or update a local package repository has been deprecated
Using a dvd (iso) to initialize or update a local package repository has been...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Update - univention-updater
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0-0-errata
Assigned To: Jürn Brodersen
Philipp Hahn
:
Depends on: 53228
Blocks:
  Show dependency treegraph
 
Reported: 2021-06-10 10:37 CEST by Jürn Brodersen
Modified: 2021-06-29 09:12 CEST (History)
0 users

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):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jürn Brodersen univentionstaff 2021-06-10 10:37:11 CEST
Using a dvd (iso) to initialize or update a local package repository has been deprecated

The following needs to be changed:
- univention-repository-create: needs to work without a dvd
- univention-repository-update: remove support for update from dvd
- misc univention-updater: remove leftover dvd support
- manual: remove from manual
Comment 1 Jürn Brodersen univentionstaff 2021-06-10 11:02:36 CEST
https://git.knut.univention.de/univention/ucs/-/merge_requests/105

TODO:
cangelog
yaml
Comment 2 Jürn Brodersen univentionstaff 2021-06-14 16:50:33 CEST
yaml and changelog have been added

Please reopen when ready for merge
Comment 3 Philipp Hahn univentionstaff 2021-06-15 10:05:29 CEST
Please merge with one minor change to the .yaml
Comment 4 Jürn Brodersen univentionstaff 2021-06-15 13:27:22 CEST
Merged:
[5.0-0 1a404d68ae] Bug #53429: Remove iso from repo create
[5.0-0 532cffddd2] Bug #53429: Remove security repo
[5.0-0 41170a75ba] Bug #53429: Secure apt now works
[5.0-0 47c4d91318] Bug #53429: Remove update cdrom from updater
[5.0-0 0b5075939c] Bug #53429: Update docu
[5.0-0 80661a8741] Bug #53429: yaml
[5.0-0 0c8a0fa277] Bug #53429: changelog
[5.0-0 5e699f4db6] Bug #53429: yaml

Package: univention-updater
Version: 15.0.3-67A~5.0.0.202106151102
Branch: ucs_5.0-0
Scope: errata5.0-0
Comment 5 Philipp Hahn univentionstaff 2021-06-22 13:49:36 CEST
OK: apt install -t apt univention-updater
OK: univention-repository-create
OK: curl http://localhost/univention-repository/ucs-releases.json
OK: /etc/apt/sources.list.d/15_ucs-online-version.list
FIXED: /etc/apt/sources.list.d/20_ucs-online-component.list
  created before ucs-release.json was available
> univention.updater.errors.ConfigurationError: Configuration error: non-existing prefix "/univention-repository/": http://m38.qa50.pmh/univention-repository/ucs-releases.json
OK: apt update -qq
OK: apt install vim-nox
OK: univention-repository-update net
OK: less /var/log/univention/repository.log
FIXED: /var/lib/univention-repository/var/clean.sh
  need to ignore ucs-releases.json
  → sed -e 's/releases.json/ucs-&/' -i patches/apt-mirror/5.0-0-0-ucs/0.5.4-1-errata5.0-0/0005-Bug-17838-Bug-39582-Protect-UCS-updater-scripts-from.quilt

[5.0-0] 6b32a48db7 fix[up]: commit 20_ucs-online-components.list
 base/univention-updater/modules/univention/updater/scripts/repo_create.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Package: univention-updater
Version: 15.0.3-67A~5.0.0.202106221307
Branch: ucs_5.0-0
Scope: errata5.0-0

[5.0-0] ff183f2a50 Bug #53429: univention-updater 15.0.3-67A~5.0.0.202106221307
 doc/errata/staging/univention-updater.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

r19386 | fix[apt-mirror]: ucs-releases.json
r83160 | Bug #53429[5.0-0]: Add apt-mirror
FIXED: https://jenkins.knut.univention.de:8181/job/Mitarbeiter/job/phahn/job/CalculateMaintained/

[5.0-0] 7945a8cceb Bug #53429: apt-mirror 0.5.4-1A~5.0.0.202106221316
 doc/errata/staging/apt-mirror.yaml         | 11 +++++++++++
 doc/errata/staging/univention-updater.yaml |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)

OK: apt install -t apt apt-mirror
OK: apt-mirror
OK: /var/lib/univention-repository/var/clean.sh
Comment 7 Philipp Hahn univentionstaff 2021-06-29 09:12:23 CEST
[5.0-0] 434197587b doc[pxe]: Update PXE installation
 doc/extended-docs/installation-5.0.xml | 58 +++++++++++++++++++++++++++++-------------------------
 1 file changed, 31 insertions(+), 27 deletions(-)