I just tried to update our UCS Master DC installation. However it fails with the following:
Prior to upgrading I removed ODOO from this server and installed it on another one. There was no errors during the uninstall of ODOO on this UCS System or any during the reinstall of ODOO on another UCS system.
##################################### From /var/log/univention/updater.log #################################
Starting univention-upgrade. Current UCS version is 4.0-3 errata320
Checking for local repository: none
Checking for release updates: none
Checking for package updates: found
The following packages will be REMOVED:
odoo
The following packages will be upgraded:
e2fslibs,e2fsprogs,libcomerr2,libss2,slapd,ldap-utils,libldap-2.4-2,libcupsimage2,libcups2,libgd2-xpm,samba-dsdb-modules,libwbclient0,winbind,samba,samba-common-bin,smbclient,samba-common,samba-vfs-modules,libsmbclient,python-samba,samba-libs,firefox-en,univention-errata-level,univention-samba4,univention-samba4-sysvol-sync
Starting dist-update at Wed Sep 23 09:34:04 2015…
Starting package upgrade Reading package lists…
Building dependency tree…
Reading state information…
The following packages will be REMOVED:
odoo
The following packages will be upgraded:
e2fslibs e2fsprogs firefox-en ldap-utils libcomerr2 libcups2 libcupsimage2
libgd2-xpm libldap-2.4-2 libsmbclient libss2 libwbclient0 python-samba samba
samba-common samba-common-bin samba-dsdb-modules samba-libs
samba-vfs-modules slapd smbclient univention-errata-level univention-samba4
univention-samba4-sysvol-sync winbind
25 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/66.6 MB of archives.
After this operation, 275 MB disk space will be freed.
WARNING: The following packages cannot be authenticated!
e2fslibs e2fsprogs libcomerr2 libss2 slapd ldap-utils libldap-2.4-2
libcupsimage2 libcups2 libgd2-xpm samba-dsdb-modules libwbclient0 winbind
samba samba-common-bin smbclient samba-common samba-vfs-modules libsmbclient
python-samba samba-libs firefox-en univention-errata-level univention-samba4
univention-samba4-sysvol-sync
Preconfiguring packages …
Authentication warning overridden.
(Reading database … 165897 files and directories currently installed.)
Removing odoo …
NOTICE: database “odoo8_bak” does not exist, skipping
Rename database to odoo8_bak…
ERROR: database “odoo8” does not exist
dpkg: error processing odoo (–remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
odoo
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
apt-get autoremove also fails:
################### apt-get autoremove output #####################################
root@bebucsmdc1:~# apt-get autoremove
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages will be REMOVED:
odoo
0 upgraded, 0 newly installed, 1 to remove and 25 not upgraded.
1 not fully installed or removed.
After this operation, 285 MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database … 165897 files and directories currently installed.)
Removing odoo …
NOTICE: database “odoo8_bak” does not exist, skipping
Rename database to odoo8_bak…
ERROR: database “odoo8” does not exist
dpkg: error processing odoo (–remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
odoo
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any suggestions on how to fix this?