UCS 4.0-2 Upgrade failure


#1

I have a UCS 4.0-1 installation that has run very reliably until a recent attempt to install the 4.0-2 update. The 4.0-1 installation also had docker installed as per the Univention wiki article:- http://wiki.univention.com/index.php?title=Docker

Attempting to install the 4.0-2 update using the UMC failed with errors referencing the docker package being in a bad & inconsistent state (appcentre log below). But not before removing univention-server-master, univention-management-console etc etc

13.05.15 08:59:30.806 MODULE ( PROCESS ) : Running dpkg 13.05.15 08:59:30.939 MODULE ( PROCESS ) : (Reading database ... 135290 files and directories currently installed.) 13.05.15 08:59:30.952 MODULE ( PROCESS ) : Removing univention-server-master ... 13.05.15 08:59:30.953 MODULE ( PROCESS ) : Removing univention-server-master 13.05.15 08:59:31.053 MODULE ( PROCESS ) : Preparing for removal of univention-server-master 13.05.15 08:59:31.185 MODULE ( PROCESS ) : Removing univention-server-master 13.05.15 08:59:31.237 MODULE ( PROCESS ) : Removed univention-server-master 13.05.15 08:59:31.265 MODULE ( PROCESS ) : Removing univention-management-console ... 13.05.15 08:59:31.265 MODULE ( PROCESS ) : Removing univention-management-console 13.05.15 08:59:31.265 MODULE ( PROCESS ) : Preparing for removal of univention-management-console 13.05.15 08:59:31.267 MODULE ( PROCESS ) : Removing univention-management-console 13.05.15 08:59:31.292 MODULE ( PROCESS ) : Removed univention-management-console 13.05.15 08:59:31.317 MODULE ( PROCESS ) : Removing univention-management-console-module-setup ... 13.05.15 08:59:31.317 MODULE ( PROCESS ) : Removing univention-management-console-module-setup 13.05.15 08:59:31.317 MODULE ( PROCESS ) : Preparing for removal of univention-management-console-module-setup 13.05.15 08:59:31.399 MODULE ( PROCESS ) : Removing univention-management-console-module-setup 13.05.15 08:59:31.435 MODULE ( PROCESS ) : Removed univention-management-console-module-setup 13.05.15 08:59:31.464 MODULE ( PROCESS ) : Removing univention-management-console-module-apps ... 13.05.15 08:59:31.464 MODULE ( PROCESS ) : Removing univention-management-console-module-apps 13.05.15 08:59:31.464 MODULE ( PROCESS ) : Preparing for removal of univention-management-console-module-apps 13.05.15 08:59:31.782 MODULE ( PROCESS ) : Removing univention-management-console-module-apps 13.05.15 08:59:31.812 MODULE ( PROCESS ) : Removed univention-management-console-module-apps 13.05.15 08:59:31.839 MODULE ( PROCESS ) : Removing univention-management-console-module-appcenter ... 13.05.15 08:59:31.840 MODULE ( PROCESS ) : Removing univention-management-console-module-appcenter 13.05.15 08:59:31.841 MODULE ( PROCESS ) : Preparing for removal of univention-management-console-module-appcenter 13.05.15 08:59:31.933 MODULE ( PROCESS ) : Removing univention-management-console-module-appcenter 13.05.15 08:59:31.994 MODULE ( PROCESS ) : Removed univention-management-console-module-appcenter 13.05.15 08:59:32.022 MODULE ( PROCESS ) : Removing python-univention-appcenter ... 13.05.15 08:59:32.022 MODULE ( PROCESS ) : Removing python-univention-appcenter 13.05.15 08:59:32.123 MODULE ( PROCESS ) : Preparing for removal of python-univention-appcenter 13.05.15 08:59:32.311 MODULE ( PROCESS ) : Removing python-univention-appcenter 13.05.15 08:59:32.396 MODULE ( PROCESS ) : Removed python-univention-appcenter 13.05.15 08:59:32.399 MODULE ( PROCESS ) : Preparing for removal of docker.io 13.05.15 08:59:32.401 MODULE ( PROCESS ) : dpkg: error processing docker.io (--remove): 13.05.15 08:59:32.401 MODULE ( PROCESS ) : Package is in a very bad inconsistent state - you should 13.05.15 08:59:32.401 MODULE ( PROCESS ) : reinstall it before attempting a removal. 13.05.15 08:59:32.401 MODULE ( WARN ) : docker.io: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. 13.05.15 08:59:32.402 MODULE ( PROCESS ) : Processing triggers for univention-config ... 13.05.15 08:59:32.402 MODULE ( PROCESS ) : Running post-installation trigger univention-config 13.05.15 08:59:34.278 MODULE ( PROCESS ) : dpkg-query: no packages found matching ldapacl_66univention-appcenter_app.acl 13.05.15 08:59:35.218 MODULE ( PROCESS ) : Processing triggers for python-support ... 13.05.15 08:59:35.219 MODULE ( PROCESS ) : Running post-installation trigger python-support 13.05.15 08:59:35.531 MODULE ( PROCESS ) : Errors were encountered while processing: 13.05.15 08:59:35.531 MODULE ( PROCESS ) : docker.io 13.05.15 08:59:35.537 MODULE ( PROCESS ) : Error in function: 13.05.15 08:59:35.537 MODULE ( PROCESS ) : SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1) 13.05.15 09:09:36.797 MAIN ( WARN ) : Shutting down all open connections

