Univention Bugzilla – Bug 53059
univention-mariadb may get uninstalled when updating to UCS 5
Last modified: 2021-05-25 15:59:15 CEST
Bug 52957 put a breaks on the univention-mysql package into univention-role-common. In UCS 4, univention-mysql depends on univention-mariadb, but the app center installs u-mysql for apps which require such a database. When updating to UCS 5 u-mysql get removed, leaving u-mariadb as an automatically installed package without any package depending on it. Due to this package structure, this causes u-mariadb to get uninstalled with the apt-get autoremove in the UCS 5 postinst. This removes the mariadb integration, e.g. access from docker apps to the database. I suggest to check in the UCS 5 preup if u-mysql and u-mariadb are installed, and mark u-mariadb as manually installed. The app center itself needs no additional change in UCS 5 as it already installs u-mariadb.
Better reopen Bug #52957 in this case.
apt-mark manual univention-mariadb in preup.sh univention-updater 15.0.3-37A~5.0.0.202104141206
Works, UCS-5 changelog not required.
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".