Well… I think my primary is now borked trying to upgrade to 5.0-3.
I can’t log into the web-console anymore, and I have no clue where to start looking.
Here is the log file starting from the first error during the upgrade, and the second attempt.
Preparing to unpack .../87-univention-maintenance_12.0.2-1A~5.0.0.202302032005_all.deb ...
Unpacking univention-maintenance (12.0.2-1A~5.0.0.202302032005) over (12.0.0-1A~5.0.0.202010051724) ...
dpkg: error processing archive /tmp/apt-dpkg-install-COIBRc/87-univention-maintenance_12.0.2-1A~5.0.0.202302032005_all.deb (--unpack):
error setting ownership of '/var/univention-backup/etc.dpkg-new': Operation not permitted
File: /etc/logrotate.d/univention-maintenance
File: /etc/cron.d/univention-system-stats
Preparing to unpack .../88-univention-nfs-server_12.0.2-2A~5.0.0.202302061642_all.deb ...
Unpacking univention-nfs-server (12.0.2-2A~5.0.0.202302061642) over (12.0.1-2A~5.0.0.202103301430) ...
Preparing to unpack .../89-univention-firewall_12.0.1-1A~5.0.0.202302032013_all.deb ...
Unpacking univention-firewall (12.0.1-1A~5.0.0.202302032013) over (12.0.0-2A~5.0.0.202010061344) ...
Errors were encountered while processing:
/tmp/apt-dpkg-install-COIBRc/87-univention-maintenance_12.0.2-1A~5.0.0.202302032005_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: Failed to execute "apt-get -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-overwrite -o DPkg::Options::=--force-overwrite-dir --trivial-only=no --assume-yes --quiet=1 -u dist-upgrade"
exitcode of univention-updater: 1
ERROR: update failed. Please check /var/log/univention/updater.log
Starting univention-upgrade. Current UCS version is 5.0-2 errata594
Checking for local repository: none
Checking for package updates: found
The following packages will be upgraded:
univention-maintenance,univention-server-master,univention-role-server-common,univention-role-common,univention-bind,univention-directory-manager-rest,python3-univention-directory-manager-rest-client,python3-univention-directory-reports,univention-directory-reports,univention-management-console-module-udm,python3-univention-directory-manager-rest,univention-directory-notifier,univention-ldap-config-master,univention-management-console-module-ipchange,univention-management-console-module-welcome,tzdata,distro-info-data,git-man,git,libopenexr23,libunivention-ldb-modules,postgresql-common,postgresql-client-common,python3-univention-appcenter-docker,univention-samba-local-config,univention-samba4,univention-samba4-sysvol-sync,univention-s4-connector,python3-univention-connector-s4,univention-group-membership-cache,python3-univention-group-membership-cache,univention-portal,python3-univention-portal,sysstat,univention-appcenter-docker,univention-management-console-module-adtakeover,univention-printclient,univention-printserver,univention-management-console-module-printers,univention-management-console-module-quota,univention-mariadb,univention-monitoring-client,univention-monitoring-plugins,univention-monitoring-cups,univention-monitoring-s4-connector,univention-monitoring-samba,univention-nagios-client,univention-nagios-common,univention-nagios-samba,univention-postgresql,univention-self-service-passwordreset-umc,univention-self-service,univention-self-service-invitation,univention-self-service-master,univention-server-overview,univention-sudo
Starting univention-upgrade. Current UCS version is 5.0-2 errata594
Starting dist-update at Sun Feb 26 17:13:00 2023...
Starting package upgrade Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
distro-info-data git git-man libopenexr23 libunivention-ldb-modules
postgresql-client-common postgresql-common
python3-univention-appcenter-docker python3-univention-connector-s4
python3-univention-directory-manager-rest
python3-univention-directory-manager-rest-client
python3-univention-directory-reports
python3-univention-group-membership-cache python3-univention-portal sysstat
tzdata univention-appcenter-docker univention-bind
univention-directory-manager-rest univention-directory-notifier
univention-directory-reports univention-group-membership-cache
univention-ldap-config-master univention-maintenance
univention-management-console-module-adtakeover
univention-management-console-module-ipchange
univention-management-console-module-printers
univention-management-console-module-quota
univention-management-console-module-udm
univention-management-console-module-welcome univention-mariadb
univention-monitoring-client univention-monitoring-cups
univention-monitoring-plugins univention-monitoring-s4-connector
univention-monitoring-samba univention-nagios-client
univention-nagios-common univention-nagios-samba univention-portal
univention-postgresql univention-printclient univention-printserver
univention-role-common univention-role-server-common univention-s4-connector
univention-samba-local-config univention-samba4
univention-samba4-sysvol-sync univention-self-service
univention-self-service-invitation univention-self-service-master
univention-self-service-passwordreset-umc univention-server-master
univention-server-overview univention-sudo
Preconfiguring packages ...
56 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
101 not fully installed or removed.
Need to get 0 B/14.1 MB of archives.
After this operation, 325 kB of additional disk space will be used.
Setting up python-univention-namespace (13.0.3-1A~5.0.0.202302031951) ...
Setting up python-univention-debhelper (2.0.1-1A~5.0.0.202302031919) ...
Setting up python-univention-config-registry (15.0.10-1A~5.0.0.202302031924) ...
Setting up libunivention-debug1 (12.0.2-1A~5.0.0.202302031912) ...
Setting up python-univention-debug (12.0.2-1A~5.0.0.202302031926) ...
Setting up python-univention (13.0.3-1A~5.0.0.202302031951) ...
Setting up python-univention-lib (9.0.14-2A~5.0.0.202302061604) ...
Setting up python3-univention-debhelper (2.0.1-1A~5.0.0.202302031919) ...
Setting up python3-univention-config-registry (15.0.10-1A~5.0.0.202302031924) ...
Setting up python3-univention-debug (12.0.2-1A~5.0.0.202302031926) ...
Setting up python3-univention (13.0.3-1A~5.0.0.202302031951) ...
Setting up python3-univention-lib (9.0.14-2A~5.0.0.202302061604) ...
Installing new version of config file /etc/univention/registry.info/variables/python3-univention-lib.cfg ...
Not updating listener/shares/whitelist/defaults
Not updating listener/shares/whitelist/opsi4ucs
Not updating listener/shares/whitelist/univention-printserver-pdf
Not updating listener/shares/whitelist/ucs-school-import
Not updating listener/shares/whitelist/italc-windows
Setting up univention-config (15.0.10-1A~5.0.0.202302031924) ...
Setting up univention-ldap-client (16.0.12-1A~5.0.0.202302071406) ...
Installing new version of config file /etc/univention/templates/files/etc/ldap/ldap.conf ...
File: /etc/ldap/ldap.conf
(Reading database ... 139846 files and directories currently installed.)
Preparing to unpack .../univention-maintenance_12.0.2-1A~5.0.0.202302032005_all.deb ...
Unpacking univention-maintenance (12.0.2-1A~5.0.0.202302032005) over (12.0.0-1A~5.0.0.202010051724) ...
dpkg: error processing archive /var/cache/apt/archives/univention-maintenance_12.0.2-1A~5.0.0.202302032005_all.deb (--unpack):
error setting ownership of '/var/univention-backup/etc.dpkg-new': Operation not permitted
File: /etc/logrotate.d/univention-maintenance
File: /etc/cron.d/univention-system-stats
Errors were encountered while processing:
/var/cache/apt/archives/univention-maintenance_12.0.2-1A~5.0.0.202302032005_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
exitcode of apt-get dist-upgrade: 100
ERROR: update failed. Please check /var/log/univention/updater.log