Docker -ce problem

0

Não consigo remover o bloqueio do dpkg, e parece que a instalação do docker-ce foi interrompida no meio

$ sudo rm /var/lib/apt/lists/lock
$ sudo rm /var/cache/apt/archives/lock
$ sudo apt install aptitude
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
$ sudo rm -R /var/lib/dpkg/lock
$ sudo rm /var/lib/dpkg/lock
rm: cannot remove '/var/lib/dpkg/lock': No such file or directory
$ sudo rm /var/lib/dpkg/lock
rm: cannot remove '/var/lib/dpkg/lock': No such file or directory
$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove '/var/lib/apt/lists/lock': No such file or directory
$ sudo dpkg --configure -a
Setting up docker-ce (17.06.2~ce-0~ubuntu) ...
^Cdpkg: error processing package docker-ce (--configure):
 subprocess installed post-installation script was interrupted
Errors were encountered while processing:
 docker-ce

Eu excluí os arquivos de bloqueio, mas recebo a mesma mensagem. Usando o Ubuntu 16.04. Eu tenho que fazer uma parada forçada porque fica aqui para sempre. E quando eu corro dpkg -i /path/to/package.deb a saída é

arton@arton-Latitude-E6230:~$ sudo dpkg -i /home/arton/Downloads/amd64/docker.io_1.12.6-0ubuntu1~16.04.‌​1A~4.2.0.20170324195‌​1_amd64.deb 
[sudo] password for arton: 
dpkg: error: dpkg status database is locked by another process
    
por Arton Muli 19.09.2017 / 08:58

0 respostas