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?