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.

  • 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 http://security.debian.org stretch/updates InRelease
    Hit:8 http://apt.armbian.com stretch InRelease
    Ign:6 http://cdn-fastly.deb.debian.org/debian stretch InRelease
    Hit:9 http://cdn-fastly.deb.debian.org/debian stretch-updates InRelease
    Hit:10 http://packages.openmediavault.org/public arrakis InRelease
    Hit:12 https://openmediavault.github.io/packages arrakis InRelease
    Hit:13 https://download.docker.com/linux/debian stretch InRelease
    Hit:15 http://packages.openmediavault.org/public arrakis-proposed InRelease
    Hit:11 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease
    Hit:14 http://cdn-fastly.deb.debian.org/debian stretch Release
    Hit:16 https://archive.raspberrypi.org/debian stretch InRelease
    Ign:17 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch InRelease
    Ign:18 https://dl.bintray.com/openmed…developers/arrakis-docker stretch InRelease
    Get:19 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release [4,389 B]
    Hit:19 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release
    Get:20 https://dl.bintray.com/openmed…developers/arrakis-docker stretch Release [3,540 B]
    Hit:20 https://dl.bintray.com/openmed…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 http://httpredir.debian.org/debian stretch main contrib non-free
    #deb-src http://httpredir.debian.org/debian stretch main contrib non-free


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


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


    deb http://security.debian.org/ stretch/updates main contrib non-free
    #deb-src http://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 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Exact same problem here also, was working just fine 3 days ago, had this running and installed Plex. Decided to do a fresh build again and now hit this same error. Tried 6 times to reinstall with a fresh image / same error.


    Pi 3B+
    OMV 4.1.8.2-1
    docker-gui 4.0.1


    Cheers
    Matt

  • 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 5.3.9 usul | 64 bit | 5.3 proxmox kernel | omvextrasorg 5.2.6
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    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.

    Not sure if i am on the right track here with my command but i typed

    Code
    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


    :?:

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!