I tried installing
docker-ce following the instructions provided in the official Docker Documentation using the repository. The installation got stuck at this point:
Setting up docker-ce (17.09.0~ce-0~ubuntu) ... insserv: warning: script 'K01postgresql-9.5' missing LSB tags and overrides insserv: warning: script 'postgresql-9.5' missing LSB tags and overrides
After waiting for a very long time I interrupted the process with
sudo killall apt-get. Now, whenever I try using a command that uses apt-get it will say the following:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
When I run that command it just starts running the original command that never finishes. At this point, I just want to solve this without even being able to run Docker (I just wanted to try it out).
I already tried most answers for this related question. I can't even use
sudo apt-get remove docker-ce because I run into the same problem.
Some info on the docker installation:
docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: e Drop-In: /etc/systemd/system/docker.service.d └─ubuntu.conf Active: activating (start) since mié 2017-11-22 15:38:31 CST; 7min ago Docs: https://docs.docker.com Main PID: 1431 (docker) Tasks: 6 Memory: 18.4M CPU: 21ms CGroup: /system.slice/docker.service └─1431 /usr/bin/docker -d -H fd:// docker-ce: Installed: 17.09.0~ce-0~ubuntu Candidate: 17.09.0~ce-0~ubuntu Version table: *** 17.09.0~ce-0~ubuntu 100 100 /var/lib/dpkg/status
I'm running Ubuntu 16.04