So the installation is now without a UMC, but also without the command line tools such as univention-remove, univention-install etc. Attempting to force removal of docker using dpkg results in:-

dpkg: error processing docker.io (--remove): Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. Errors were encountered while processing: docker.io

Attempting to use apt-get is met with:-

E: The package docker.io needs to be reinstalled, but I can't find an archive for it.

Is there a way I can either remove or reinstall docker to progress from here?


#2

As a follow-up, I managed to remove docker using the following commands:-

mv /var/lib/dpkg/info/docker.io.* /tmp/ dpkg --remove --force-remove-reinstreq docker.io apt-get remove docker.io apt-get autoremove && apt-get autoclean

After that was able to reinstall univention-server-master (which bought with it the previously removed packages).

Was then able to successfully apply the 4.0-2 update.


#3

Hi tose,

in one case, we too encountered a problem when upgrading to 4.0-2 while having docker.io installed from the dedicated repository mentioned in (an older version of) the wiki page “[wiki]Docker[/wiki]”. The problem there was that the docker service was not running while upgrading, which led a control script to fail and left the docker.io package in “a very bad inconsistent state”. We did not experience that this uninstalled univention-server-master, though.

You posted the management-console-module-appcenter.log. But to upgrade to 4.0-2 you probably have used univention-upgrade (or the corresponding UMC module). So the error and what went wrong in the first place should be in /var/log/univention/updater.log. Maybe hints on why univention-server-master was uninstalled can be found somewhere in this log file?

Glad to hear that you managed to get your machine back running.


#4

Hi dwiesent,

The timestamps aren’t so regular in updater.log, but this is about all I can find even close to the time of the other log entries:-

[code]13.05.15 08:37:03.190 DEBUG_INIT
**** Starting univention-updater with parameter=[’/usr/share/univention-updater/univention-updater’, ‘net’, ‘–updateto’, ‘4.0-2’, ‘–ignoressh’, ‘–ignoreterm’]
Version=4.0
Patchlevel=1
starting net mode
—>DBG:update_available(mode=net, cdrom_mount_point=/cdrom, iso=None)
Checking network repository
Update to = 4.0-2
**** Downloading scripts at Wed May 13 08:38:33 2015
**** Starting actual update at Wed May 13 08:39:33 2015
Running preup.sh script
Wed May 13 08:39:33 AEST 2015

HINT:
Please check the release notes carefully BEFORE updating to UCS 4.0-2:
English version: http://docs.univention.de/release-notes-4.0-2-en.html
German version: http://docs.univention.de/release-notes-4.0-2-de.html

Please also consider documents of following release updates and
3rd party components.

Do you want to continue [Y/n]?
Custom preupdate script /var/lib/local-preup.sh not found
Checking for space on /var/cache/apt/archives: OK
Checking for space on /boot: OK
Checking for space on /: OK
Checking for package status: OK
Checking LDAP schema: 55528126 OVER: Loading Translog Overlay
55528126 OVER: db_init
55528126 OVER: Configuring Translog Overlay
55528126 OVER: Configured Translog Overlay to use file “/var/lib/univention-ldap/listener/listener”
55528126 OVER: db_close
55528126 OVER: db_destroy
OK
Reading package lists…
Building dependency tree…
Reading state information…
The following packages will be REMOVED:
libc-client2007e libfreerdp1 libfs6 libvncserver0 libxkbfile1 mlock
php5-imap vnc4server x11-apps x11-session-utils x11-xfs-utils x11-xkb-utils
xbase-clients xfonts-base xinit
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
After this operation, 19.0 MB disk space will be freed.
(Reading database … 135971 files and directories currently installed.)
Removing php5-imap …
Removing libc-client2007e …
Removing libfreerdp1:amd64 …
Removing vnc4server …
Removing xbase-clients …
Removing x11-xfs-utils …
Removing libfs6:amd64 …
Removing libvncserver0:amd64 …
Removing x11-xkb-utils …
Removing x11-apps …
Removing libxkbfile1:amd64 …
Removing mlock …
Removing x11-session-utils …
Removing xfonts-base …
Removing xinit …
Processing triggers for libapache2-mod-php5 …
Action ‘configtest’ failed.
The Apache error log may have more information.
Your apache2 configuration is broken, so we’re not restarting it for you.
Processing triggers for man-db …
Processing triggers for fontconfig …
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ zarafa_20150415/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_zarafa%5f20150415_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ zarafa_20150415/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_zarafa%5f20150415_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ ucc_20140617/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_ucc%5f20140617_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ ucc_20140617/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_ucc%5f20140617_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ z-push_20150505/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_z-push%5f20150505_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ owncloud8_20150504/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_owncloud8%5f20150504_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ owncloud8_20150504/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_owncloud8%5f20150504_amd64_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/maintained/component/ 4.0-1-errata/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_component_4.0-1-errata_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/maintained/component/ 4.0-1-errata/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_component_4.0-1-errata_amd64_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ 4.0-1-errata/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_4.0-1-errata_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ 4.0-1-errata/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_4.0-1-errata_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ plucs_20150108/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_plucs%5f20150108_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ docker/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_docker_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ docker/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_docker_amd64_Packages)
W: You may want to run apt-get update to correct these problems
Get:1 http://updates.software-univention.de 4.0-2/all/ Release.gpg [198 B]
Hit http://appcenter.software-univention.de zarafa_20150415/all/ Release.gpg
Get:2 http://updates.software-univention.de 4.0-2/amd64/ Release.gpg [198 B]
Hit http://appcenter.software-univention.de zarafa_20150415/amd64/ Release.gpg
Get:3 http://updates.software-univention.de 4.0-2/all/ Release.gpg [198 B]
Hit http://appcenter.software-univention.de ucc_20140617/all/ Release.gpg
Get:4 http://updates.software-univention.de 4.0-2/amd64/ Release.gpg [198 B]
Hit http://appcenter.software-univention.de ucc_20140617/amd64/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release.gpg
Hit http://appcenter.software-univention.de z-push_20150505/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/amd64/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release.gpg
Hit http://appcenter.software-univention.de plucs_20150108/all/ Release.gpg
Hit http://updates.software-univention.de docker/all/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/all/ Release
Hit http://updates.software-univention.de docker/amd64/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/amd64/ Release
Hit http://updates.software-univention.de 4.0-0/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-0/amd64/ Release.gpg
Hit http://appcenter.software-univention.de ucc_20140617/all/ Release
Hit http://updates.software-univention.de 4.0-0/all/ Release.gpg
Hit http://appcenter.software-univention.de ucc_20140617/amd64/ Release
Hit http://updates.software-univention.de 4.0-0/amd64/ Release.gpg
Hit http://appcenter.software-univention.de z-push_20150505/all/ Release
Hit http://updates.software-univention.de 4.0-1/all/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/all/ Release
Hit http://updates.software-univention.de 4.0-1/amd64/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/amd64/ Release
Hit http://updates.software-univention.de 4.0-1/all/ Release.gpg
Hit http://appcenter.software-univention.de plucs_20150108/all/ Release
Hit http://updates.software-univention.de 4.0-1/amd64/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/all/ Packages
Get:5 http://updates.software-univention.de 4.0-2/all/ Release [578 B]
Get:6 http://updates.software-univention.de 4.0-2/amd64/ Release [580 B]
Hit http://appcenter.software-univention.de zarafa_20150415/amd64/ Packages
Get:7 http://updates.software-univention.de 4.0-2/all/ Release [578 B]
Get:8 http://updates.software-univention.de 4.0-2/amd64/ Release [580 B]
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release
Hit http://appcenter.software-univention.de ucc_20140617/all/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release
Hit http://appcenter.software-univention.de ucc_20140617/amd64/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release
Hit http://updates.software-univention.de docker/all/ Release
Hit http://appcenter.software-univention.de z-push_20150505/all/ Packages
Hit http://updates.software-univention.de docker/amd64/ Release
Hit http://updates.software-univention.de 4.0-0/all/ Release
Hit http://appcenter.software-univention.de owncloud8_20150504/all/ Packages
Hit http://updates.software-univention.de 4.0-0/amd64/ Release
Hit http://updates.software-univention.de 4.0-0/all/ Release
Hit http://appcenter.software-univention.de owncloud8_20150504/amd64/ Packages
Hit http://updates.software-univention.de 4.0-0/amd64/ Release
Hit http://updates.software-univention.de 4.0-1/all/ Release
Hit http://appcenter.software-univention.de plucs_20150108/all/ Packages
Hit http://updates.software-univention.de 4.0-1/amd64/ Release
Hit http://updates.software-univention.de 4.0-1/all/ Release
Hit http://updates.software-univention.de 4.0-1/amd64/ Release
Get:9 http://updates.software-univention.de 4.0-2/all/ Packages [21.0 kB]
Get:10 http://updates.software-univention.de 4.0-2/amd64/ Packages [33.9 kB]
Get:11 http://updates.software-univention.de 4.0-2/all/ Packages [56.5 kB]
Get:12 http://updates.software-univention.de 4.0-2/amd64/ Packages [35.3 kB]
Hit http://updates.software-univention.de 4.0-1-errata/all/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/all/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Packages
Hit http://updates.software-univention.de docker/all/ Packages
Hit http://updates.software-univention.de docker/amd64/ Packages
Hit http://updates.software-univention.de 4.0-0/all/ Packages
Hit http://updates.software-univention.de 4.0-0/amd64/ Packages
Ign http://appcenter.software-univention.de zarafa_20150415/all/ Translation-en
Ign http://appcenter.software-univention.de zarafa_20150415/amd64/ Translation-en
Ign http://appcenter.software-univention.de ucc_20140617/all/ Translation-en
Hit http://updates.software-univention.de 4.0-0/all/ Packages
Ign http://appcenter.software-univention.de ucc_20140617/amd64/ Translation-en
Hit http://updates.software-univention.de 4.0-0/amd64/ Packages
Ign http://appcenter.software-univention.de z-push_20150505/all/ Translation-en
Ign http://appcenter.software-univention.de owncloud8_20150504/all/ Translation-en
Hit http://updates.software-univention.de 4.0-1/all/ Packages
Ign http://appcenter.software-univention.de owncloud8_20150504/amd64/ Translation-en
Ign http://appcenter.software-univention.de plucs_20150108/all/ Translation-en
Hit http://updates.software-univention.de 4.0-1/amd64/ Packages
Hit http://updates.software-univention.de 4.0-1/all/ Packages
Hit http://updates.software-univention.de 4.0-1/amd64/ Packages
Ign http://updates.software-univention.de 4.0-2/all/ Translation-en
Ign http://updates.software-univention.de 4.0-2/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-2/all/ Translation-en
Ign http://updates.software-univention.de 4.0-2/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/amd64/ Translation-en
Ign http://updates.software-univention.de docker/all/ Translation-en
Ign http://updates.software-univention.de docker/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-0/all/ Translation-en
Ign http://updates.software-univention.de 4.0-0/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-0/all/ Translation-en
Ign http://updates.software-univention.de 4.0-0/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1/amd64/ Translation-en
Fetched 150 kB in 59s (2497 B/s)
Reading package lists…
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ zarafa_20150415/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_zarafa%5f20150415_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ zarafa_20150415/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_zarafa%5f20150415_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ ucc_20140617/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_ucc%5f20140617_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ ucc_20140617/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_ucc%5f20140617_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ z-push_20150505/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_z-push%5f20150505_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ owncloud8_20150504/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_owncloud8%5f20150504_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ owncloud8_20150504/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_owncloud8%5f20150504_amd64_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/maintained/component/ 4.0-1-errata/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_component_4.0-1-errata_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/maintained/component/ 4.0-1-errata/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_component_4.0-1-errata_amd64_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ 4.0-1-errata/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_4.0-1-errata_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ 4.0-1-errata/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_4.0-1-errata_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ plucs_20150108/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_plucs%5f20150108_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ docker/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_docker_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ docker/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_docker_amd64_Packages)
W: You may want to run apt-get update to correct these problems
** Starting: apt-get -s -o Debug::pkgProblemResolver=yes dist-upgrade
Reading package lists…
Building dependency tree…
Reading state information…
Starting
Starting 2
Done
The following packages will be upgraded:
debootstrap docker.io univention-management-console-module-setup
univention-management-console-module-updater univention-system-setup
univention-updater
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Inst docker.io [1.3.2~dfsg1-1.2.201501291339] (1.3.3~dfsg1-2.4.201505042158 Univention:updates.software-univention.de [amd64])
Inst univention-management-console-module-setup [8.1.66-42.883.201505061803] (8.1.66-44.885.201505120803 Univention:updates.software-univention.de [all]) []
Inst univention-system-setup [8.1.66-42.883.201505061803] (8.1.66-44.885.201505120803 Univention:updates.software-univention.de [all])
Inst univention-management-console-module-updater [10.0.53-16.1390.201505051532] (10.0.54-2.1392.201505081643 Univention:updates.software-univention.de [all]) []
Inst univention-updater [10.0.53-16.1390.201505051532] (10.0.54-2.1392.201505081643 Univention:updates.software-univention.de [all])
Inst debootstrap [1.0.48.43.201502041016] (1.0.48.44.201505071440 Univention:updates.software-univention.de [all])
Conf docker.io (1.3.3~dfsg1-2.4.201505042158 Univention:updates.software-univention.de [amd64])
Conf univention-system-setup (8.1.66-44.885.201505120803 Univention:updates.software-univention.de [all])
Conf univention-updater (10.0.54-2.1392.201505081643 Univention:updates.software-univention.de [all])
Conf univention-management-console-module-setup (8.1.66-44.885.201505120803 Univention:updates.software-univention.de [all])
Conf univention-management-console-module-updater (10.0.54-2.1392.201505081643 Univention:updates.software-univention.de [all])
Conf debootstrap (1.0.48.44.201505071440 Univention:updates.software-univention.de [all])

