OMV Extras Install

  • So I formatted my drive from omv 3, and did a fresh omv 5 install.
    The installation went fine, and I did the omv-update as well.


    However, installing the omvextras package - It just keeps failing.
    I downloaded the latest .deb, but the install still fails


    DNS works, all repos resolve/update



    Output:


    =========================================================================
    root@openmediavault:~# dpkg -i openmediavault-omvextrasorg_latest_all5.deb
    Selecting previously unselected package openmediavault-omvextrasorg.
    (Reading database ... 48178 files and directories currently installed.)
    Preparing to unpack openmediavault-omvextrasorg_latest_all5.deb ...
    Unpacking openmediavault-omvextrasorg (5.1.11) ...
    Setting up openmediavault-omvextrasorg (5.1.11) ...
    Updating configuration database ...
    dpkg: error processing package openmediavault-omvextrasorg (--install):
    installed openmediavault-omvextrasorg package post-installation script subprocess returned error exit status 1
    Processing triggers for openmediavault (5.2.3-2) ...
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-omvextrasorg
    =========================================================================
    root@openmediavault:~# apt install -f
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up openmediavault-omvextrasorg (5.1.11) ...
    Updating configuration database ...
    dpkg: error processing package openmediavault-omvextrasorg (--configure):
    installed openmediavault-omvextrasorg package post-installation script subprocess returned error exit status 1
    Processing triggers for openmediavault (5.2.3-2) ...
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-omvextrasorg
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    =========================================================================
    root@openmediavault:~# dpkg -l |grep omv
    iF openmediavault-omvextrasorg 5.1.11 all OMV-Extras.org Package Repositories for OpenMediaVault
    =========================================================================
    root@openmediavault:~# uname -a
    Linux openmediavault 5.4.0-0.bpo.2-amd64 #1 SMP Debian 5.4.8-1~bpo10+1 (2020-01-07) x86_64 GNU/Linux
    root@openmediavault:~#
    =========================================================================


    I did read the postinst file, and tried to run the omv-salt manually.


    Output:


    =========================================================================


    root@openmediavault:/var/lib/dpkg/info# omv-salt deploy run omvextras
    debian:
    ----------
    ID: configure_apt_sources_list_omvextras
    Function: file.managed
    Name: /etc/apt/sources.list.d/omvextras.list
    Result: False
    Comment: Unable to manage file: none of the specified sources were found
    Started: 17:56:29.348917
    Duration: 24.947 ms
    Changes:
    ----------
    ID: configure_apt_pref_omvextras
    Function: file.managed
    Name: /etc/apt/preferences.d/omvextras.pref
    Result: False
    Comment: Unable to manage file: none of the specified sources were found
    Started: 17:56:29.373972
    Duration: 1.779 ms
    Changes:
    ----------
    ID: refresh_database_apt
    Function: module.run
    Name: pkg.refresh_db
    Result: True
    Comment:
    Started: 17:56:29.376169
    Duration: 0.294 ms
    Changes:



    Summary for debian
    ------------
    Succeeded: 1
    Failed: 2
    ------------
    Total states run: 3



    If you need any additional info, please let me know.
    Right now I am at a loss

  • Hi Macom,
    Thanks for the reply. I did try that first - without any luck.
    I removed the extras package, and ran it again via the install script:


    root@openmediavault:~# wget -O - https://github.com/OpenMediaVa…ckages/raw/master/install | bash
    --2020-01-19 18:09:29-- https://github.com/OpenMediaVa…ckages/raw/master/install
    Resolving github.com (github.com)... 140.82.118.3
    Connecting to github.com (github.com)|140.82.118.3|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://raw.githubusercontent.…s/packages/master/install [following]
    --2020-01-19 18:09:30-- https://raw.githubusercontent.…s/packages/master/install
    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1224 (1.2K) [text/plain]
    Saving to: 'STDOUT'



    - 100%[==================================================================================================>] 1.20K --.-KB/s in 0s



    2020-01-19 18:09:31 (38.4 MB/s) - written to stdout [1224/1224]



    5
    Downloading omv-extras.org plugin for openmediavault 5.x ...
    --2020-01-19 18:09:31-- https://github.com/OpenMediaVa…extrasorg_latest_all5.deb
    Resolving github.com (github.com)... 140.82.118.3
    Connecting to github.com (github.com)|140.82.118.3|:443... connected.
    HTTP request sent, awaiting response... 302 Found
    Location: https://raw.githubusercontent.…extrasorg_latest_all5.deb [following]
    --2020-01-19 18:09:32-- https://raw.githubusercontent.…extrasorg_latest_all5.deb
    Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
    Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 69608 (68K) [application/octet-stream]
    Saving to: 'openmediavault-omvextrasorg_latest_all5.deb'



    openmediavault-omvextrasorg_latest_all5.deb 100%[==================================================================================================>] 67.98K --.-KB/s in 0.002s



    2020-01-19 18:09:32 (42.9 MB/s) - 'openmediavault-omvextrasorg_latest_all5.deb' saved [69608/69608]



    Selecting previously unselected package openmediavault-omvextrasorg.
    (Reading database ... 48234 files and directories currently installed.)
    Preparing to unpack openmediavault-omvextrasorg_latest_all5.deb ...
    Unpacking openmediavault-omvextrasorg (5.1.11) ...
    Setting up openmediavault-omvextrasorg (5.1.11) ...
    Updating configuration database ...
    dpkg: error processing package openmediavault-omvextrasorg (--install):
    installed openmediavault-omvextrasorg package post-installation script subprocess returned error exit status 1
    Processing triggers for openmediavault (5.2.3-2) ...
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-omvextrasorg
    Installing other dependencies ...
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up openmediavault-omvextrasorg (5.1.11) ...
    Updating configuration database ...
    dpkg: error processing package openmediavault-omvextrasorg (--configure):
    installed openmediavault-omvextrasorg package post-installation script subprocess returned error exit status 1
    Processing triggers for openmediavault (5.2.3-2) ...
    Updating locale files ...
    Updating file permissions ...
    Purging internal cache ...
    Restarting engine daemon ...
    Errors were encountered while processing:
    openmediavault-omvextrasorg
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  • Hi,


    On a fresh install I also get the exact same problem during installation of OMV Extras->



    And when trying to activate it in GUI I get this error->

  • I did a new fresh install once again and this time it worked out ok.


    This time I only did OMV update under Update management tab and rebooted, nothing else.
    Then I installed the OMV Extras with the script.


    Very weird error indeed. After all OMV 5 is still in beta status?

  • Seems to be a salt cache issue but I'm not sure how to get to that state or how to prevent it. I will try a few more things.


    I would consider OMV 5 to be in the release candidate stage.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

  • Also tried with as root with SSH and get the following terminal output:

    What do you get when you try to install dirmngr with: apt-get install dirmngr

    Should also mention and seen in another thread, I had severe issues with Network on installation of OMV5. Could be as a result of the issue/broken packages.

    If the issues were wireless issue, that doesn't surprise. Otherwise, I don't understand network issues other than some people not realizing that the ip address might change when the install script uses systemd-networkd instead of network-manager.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

  • get the following from your command:

    ok. It looks like you might have gnupg (or another dependency) installed from backports. what is the output from: apt-cache policy gnupg dirmngr

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

  • Get the following:

    I see backports there but your regular Debian repos have something wrong with them. Did you install without an internet connection? Can you post the output of:


    apt-get update

    cat /etc/apt/sources.list

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

  • Hi Ryecoaaron,


    Yes the install didn't go as planned, could not connect to the mirror sites (happened on 2 separate wired machines). No one has been able to tell me why yet either. I had thought it was related to IPv6, my iSP Router etc. Still don't know why.


    Output from apt-get update:



    Output from cat /etc/apt/sources.list:



    Initially I was working with Macom to add a nameserver as initially we could not reach outside my LAN.

  • Yes the install didn't go as planned, could not connect to the mirror sites (happened on 2 separate wired machines). No one has been able to tell me why yet either. I had thought it was related to IPv6, my iSP Router etc. Still don't know why

    And this is why the installation is failing. If you only have backport repos, then not much is going to work. You need to fix your Debian repos (lots of threads on here about that) before the install will work.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

  • Thanks Ryecoaaron,


    Appreciate the feedback, could you kindly suggest an appropriate thread that I may use to install/repair said packages please? In addition, any thoughts on why this occurred on two different hardwired machines.


    Completely understand that you have many folks to assist, would clearly appreciate a pointer in the general direction if you could be so kind.


    I would go and reinstall again as it sounds easier than with my basic understanding of the system itself, however I believe I will get back to the same place with the issue not being able to get to the mirror sites as previously, still not sure how/why that happens (two different machines).


    Thanks again, ryecoaaron.


    Would this be somewhere to start, and if so which packages:



    I'm also trying:


    sudo apt-get update --fix-missing

  • ould you kindly suggest an appropriate thread that I may use to install/repair said packages please?

    The packages aren't broken. The repos in your /etc/apt/sources.list are. If you just put the following in that file:


    deb http://deb.debian.org/debian/ buster main contrib non-free

    deb http://deb.debian.org/debian/ buster-updates main contrib non-free

    deb http://security.debian.org/debian-security buster/updates main contrib non-free


    Then


    apt-get update

    apt-get -f install


    In addition, any thoughts on why this occurred on two different hardwired machines.

    Hard-wired doesn't mean it will get an IP address or find the network adapter. Your system might not have been able to resolve DNS as well.

    omv 5.5.2 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3.3
    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!

Participate now!

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