Univention Bugzilla – Bug 44346
UCS 4.2 sources.list entry is missing if the upgrade fails
Last modified: 2017-06-20 07:20:20 CEST
If the release update fails, the sources.list entry for UCS 4.2 is removed. Afterwards, the preup.sh check shows messages, that the package status is inconsistent. Thus, the admin should run 'dpkg --configure -a' or 'apt-get -f install' which will have bad consequences if the UCS 4.2 sources.list entry has been removed. If the upgrade starts, we can save this info via UCR and can handle it in the next upgrade try and add the sources.list entry for this setup. I've heard from two failed upgrades which run 'apt-get -f install' without the UCS 4.2 sources.list entry.
FYI: Bug #44290 triggers a failed update easily, when the time in the VM is not synchronized. r79020 | Bug #44346 up: Pin tmporary sources list r79019 | Bug #44346 up: Save temporary sources list r79018 | Bug #44346 up: Remove unused temporary sources list functions r79021 | Bug #44346 up: Pin tmporary sources list Package: univention-updater Version: 12.0.10-5A~4.2.0.201705021724 Branch: ucs_4.2-0 r79022 | Bug #44346 up: Pin tmporary sources list YAML univention-updater.yaml
grep "Pin temporary sources li" /var/univention/buildsystem2/mirror/testing/4.2/maintained/4.2-0/all/preup.sh grep "Pin temporary sources li" /var/univention/buildsystem2/test_mirror/ftp/4.2/maintained/4.2-0/all/preup.sh Please add the preup/postup change to the 4.2-0 testing preup/postup scripts.
curl http://apt.knut.univention.de/4.2/maintained/4.2-0/all/preup.sh repo-ng-sign-release-file -i test_mirror/ftp/4.2/maintained/4.2-0/all/preup.sh -o test_mirror/ftp/4.2/maintained/4.2-0/all/preup.sh.gpg -k 6B8BFD3C -p /etc/archive-keys/ucs4.0.txt
OK - postup/preup, 00_ucs_update_in_progress.list is created in preup and removed in postup OK - univention-updater OK - YAML REOPEN * who copies the preup/postup scripts to the official server?
I copied the filed fro mirror/testing/ to mirror/ftp/. Will be published with the next "update_mirror.sh ftp/4.2/" call.
(In reply to Felix Botner from comment #8) > OK - postup/preup, 00_ucs_update_in_progress.list is created in preup and > removed > in postup > OK - univention-updater > OK - YAML > > REOPEN > * who copies the preup/postup scripts to the official server? OK
<http://errata.software-univention.de/ucs/4.2/24.html>