Starting update process, this may take a while.
Check /var/log/univention/updater.log for more information.
Wed May 13 08:40:50 AEST 2015
Hit http://appcenter.software-univention.de zarafa_20150415/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-2/all/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/amd64/ Release.gpg
Hit http://updates.software-univention.de 4.0-2/amd64/ Release.gpg
Hit http://appcenter.software-univention.de ucc_20140617/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-2/all/ Release.gpg
Hit http://appcenter.software-univention.de ucc_20140617/amd64/ Release.gpg
Hit http://updates.software-univention.de 4.0-2/amd64/ Release.gpg
Hit http://appcenter.software-univention.de z-push_20150505/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/amd64/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release.gpg
Hit http://appcenter.software-univention.de plucs_20150108/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/all/ Release
Hit http://updates.software-univention.de docker/all/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/amd64/ Release
Hit http://updates.software-univention.de docker/amd64/ Release.gpg
Hit http://updates.software-univention.de 4.0-0/all/ Release.gpg
Hit http://appcenter.software-univention.de ucc_20140617/all/ Release
Hit http://appcenter.software-univention.de ucc_20140617/amd64/ Release
Hit http://updates.software-univention.de 4.0-0/amd64/ Release.gpg
Hit http://appcenter.software-univention.de z-push_20150505/all/ Release
Hit http://updates.software-univention.de 4.0-0/all/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/all/ Release
Hit http://updates.software-univention.de 4.0-0/amd64/ Release.gpg
Hit http://appcenter.software-univention.de owncloud8_20150504/amd64/ Release
Hit http://updates.software-univention.de 4.0-1/all/ Release.gpg
Hit http://appcenter.software-univention.de plucs_20150108/all/ Release
Hit http://updates.software-univention.de 4.0-1/amd64/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/all/ Packages
Hit http://updates.software-univention.de 4.0-1/all/ Release.gpg
Hit http://updates.software-univention.de 4.0-1/amd64/ Release.gpg
Hit http://appcenter.software-univention.de zarafa_20150415/amd64/ Packages
Hit http://updates.software-univention.de 4.0-2/all/ Release
Hit http://updates.software-univention.de 4.0-2/amd64/ Release
Hit http://updates.software-univention.de 4.0-2/all/ Release
Hit http://updates.software-univention.de 4.0-2/amd64/ Release
Hit http://appcenter.software-univention.de ucc_20140617/all/ Packages
Hit http://appcenter.software-univention.de ucc_20140617/amd64/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release
Hit http://appcenter.software-univention.de z-push_20150505/all/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/all/ Release
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Release
Hit http://appcenter.software-univention.de owncloud8_20150504/all/ Packages
Hit http://updates.software-univention.de docker/all/ Release
Hit http://updates.software-univention.de docker/amd64/ Release
Hit http://appcenter.software-univention.de owncloud8_20150504/amd64/ Packages
Hit http://updates.software-univention.de 4.0-0/all/ Release
Hit http://updates.software-univention.de 4.0-0/amd64/ Release
Hit http://appcenter.software-univention.de plucs_20150108/all/ Packages
Hit http://updates.software-univention.de 4.0-0/all/ Release
Hit http://updates.software-univention.de 4.0-0/amd64/ Release
Hit http://updates.software-univention.de 4.0-1/all/ Release
Hit http://updates.software-univention.de 4.0-1/amd64/ Release
Hit http://updates.software-univention.de 4.0-1/all/ Release
Hit http://updates.software-univention.de 4.0-1/amd64/ Release
Hit http://updates.software-univention.de 4.0-2/all/ Packages
Hit http://updates.software-univention.de 4.0-2/amd64/ Packages
Hit http://updates.software-univention.de 4.0-2/all/ Packages
Hit http://updates.software-univention.de 4.0-2/amd64/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/all/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/all/ Packages
Hit http://updates.software-univention.de 4.0-1-errata/amd64/ Packages
Hit http://updates.software-univention.de docker/all/ Packages
Hit http://updates.software-univention.de docker/amd64/ Packages
Hit http://updates.software-univention.de 4.0-0/all/ Packages
Ign http://appcenter.software-univention.de zarafa_20150415/all/ Translation-en
Ign http://appcenter.software-univention.de zarafa_20150415/amd64/ Translation-en
Ign http://appcenter.software-univention.de ucc_20140617/all/ Translation-en
Hit http://updates.software-univention.de 4.0-0/amd64/ Packages
Ign http://appcenter.software-univention.de ucc_20140617/amd64/ Translation-en
Ign http://appcenter.software-univention.de z-push_20150505/all/ Translation-en
Hit http://updates.software-univention.de 4.0-0/all/ Packages
Ign http://appcenter.software-univention.de owncloud8_20150504/all/ Translation-en
Ign http://appcenter.software-univention.de owncloud8_20150504/amd64/ Translation-en
Hit http://updates.software-univention.de 4.0-0/amd64/ Packages
Ign http://appcenter.software-univention.de plucs_20150108/all/ Translation-en
Hit http://updates.software-univention.de 4.0-1/all/ Packages
Hit http://updates.software-univention.de 4.0-1/amd64/ Packages
Hit http://updates.software-univention.de 4.0-1/all/ Packages
Hit http://updates.software-univention.de 4.0-1/amd64/ Packages
Ign http://updates.software-univention.de 4.0-2/all/ Translation-en
Ign http://updates.software-univention.de 4.0-2/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-2/all/ Translation-en
Ign http://updates.software-univention.de 4.0-2/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1-errata/amd64/ Translation-en
Ign http://updates.software-univention.de docker/all/ Translation-en
Ign http://updates.software-univention.de docker/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-0/all/ Translation-en
Ign http://updates.software-univention.de 4.0-0/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-0/all/ Translation-en
Ign http://updates.software-univention.de 4.0-0/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1/amd64/ Translation-en
Ign http://updates.software-univention.de 4.0-1/all/ Translation-en
Ign http://updates.software-univention.de 4.0-1/amd64/ Translation-en
Reading package lists…
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ zarafa_20150415/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_zarafa%5f20150415_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ zarafa_20150415/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_zarafa%5f20150415_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ ucc_20140617/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_ucc%5f20140617_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ ucc_20140617/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_ucc%5f20140617_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ z-push_20150505/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_z-push%5f20150505_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ owncloud8_20150504/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_owncloud8%5f20150504_all_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ owncloud8_20150504/amd64/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_owncloud8%5f20150504_amd64_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/maintained/component/ 4.0-1-errata/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_component_4.0-1-errata_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/maintained/component/ 4.0-1-errata/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_maintained_component_4.0-1-errata_amd64_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ 4.0-1-errata/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_4.0-1-errata_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ 4.0-1-errata/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_4.0-1-errata_amd64_Packages)
W: Duplicate sources.list entry http://appcenter.software-univention.de/univention-repository/4.0/maintained/component/ plucs_20150108/all/ Packages (/var/lib/apt/lists/appcenter.software-univention.de_univention-repository_4.0_maintained_component_plucs%5f20150108_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ docker/all/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_docker_all_Packages)
W: Duplicate sources.list entry http://updates.software-univention.de/4.0/unmaintained/component/ docker/amd64/ Packages (/var/lib/apt/lists/updates.software-univention.de_4.0_unmaintained_component_docker_amd64_Packages)
W: You may want to run apt-get update to correct these problems
Reading package lists…
Building dependency tree…
Reading state information…
The following packages will be upgraded:
debootstrap docker.io univention-management-console-module-setup
univention-management-console-module-updater univention-system-setup
univention-updater
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 5088 kB of archives.
After this operation, 28.7 kB of additional disk space will be used.
Get:1 http://updates.software-univention.de/4.0/maintained/ 4.0-2/amd64/ docker.io 1.3.3~dfsg1-2.4.201505042158 [3713 kB]
Get:2 http://updates.software-univention.de/4.0/maintained/ 4.0-2/all/ univention-management-console-module-setup 8.1.66-44.885.201505120803 [1038 kB]
Get:3 http://updates.software-univention.de/4.0/maintained/ 4.0-2/all/ univention-system-setup 8.1.66-44.885.201505120803 [71.7 kB]
Get:4 http://updates.software-univention.de/4.0/maintained/ 4.0-2/all/ univention-management-console-module-updater 10.0.54-2.1392.201505081643 [82.6 kB]
Get:5 http://updates.software-univention.de/4.0/maintained/ 4.0-2/all/ univention-updater 10.0.54-2.1392.201505081643 [121 kB]
Get:6 http://updates.software-univention.de/4.0/maintained/ 4.0-2/all/ debootstrap 1.0.48.44.201505071440 [61.1 kB]
Fetched 5088 kB in 14s (345 kB/s)
(Reading database … 135303 files and directories currently installed.)
Preparing to replace docker.io 1.3.2~dfsg1-1.2.201501291339 (using …/docker.io_1.3.3~dfsg1-2.4.201505042158_amd64.deb) …
Stopping Docker: dockerNo process in pidfile ‘/var/run/docker-ssd.pid’ found running; none killed.
invoke-rc.d: initscript docker, action “stop” failed.
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead …
Stopping Docker: dockerNo process in pidfile ‘/var/run/docker-ssd.pid’ found running; none killed.
invoke-rc.d: initscript docker, action “stop” failed.
dpkg: error processing /var/cache/apt/archives/docker.io_1.3.3~dfsg1-2.4.201505042158_amd64.deb (–unpack):
subprocess new pre-removal script returned error exit status 1
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Preparing to replace univention-management-console-module-setup 8.1.66-42.883.201505061803 (using …/univention-management-console-module-setup_8.1.66-44.885.201505120803_all.deb) …
Unpacking replacement univention-management-console-module-setup …
Preparing to replace univention-system-setup 8.1.66-42.883.201505061803 (using …/univention-system-setup_8.1.66-44.885.201505120803_all.deb) …
Unpacking replacement univention-system-setup …
Preparing to replace univention-management-console-module-updater 10.0.53-16.1390.201505051532 (using …/univention-management-console-module-updater_10.0.54-2.1392.201505081643_all.deb) …
Unpacking replacement univention-management-console-module-updater …
Preparing to replace univention-updater 10.0.53-16.1390.201505051532 (using …/univention-updater_10.0.54-2.1392.201505081643_all.deb) …
Unpacking replacement univention-updater …
Preparing to replace debootstrap 1.0.48.43.201502041016 (using …/debootstrap_1.0.48.44.201505071440_all.deb) …
Unpacking replacement debootstrap …
Processing triggers for python-support …
Processing triggers for univention-config …
dpkg-query: no packages found matching ldapacl_66univention-appcenter_app.acl
Processing triggers for man-db …
Errors were encountered while processing:
/var/cache/apt/archives/docker.io_1.3.3~dfsg1-2.4.201505042158_amd64.deb
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”

