Raspberry Pi 3 - Error installing Docker

    • OMV 4.x
    • Resolved
    • Raspberry Pi 3 - Error installing Docker

      Attempting to install OMV for RPi 3B and using the video tutorial but getting the following error when trying to install docker:

      >>> *************** Error ***************
      Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C; export DEBIAN_FRONTEND=noninteractive; apt-get --yes --allow-downgrades --allow-change-held-packages --fix-missing --allow-unauthenticated --reinstall install openmediavault-docker-gui 2>&1' with exit code '100': Reading package lists...

      Building dependency tree...

      Reading state information...

      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:

      The following packages have unmet dependencies:
      openmediavault-docker-gui : Depends: php-curl
      E: Unable to correct problems, you have held broken packages.

      <<< *************************************

      Docker is enabled in services per the tutorial.

      The post was edited 1 time, last by iamaburrama ().

    • root@raspberrypi:~# apt-get update
      Get:1 file:/var/cache/openmediavault/archives InRelease
      Ign:1 file:/var/cache/openmediavault/archives InRelease
      Get:2 file:/var/cache/openmediavault/archives Release
      Ign:2 file:/var/cache/openmediavault/archives Release
      Get:3 file:/var/cache/openmediavault/archives Packages
      Ign:3 file:/var/cache/openmediavault/archives Packages
      Get:4 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:4 file:/var/cache/openmediavault/archives Contents (deb)
      Get:5 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:5 file:/var/cache/openmediavault/archives Contents (deb)
      Get:3 file:/var/cache/openmediavault/archives Packages
      Ign:3 file:/var/cache/openmediavault/archives Packages
      Get:4 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:4 file:/var/cache/openmediavault/archives Contents (deb)
      Get:5 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:5 file:/var/cache/openmediavault/archives Contents (deb)
      Get:3 file:/var/cache/openmediavault/archives Packages
      Ign:3 file:/var/cache/openmediavault/archives Packages
      Get:4 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:4 file:/var/cache/openmediavault/archives Contents (deb)
      Get:5 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:5 file:/var/cache/openmediavault/archives Contents (deb)
      Get:3 file:/var/cache/openmediavault/archives Packages
      Ign:3 file:/var/cache/openmediavault/archives Packages
      Get:4 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:4 file:/var/cache/openmediavault/archives Contents (deb)
      Get:5 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:5 file:/var/cache/openmediavault/archives Contents (deb)
      Get:3 file:/var/cache/openmediavault/archives Packages
      Ign:3 file:/var/cache/openmediavault/archives Packages
      Get:4 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:4 file:/var/cache/openmediavault/archives Contents (deb)
      Get:5 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:5 file:/var/cache/openmediavault/archives Contents (deb)
      Get:3 file:/var/cache/openmediavault/archives Packages
      Ign:3 file:/var/cache/openmediavault/archives Packages
      Get:4 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:4 file:/var/cache/openmediavault/archives Contents (deb)
      Get:5 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:5 file:/var/cache/openmediavault/archives Contents (deb)
      Get:3 file:/var/cache/openmediavault/archives Packages
      Get:4 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:4 file:/var/cache/openmediavault/archives Contents (deb)
      Get:5 file:/var/cache/openmediavault/archives Contents (deb)
      Ign:5 file:/var/cache/openmediavault/archives Contents (deb)
      Hit:7 security.debian.org stretch/updates InRelease
      Hit:8 apt.armbian.com stretch InRelease
      Ign:6 cdn-fastly.deb.debian.org/debian stretch InRelease
      Hit:9 cdn-fastly.deb.debian.org/debian stretch-updates InRelease
      Hit:10 packages.openmediavault.org/public arrakis InRelease
      Hit:12 openmediavault.github.io/packages arrakis InRelease
      Hit:13 download.docker.com/linux/debian stretch InRelease
      Hit:15 packages.openmediavault.org/public arrakis-proposed InRelease
      Hit:11 cdn-fastly.deb.debian.org/debian stretch-backports InRelease
      Hit:14 cdn-fastly.deb.debian.org/debian stretch Release
      Hit:16 archive.raspberrypi.org/debian stretch InRelease
      Ign:17 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InRelease
      Ign:18 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch InRelease
      Get:19 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release [4,389 B]
      Hit:19 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release
      Get:20 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch Release [3,540 B]
      Hit:20 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch Release
      Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7624b390>
      Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
      TypeError: 'NoneType' object is not callable
      Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7624b390>
      Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
      TypeError: 'NoneType' object is not callable
      Reading package lists... Done
      W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (main/Contents-armhf) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (contrib/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (contrib/Contents-armhf) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (contrib/Contents-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (non-free/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (non-free/Contents-armhf) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (non-free/Contents-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (main/Contents-armhf) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (main/Contents-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (contrib/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (contrib/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (contrib/Contents-armhf) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (contrib/Contents-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (non-free/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (non-free/Contents-armhf) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      W: Target Contents-deb (non-free/Contents-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1
      root@raspberrypi:~#
    • root@raspberrypi:~# cat /etc/apt/sources.list
      deb httpredir.debian.org/debian stretch main contrib non-free
      #deb-src httpredir.debian.org/debian stretch main contrib non-free

      deb httpredir.debian.org/debian stretch-updates main contrib non-free
      #deb-src httpredir.debian.org/debian stretch-updates main contrib non-free

      deb httpredir.debian.org/debian stretch-backports main contrib non-free
      #deb-src httpredir.debian.org/debian stretch-backports main contrib non-free

      deb security.debian.org/ stretch/updates main contrib non-free
      #deb-src security.debian.org/ stretch/updates main contrib non-free
      root@raspberrypi:~#
    • I would remove the backports entry from /etc/apt/source.list since they are in another list. That might be causing your problem.
      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!
    • It must be something with a package installed from the RPi repo because I just installed the docker plugin on my renegade board (arm64) earlier today with no problems. I don't have an RPi setup to test this and I am leaving for a week in a few hours. Someone else will have to try to figure it out.
      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!
    • I just ran the docker-CE install from putty for consistency and got the same response as you, unfortunately I screwed up on the copy/paste example and lost the text. If i re run it again now I get;


      root@raspberrypi:~# apt-get install docker-ce
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      docker-ce is already the newest version (18.03.1~ce-0~debian).
      0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
      root@raspberrypi:~#

      Docker-GUI still doesn't install,

      Cheers
      Matt
    • It appears as though the install process is looking for dependencies in php7.0 (7.0.30-0+deb9ul), but the highest you can currently update php7.0 right now is (7.0.27-0+deb9ul). You might be able to get the docker GUI plugin to install if you update your /etc/apt/sources.list to include packages from the next release "buster" in order to manually install (7.0.30-0+deb9ul).
    • I have also just do a fresh install of OMV 4.1.8.2-1 and have tried to install docker.
      i have also run command "update OMV"
      the update was successful

      Still though i get this error message.

      I am guessing by this thread we should just wait for an update?

      Reading state information...


      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:


      The following packages have unmet dependencies:
      openmediavault-docker-gui : Depends: php-curl
      E
      :
      Unable to correct problems, you have held broken packages.


      <<< *************************************
    • instal php-curl first to resolve dependencies.
      OMV 4.1.11 x64 on a HP T510, 16GB CF as Boot Disk & 32GB SSD 2,5" disk for Data, 4 GB RAM, CPU VIA EDEN X2 U4200 is x64 at 1GHz

      Post: HPT510 SlimNAS ; HOWTO Install Pi-Hole ; HOWTO install MLDonkey ; HOHTO Install ZFS-Plugin ; OMV_OldGUI ; ShellinaBOX ;
      Dockers: MLDonkey ; PiHole ; weTTY
      Videos: @TechnoDadLife
    • raulfg3 wrote:

      instal php-curl first to resolve dependencies.
      Not sure if i am on the right track here with my command but i typed

      Source Code

      1. apt-get install php-curl

      The following packages have unmet dependencies:
      php-curl : Depends: php7.0-curl but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      root@raspberrypi:~# apt-get install php-curl
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:


      The following packages have unmet dependencies:
      php-curl : Depends: php7.0-curl but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      root@raspberrypi:~#


      Thanks for your time and help

      :?: