OMV4 unmet dependencies

  • I used to run kernel 4.18 and after a downgrade to Proxmox 4.15 and re-set to 4.18, I am having problems booting properly. I think the package dependencies are mixed up.
    The OMV GUI is not accessible but I can SSH into the box.
    Omv-firstaid does not work.
    omv-update does not work either.


    What can I do ?



    root@openmediavault:~# dpkg -l | grep openm
    rc openmediavault 4.1.12 all openmediavault - The open network attached storage solution
    rc openmediavault-diskstats 4.0.2-1 all OpenMediaVault disk monitoring plugin
    rc openmediavault-downloader 3.6.2 all OpenMediaVault downloader plugin
    rc openmediavault-flashmemory 4.1 all folder2ram plugin for OpenMediaVault
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    rc openmediavault-omvextrasorg 4.1.11 all OMV-Extras.org Package Repositories for OpenMediaVault
    rc openmediavault-openvpn 4.0.1 all OpenVPN plugin for OpenMediaVault.
    rc openmediavault-resetperms 3.3 all Reset Permissions
    rc openmediavault-shellinabox 3.4 all Web-based SSH client.
    rc openmediavault-virtualbox 4.1.1 all VirtualBox plugin for OpenMediaVault.
    rc openmediavault-zfs 4.0.4 amd64 OpenMediaVault plugin for ZFS

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    Einmal editiert, zuletzt von MarcS ()

    • Offizieller Beitrag

    What can I do ?

    The 'rc' status of most of your packages means you uninstalled OMV. You can try reinstalling the package and plugins.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Thank you. I reinstalled everything and systems is stable. But when I press Check under Plugins I get this error. Any idea what I need to do?


    Many thanks


    Error #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; apt-get update 2>&1' with exit code '100': 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 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 PackagesGet:4 file:/var/cache/openmediavault/archives Translation-enIgn:4 file:/var/cache/openmediavault/archives Translation-enIgn:5 http://ftp.uk.debian.org/debian stretch InReleaseHit:6 http://ftp.uk.debian.org/debian stretch-updates InReleaseHit:7 http://packages.openmediavault.org/public arrakis InReleaseHit:8 http://ftp.uk.debian.org/debian stretch ReleaseIgn:9 https://downloads.plex.tv/repo/deb ./public InReleaseHit:10 https://downloads.plex.tv/repo/deb ./public ReleaseHit:11 https://openmediavault.github.io/packages arrakis InReleaseIgn:12 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch InReleaseHit:13 https://download.docker.com/linux/debian stretch InReleaseIgn:14 https://dl.bintray.com/openmed…n-developers/arrakis-plex stretch InReleaseIgn:15 https://dl.bintray.com/openmed…developers/arrakis-docker stretch InReleaseGet:16 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch Release [4389 B]Hit:16 https://dl.bintray.com/openmed…plugin-developers/arrakis stretch ReleaseGet:17 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]Get:18 https://dl.bintray.com/openmed…n-developers/arrakis-plex stretch Release [3540 B]Hit:18 https://dl.bintray.com/openmed…n-developers/arrakis-plex stretch ReleaseGet:21 https://dl.bintray.com/openmed…developers/arrakis-docker stretch Release [3540 B]Hit:21 https://dl.bintray.com/openmed…developers/arrakis-docker stretch ReleaseHit:25 http://download.proxmox.com/debian stretch InReleaseAppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/ftp.uk.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gzFetched 94.3 kB in 2s (43.1 kB/s)Reading package lists...E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'E: Sub-process returned an error code in /usr/share/openmediavault/engined/rpc/apt.inc:220Stack trace:#0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMVRpcServiceApt->{closure}('/tmp/bgstatusDz...', '/tmp/bgoutputIz...')#1 /usr/share/openmediavault/engined/rpc/apt.inc(224): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#2 [internal function]: OMVRpcServiceApt->update(NULL, Array)#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#4 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('update', NULL, Array)#5 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Apt', 'update', NULL, Array, 1)#6 {main}

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    try (as root)omv-aptclean which needs omv-extras installed.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hello - thanks for the tip. So I ran that and everything runs fine until Get49, where this error occurs:


    Get:49 http://ftp.uk.debian.org/debian stretch/main amd64 DEP-11 Metadata [3066 kB]
    Fetched 24.0 MB in 8s (2782 kB/s)
    AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/ftp.uk.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz
    Reading package lists... Done
    E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
    E: Sub-process returned an error code

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    /var/lib/app-info/yaml/ftp.uk.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz

    rm /var/lib/app-info/yaml/ftp.uk.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz
    then apt clean again.

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • HI. I tried that a few times but when I run omv-aptclean it keeps breaking at the same file.



    AppStream system cache was updated, but problems were found: Metadata files have errors: /var/lib/app-info/yaml/ftp.uk.debian.org_debian_dists_stretch_main_dep11_Components-amd64.yml.gz
    Reading package lists... Done
    E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
    E: Sub-process returned an error code

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    HI. I tried that a few times but when I run omv-aptclean it keeps breaking at the same file.

    I don't know why you have appstream installed (I really hope you don't have a desktop environment installed) but I would remove it

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    What is the output of: dpkg -l | grep -i apps

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • root@openmediavault:~# dpkg -l | grep -i apps
    ii appstream 0.10.6-2 amd64 Software component metadata management
    ii libappstream4:amd64 0.10.6-2 amd64 Library to access AppStream services

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

    • Offizieller Beitrag

    apt-get purge appstream libappstream4

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi. So I googled a bit and turns out that this appstream is a common problem and it is safe to remove. I did that with apt remove appstream. After that, I ran omv-aptclean again and it was successful. Now the "check" works again !!!
    Many thanks for your help!

    OMV6 i5-based PC

    OMV6 on Raspberry Pi4

    OMV5 on ProLiant N54L (AMD CPU)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!