Can't install Docker nor Plex plugin: "you have held broken packages"

    • OMV 4.x
    • Resolved
    • Can't install Docker nor Plex plugin: "you have held broken packages"

      Hi,
      I have messed up my OMV-extras repos somehow but I'm not sure how or when it has happened. I tried installing the plexmediaserver plugin and also the Docker plugin but they both fail with the same sort of error message:

      Source Code

      1. The following packages have unmet dependencies: openmediavault-docker-gui : Depends: docker-ce (>= 5:19.03) but it is not installable Depends: docker-ce (< 5:19.04) but it is not installableE: Unable to correct problems, you have held broken packages.<<< *************************************


      Source Code

      1. openmediavault-plexmediaserver : Depends: plexmediaserver but it is not installable or plexmediaserver-installer but it is not installableE: Unable to correct problems, you have held broken packages.<<< *************************************

      Should I completely remove omv-extras or is there something else I could do? Thanks!
    • geaves wrote:

      What are you installing this on? BTW the plugin is deprecated, Docker is the preferred method.
      My OMV is version 4.1.23-1 and it's running on a Pentium G4560T.

      Only after trying to install the Plex plugin via OMV-extras and fiddling around with it I read that the plugin is deprecated. At first when I tried to install the Plex plugin it gave a 404:

      Source Code

      1. E: Failed to fetch https://downloads.plex.tv/repo/deb/pool/p/plexmediaserver/plexmediaserver_1.14.1.5488-cc260c476_i386.deb 404 Not Found
      2. E: Aborting install.

      And then I tried enabling the Plex repos by following the instructions here: support.plex.tv/articles/23597…nux-server-distributions/ :

      Source Code

      1. echo deb https://downloads.plex.tv/repo/deb public main | sudo tee /etc/apt/sources.list.d/plexmediaserver.list
      2. curl https://downloads.plex.tv/plex-keys/PlexSign.key | sudo apt-key add -
      But that didn't help either, in fact could those steps have been what messed it all up? Because I was already getting the "you have held broken packages"-message also when I tried to install Plex via the plugins page after the commands above. I read about Docker only after I had already ran those commands so I don't know whether installing Docker prior to that would have worked or not.
    • geaves wrote:

      jackster wrote:

      But that didn't help either, in fact could those steps have been what messed it all up?
      Highly probable, if this is a new clean install I suggest you start again, it's less hassle than trying to resolved something that was installed that should not have been.
      Unfortunately this is not a clean install... Getting everything to work was such a hassle that I'd rather try fixing this issue than reinstall.

      It seems that I can still install plugins which aren't from OMV-extras so could re-installing OMV-extras possibly fix the issue?
    • I'm guessing you installed a newer version of docker-ce that is too new for the plugin. What is the output of: dpkg -l | grep -E "openm|docker"
      omv 5.0.10 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.1
      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!
    • Here's the output of dpkg -l | grep -E "openm|docker":

      Source Code

      1. ii libopenmpt0:i386 0.2.7386~beta20.3-3+deb9u3 i386 module music library based on OpenMPT -- shared library
      2. ii openmediavault 4.1.23-1 all openmediavault - The open network attached storage solution
      3. ii openmediavault-autoshutdown 4.0.5 all OpenMediaVault AutoShutdown Plugin
      4. ii openmediavault-backup 4.0.6 all backup plugin for OpenMediaVault.
      5. ii openmediavault-diskstats 4.0.2-1 all OpenMediaVault disk monitoring plugin
      6. ii openmediavault-flashmemory 4.2.1 all folder2ram plugin for OpenMediaVault
      7. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      8. ii openmediavault-letsencrypt 3.4.5 all Generate free and valid SSL certificates for OMV
      9. ii openmediavault-locate 3.4 all locate plugin for OpenMediaVault.
      10. ii openmediavault-minidlna 3.3.11 all OpenMediaVault miniDLNA (DLNA server) plugin
      11. ii openmediavault-mysql 4.1.2 all MySQL plugin for OpenMediaVault.
      12. ii openmediavault-nginx 4.0.3 all Nginx plugin for OpenMediaVault.
      13. ii openmediavault-omvextrasorg 4.1.15 all OMV-Extras.org Package Repositories for OpenMediaVault
      14. ii openmediavault-symlinks 3.1.5 all OpenMediaVault symlinks plugin
      15. ii openmediavault-transmissionbt 4.0 all OpenMediaVault Transmission (BitTorrent client) plugin.
      16. ii openmediavault-wol 3.4.2 all OpenMediaVault WOL plugin
      Display All
    • jackster wrote:

      Unfortunately this is not a clean install.
      Sometimes you have to ask, the same as what it's being installed on :)

      Looking at the output from what @ryecoaaron docker-ce is not installed which is required before the docker-gui will install.

      Under OMV-Extras enable the Docker-CE repo wait until the pop progress bar closes then run the above again it should show that Docker-CE has been installed. (At least that's how mine worked)
      Raid is not a backup! Would you go skydiving without a parachute?
    • geaves wrote:

      jackster wrote:

      Unfortunately this is not a clean install.
      Sometimes you have to ask, the same as what it's being installed on :)
      Looking at the output from what @ryecoaaron docker-ce is not installed which is required before the docker-gui will install.

      Under OMV-Extras enable the Docker-CE repo wait until the pop progress bar closes then run the above again it should show that Docker-CE has been installed. (At least that's how mine worked)
      Thanks for trying to help, unfortunately Docker still does not show up in the list. The Docker repo does show up as enabled in OMV-Extras and I tried disabling & re-enabling it but it still won't install ("held broken packages"). I also tried removing and re-installing OMV-Extras but to no avail :(

      I just ran some updates in "Update Management" and they installed just fine, as did OMV-extras. But Docker I still am unable to install... Here is the complete output of the Docker installation attempt:

      Source Code

      1. Reading package lists...
      2. Building dependency tree...
      3. Reading state information...
      4. Some packages could not be installed. This may mean that you have
      5. requested an impossible situation or if you are using the unstable
      6. distribution that some required packages have not yet been created
      7. or been moved out of Incoming.
      8. The following information may help to resolve the situation:
      9. The following packages have unmet dependencies:
      10. >>> *************** Error ***************
      11. Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; 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...
      12. Building dependency tree...
      13. Reading state information...
      14. Some packages could not be installed. This may mean that you have
      15. requested an impossible situation or if you are using the unstable
      16. distribution that some required packages have not yet been created
      17. or been moved out of Incoming.
      18. The following information may help to resolve the situation:
      19. The following packages have unmet dependencies:
      20. openmediavault-docker-gui : Depends: docker-ce (>= 5:19.03) but it is not installable
      21. Depends: docker-ce (< 5:19.04) but it is not installable
      22. E: Unable to correct problems, you have held broken packages.
      23. <<< *************************************
      Display All
    • ryecoaaron wrote:

      What is the output of: omv-aptclean
      Here (had to remove some unimportant lines due to the 10000 character limit):

      Display Spoiler
      1. Cleaning apt cache files...2. Clearing available dpkg packages...3. Removing apt lists...removed '/var/lib/apt/lists/_var_cache_openmediavault_archives_Packages'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis-docker_dists_stretch_Release'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis-docker_dists_stretch_Release.gpg'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis-docker_dists_stretch_main_binary-i386_Packages'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis-testing_dists_stretch_Release'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis-testing_dists_stretch_Release.gpg'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis-testing_dists_stretch_main_binary-i386_Packages'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis_dists_stretch_Release'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis_dists_stretch_Release.gpg'removed '/var/lib/apt/lists/dl.bintray.com_openmediavault-plugin-developers_arrakis_dists_stretch_main_binary-i386_Packages'removed '/var/lib/apt/lists/download.docker.com_linux_debian_dists_stretch_InRelease'removed '/var/lib/apt/lists/downloads.plex.tv_repo_deb_dists_public_Release'removed '/var/lib/apt/lists/downloads.plex.tv_repo_deb_dists_public_Release.gpg'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch-updates_InRelease'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch-updates_main_binary-i386_Packages'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch-updates_main_i18n_Translation-en'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch-updates_main_source_Sources'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch_Release'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch_Release.gpg'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch_main_binary-i386_Packages'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch_main_i18n_Translation-en'removed '/var/lib/apt/lists/ftp.fi.debian.org_debian_dists_stretch_main_source_Sources'removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch-backports_InRelease'removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch-backports_contrib_binary-i386_Packages'removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch-backports_contrib_i18n_Translation-en'removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch-backports_main_binary-i386_Packages'removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch-backports_main_i18n_Translation-en'removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch-backports_non-free_binary-i386_Packages'removed '/var/lib/apt/lists/httpredir.debian.org_debian_dists_stretch-backports_non-free_i18n_Translation-en'removed '/var/lib/apt/lists/lock'removed '/var/lib/apt/lists/openmediavault.github.io_packages_dists_arrakis_InRelease'removed '/var/lib/apt/lists/openmediavault.github.io_packages_dists_arrakis_main_binary-i386_Packages'removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_arrakis_InRelease'removed '/var/lib/apt/lists/packages.openmediavault.org_public_dists_arrakis_main_binary-i386_Packages'removed directory '/var/lib/apt/lists/partial'removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_InRelease'removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_main_binary-i386_Packages'removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_main_i18n_Translation-en'removed '/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_main_source_Sources'4. Purging internal cache ...5. Removing OpenMediaVault cache packages...removed '/var/cache/openmediavault/archives/Packages'removed '/var/cache/openmediavault/archives/openmediavault-omvextrasorg_latest_all4(2).deb'6. Creating new OpenMediaVault packages file...7. Updating apt...Get:1 file:/var/cache/openmediavault/archives InReleaseIgn:1 file:/var/cache/openmediavault/archives InReleaseGet:2 file:/var/cache/openmediavault/archives ReleaseIgn:2 file:/var/cache/openmediavault/archives ReleaseGet:3 file:/var/cache/openmediavault/archives PackagesIgn:3 file:/var/cache/openmediavault/archives PackagesGet:4 file:/var/cache/openmediavault/archives Translation-enIgn:4 file:/var/cache/openmediavault/archives Translation-enGet:3 file:/var/cache/openmediavault/archives PackagesIgn:3 file:/var/cache/openmediavault/archives PackagesGet:4 file:/var/cache/openmediavault/archives Translation-enIgn:4 file:/var/cache/openmediavault/archives Translation-enGet:3 file:/var/cache/openmediavault/archives PackagesIgn:3 file:/var/cache/openmediavault/archives PackagesGet:4 file:/var/cache/openmediavault/archives Translation-enIgn:4 file:/var/cache/openmediavault/archives Translation-enGet:3 file:/var/cache/openmediavault/archives Packageshttp://packages.openmediavault.org/public arrakis InRelease [12.8 kB]Get:7 download.docker.com/linux/debian stretch InRelease [44.8 kB]Ign:8 downloads.plex.tv/repo/deb public InReleaseGet:9 downloads.plex.tv/repo/deb public Release [5815 B]Ign:10 ftp.fi.debian.org/debian stretch InReleaseGet:11 downloads.plex.tv/repo/deb public Release.gpg [821 B]Get:12 packages.openmediavault.org/public arrakis/main i386 Packages [6130 B]Get:13 ftp.fi.debian.org/debian stretch-updates InRelease [91.0 kB]Get:14 openmediavault.github.io/packages arrakis InRelease [12.8 kB]Get:15 ftp.fi.debian.org/debian stretch Release [118 kB]Get:16 ftp.fi.debian.org/debian stretch Release.gpg [2434 B]Get:6 cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]Ign:17 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch InReleaseIgn:18 dl.bintray.com/openmediavault-…evelopers/arrakis-testing stretch InReleaseGet:19 ftp.fi.debian.org/debian stretch-updates/main Sources [13.4 kB]Ign:20 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch InReleaseGet:21 ftp.fi.debian.org/debian stretch-updates/main i386 Packages [27.4 kB]Get:22 ftp.fi.debian.org/debian stretch-updates/main Translation-en [11.3 kB]Get:23 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release [4389 B]Get:24 dl.bintray.com/openmediavault-…evelopers/arrakis-testing stretch Release [5214 B]Get:25 security.debian.org/debian-security stretch/updates InRelease [94.3 kB]Get:26 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch Release [3540 B]Get:27 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release.gpg [821 B]Get:28 ftp.fi.debian.org/debian stretch/main Sources [6745 kB]Get:29 openmediavault.github.io/packages arrakis/main i386 Packages [6130 B]Get:30 cdn-fastly.deb.debian.org/debian stretch-backports/main i386 Packages [597 kB]Get:31 cdn-fastly.deb.debian.org/debian stretch-backports/main Translation-en [463 kB]Get:32 ftp.fi.debian.org/debian stretch/main i386 Packages [7062 kB]Get:33 cdn-fastly.deb.debian.org/debian stretch-backports/contrib i386 Packages [10.5 kB]Get:34 cdn-fastly.deb.debian.org/debian stretch-backports/contrib Translation-en [7237 B]Get:35 cdn-fastly.deb.debian.org/debian stretch-backports/non-free i386 Packages [26.0 kB]Get:36 cdn-fastly.deb.debian.org/debian stretch-backports/non-free Translation-en [38.0 kB]Get:37 security.debian.org/debian-security stretch/updates/main Sources [212 kB]Get:38 security.debian.org/debian-security stretch/updates/main i386 Packages [504 kB]Get:39 ftp.fi.debian.org/debian stretch/main Translation-en [5384 kB]Get:40 dl.bintray.com/openmediavault-…evelopers/arrakis-testing stretch Release.gpg [821 B]Get:41 security.debian.org/debian-security stretch/updates/main Translation-en [225 kB]Get:42 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch Release.gpg [821 B]Get:43 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main i386 Packages [21.6 kB]Get:44 dl.bintray.com/openmediavault-…evelopers/arrakis-testing stretch/main i386 Packages [4657 B]Get:45 dl.bintray.com/openmediavault-…developers/arrakis-docker stretch/main i386 Packages [1270 B]Fetched 21.9 MB in 5s (4349 kB/s)Exception ignored in: .remove at 0xb71dbecc>Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in removeTypeError: 'NoneType' object is not callableException ignored in: .remove at 0xb71dbecc>Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in removeTypeError: 'NoneType' object is not callableReading package lists... DoneN: Skipping acquire of configured file 'stable/binary-i386/Packages' as repository 'https://download.docker.com/linux/debian stretch InRelease' doesn't support architecture 'i386'8. Saving current package list...
    • jackster wrote:

      (had to remove some unimportant lines due to the 10000 character limit):
      You can always paste the lines in a text file and attach the file.

      I don't see anything wrong there. What is the output of: apt-cache policy docker-ce
      omv 5.0.10 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.1
      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!
    • @jackster There is your problem. @KM0201 noticed what I didn't. You are using a 32 bit system. There is no plugin for 32 bit systems and no docker-ce package as well.
      omv 5.0.10 usul | 64 bit | 5.0 proxmox kernel | omvextrasorg 5.1.1
      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!
    • Well that's just great :D

      I don't understand how it is possible, back in the day I installed OMV from this ISO: openmediavault_4.1.3-amd64.iso

      At least that's the only OMV ISO I can find on my system. I have a 64-bit CPU (Intel Pentium G4560T) so I definitely haven't intended to install the 32-bit version of OMV but apparently that is what I have...

      uname -r
      4.19.0-0.bpo.5-686-pae


      Since it is not possible to change the version from 64-bit to 32-bit after it has been installed must mean that I somehow have installed the wrong version at the get-go, even though I can't find the ISO anymore.

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

    • jackster wrote:

      Well that's just great :D

      I don't understand how it is possible, back in the day I installed OMV from this ISO: openmediavault_4.1.3-amd64.iso

      At least that's the only OMV ISO I can find on my system. I have a 64-bit CPU (Intel Pentium G4560T) so I definitely haven't intended to install the 32-bit version of OMV but apparently that is what I have...

      uname -r
      4.19.0-0.bpo.5-686-pae


      Since it is not possible to change the version from 64-bit to 32-bit after it has been installed must mean that I somehow have installed the wrong version at the get-go, even though I can't find the ISO anymore.

      Weird.. as I recall... votdev didn't even release 32bit images of OMV 4. If you wanted to install 32bit OMV 4, you had to do a netinstall of Debian Stretch, and then install OMV on top of that. Did you install OMV over Debian for some reason on this system? It's possible you accidentally downloaded the 32bit version of Debian, and that's how this all happened.
      Air Conditioners are a lot like PC's... They work great until you open Windows.

    • Users Online 3

      3 Guests