Docker Uninstall/Install Problem

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Docker Uninstall/Install Problem

      So, I uninstalled Docker. Then OMV-Extras went down. I noticed that I am getting an update for Docker even though I uninstalled it.

      However, now I am getting this error:

      ###
      sudo apt-get install docker-engine
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Recommended packages:
      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, 116 kB of additional disk space will be used.
      Selecting previously unselected package docker-engine.
      (Reading database ... 45723 files and directories currently installed.)
      Preparing to replace docker-engine 1.12.0-0~wheezy (using .../docker-engine_1.12.1-0~wheezy_amd64.deb) ...
      Stopping Docker: dockerstart-stop-daemon: warning: failed to kill 6472: 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 6472: 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.1-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.1-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)
      ###

      I have tried to --purge and remove docker-engine, but get the same E: Sub-process error...

      How can I repair apt-get so that I can remove docker???

      :?: