Hi all,
I tried removing the docker plugin, but it appears it didn't remove completely. The plug in is gone, but when I look in the Update Manager it shows that there is an update. So I went into the shell and tried doing a purge, but the purge tells me it is in an inconsistent state and to reinstall. So I try to reinstall, but it says it can't kill the process. So I am lost on how to clean it up.
Also how do I post this so it can be scrollable and doesn't take up so much space?
root@OpenMediaVault:~# apt-get purge docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
docker-engine*
0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 101 MB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing docker-engine (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
docker-engine
Creating index of upgradeable packages ...
Creating index of openmediavault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@OpenMediaVault:~# sudo apt-get install --reinstall docker-engine
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
aufs-tools cgroupfs-mount cgroup-lite
The following packages will be upgraded:
docker-engine
1 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/28.1 MB of archives.
After this operation, 370 kB of additional disk space will be used.
Selecting previously unselected package docker-engine.
(Reading database ... 62427 files and directories currently installed.)
Preparing to replace docker-engine 1.12.0-0~wheezy (using .../docker-engine_1.12.3-0~wheezy_amd64.deb) ...
Stopping Docker: dockerstart-stop-daemon: warning: failed to kill 2775: No such process
No 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: dockerstart-stop-daemon: warning: failed to kill 2775: No such process
No 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-engine_1.12.3-0~wheezy_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
Errors were encountered while processing:
/var/cache/apt/archives/docker-engine_1.12.3-0~wheezy_amd64.deb
Creating index of upgradeable packages ...
Creating index of openmediavault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)