Univention Bugzilla – Bug 42433
apt-get clean after successful (!) update
Last modified: 2017-03-15 17:06:59 CET
Currently, the package cache is cleaned during univention-upgrade (/usr/share/univention-updater/univention-updater net) before the update is started. We should clean the cache after the update is finished successfully (postup). Why? If the update fails, the new sources.list list is removed. If univention-upgrade is restarted, the package cache is removed. Now one ends up with a half updated system unable to complete the upgrade unless manually adding apt sources for the new release.
univention-updater r76922 call apt-get clean after successful update in univention-updater/python/univention-updater merged to 4.2-0 staging/univention-updater.yaml r76923
Tests: OK, the packages are no longer removed before the update is started. Code review: OK 4.2 merge: OK YAML: OK
<http://errata.software-univention.de/ucs/4.1/407.html>