Can't remove Docker plugin

    • OMV 2.x
    • Can't remove Docker plugin

      Hi OMV ppl,

      I'm trying to uninstall the Docker and got this error:

      A remover openmediavault-docker ...

      Get http:///var/run/docker.sock/v1.20/containers/json: dial unix /var/run/docker.sock: no such file or directory.

      * Are you trying to connect to a TLS-enabled daemon without TLS?

      * Is your docker daemon up and running?

      Get http:///var/run/docker.sock/v1.20/images/remove/json: dial unix /var/run/docker.sock: no such file or directory.

      * Are you trying to connect to a TLS-enabled daemon without TLS?

      * Is your docker daemon up and running? container will be treated

      dpkg: erro ao processar openmediavault-docker (--remove):

      subprocesso script post-removal instalado retornou erro do status de saída 1

      A processar 'triggers' para openmediavault ...

      Restarting engine daemon ...

      Foram encontrados erros enquanto processava:

      openmediavault-docker

      Creating index of upgradeable packages ...

      Creating index of openmediavault plugins ...

      E: Sub-process /usr/bin/dpkg returned an error code (1)

      And now i can get this thing fixed.
      Can someone help me? :(
    • Try:

      rm /var/lib/dpkg/info/openmediavault-docker.postrm
      apt-get purge openmediavault-docker
      omv 4.1.13 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • New problem

      root@cofre:~# apt-get upgrade

      A ler as listas de pacotes... Pronto

      A construir árvore de dependências

      A ler a informação de estado... Pronto

      Serão actualizados os seguintes pacotes:

      docker-engine

      1 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 0 não actualizados.

      177 pacotes não totalmente instalados ou removidos.

      É necessário obter 0 B/7959 kB de arquivos.

      Após esta operação, serão utilizados 3072 B adicionais de espaço em disco.

      Deseja continuar [Y/n]? y

      (A ler a base de dados ... 95131 ficheiros e directórios actualmente instalados.)

      A preparar para substituir docker-engine 1.8.1-0~wheezy (a usar .../docker-engine_1.8.2-0~wheezy_amd64.deb) ...

      Stopping Docker: dockerNo process in pidfile '/var/run/docker-ssd.pid' found running; none killed.

      invoke-rc.d: initscript docker, action "stop" failed.

      dpkg: aviso: subprocesso script pre-removal antigo retornou erro do status de saída 1

      dpkg: em vez disso a tentar script do novo pacote ...

      Stopping Docker: dockerNo process in pidfile '/var/run/docker-ssd.pid' found running; none killed.

      invoke-rc.d: initscript docker, action "stop" failed.

      dpkg: erro ao processar /var/cache/apt/archives/docker-engine_1.8.2-0~wheezy_amd64.deb (--unpack):

      subprocesso novo script pre-removal retornou erro do status de saída 1

      dpkg: erro ao limpar:

      subprocesso script post-installation instalado retornou erro do status de saída 1

      Foram encontrados erros enquanto processava:

      /var/cache/apt/archives/docker-engine_1.8.2-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)

      root@cofre:~#