Starting univention-upgrade. Current UCS version is 4.0-1 errata193

Checking for local repository: skipped
Checking for release updates: found: UCS 4.0-2
Please rerun command without --check argument to install.
[/code]

There are many repeated instances of those last 4 lines but without timestamps it’s hard to be sure what the timing was. I see no reference to univention-server-master at all. Perhaps my error of some kind was responsible.


#5

Yes, I cannot find any hints either. It seems to be an ordinary upgrade of some packages (disregarding that it failed).

The first post contains the appcenter.log, not the updater.log. This means that the actions leading to the removal of the server package was either an app (un)installation or a package (un)installation (the modules are “App Center” and “Package Management”, but both log to the same file).

Maybe you tried to uninstall docker.io? This would explain it. As univention-appcenter depended on docker.io (not anymore with the current build) this would have been uninstalled, too. Some packages depend on univention-appcenter and so on, and eventually univention-server-master gets uninstalled.


#6

Ah… yes. It may well have been an attempt by me to uninstall docker (from the command line).

You know, the really impressive thing was that, although I had no access to any administrative interface during the time this happened, all the installed services continued to function perfectly. VM’s, Zarafa, Owncloud, File Shares. All just sat there doing there jobs. UCS is really a very impressive OS.

Thank you for taking the time to help me investigate this. Much appreciated.