Problem installing OMV on debian 9.5

    • OMV 4.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Problem installing OMV on debian 9.5

      Hello all, (sry for my English)

      I'm new on OMV.

      I have install it on my home NAS and one time on my cloud server (host : Kimsufi, a low-cost subsidiary of OVH) without many problem.

      But i try to reinstall it on my cloud server and i now have problems with public key. (note first install was on debian 9.4 and now it's on 9.5)

      Juste after a fresh install of debian 9.5 (auto-install with web interface) :

      Source Code

      1. root@toto:~# cat /etc/debian_version
      2. 9.5
      3. root@toto:~#
      4. root@toto:~# cat <<EOF >> /etc/apt/sources.list.d/openmediavault.list
      5. > deb http://packages.openmediavault.org/public arrakis main
      6. > # deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis main
      7. > ## Uncomment the following line to add software from the proposed repository.
      8. > # deb http://packages.openmediavault.org/public arrakis-proposed main
      9. > # deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis-proposed main
      10. > ## This software is not part of OpenMediaVault, but is offered by third-party
      11. > ## developers as a service to OpenMediaVault users.
      12. > # deb http://packages.openmediavault.org/public arrakis partner
      13. > # deb http://downloads.sourceforge.net/project/openmediavault/packages arrakis partner
      14. > EOF
      15. root@toto:~# export LANG=C
      16. root@toto:~# export DEBIAN_FRONTEND=noninteractive
      17. root@toto:~# export APT_LISTCHANGES_FRONTEND=none
      18. root@toto:~#
      19. root@toto:~# apt-get update
      20. Ign:1 http://debian.mirrors.ovh.net/debian stretch InRelease
      21. Get:2 http://debian.mirrors.ovh.net/debian stretch-updates InRelease [91.0 kB]
      22. Hit:3 http://security.debian.org/debian-security stretch/updates InRelease
      23. Get:4 http://debian.mirrors.ovh.net/debian stretch Release [118 kB]
      24. Get:5 https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian ovhkernel InRelease [4924 B]
      25. Get:7 http://packages.openmediavault.org/public arrakis InRelease [12.8 kB]
      26. Ign:7 http://packages.openmediavault.org/public arrakis InRelease
      27. Get:8 http://packages.openmediavault.org/public arrakis/main amd64 Packages [6457 B]
      28. Fetched 233 kB in 1s (144 kB/s)
      29. Reading package lists... Done
      30. W: GPG error: http://packages.openmediavault.org/public arrakis InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7E7A6C592EF35D13 NO_PUBKEY 24863F0C716B980B
      31. W: The repository 'http://packages.openmediavault.org/public arrakis InRelease' is not signed.
      32. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
      33. N: See apt-secure(8) manpage for repository creation and user configuration details.
      Display All
      Can you help me ?

      Thank you ! :) :) :)

      Have a nice day ;) ;)
    • thank you for your answer,

      this is the result :

      Source Code

      1. root@toto:~#
      2. root@toto:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7E7A6C592EF35D13 24863F0C716B980B
      3. Executing: /tmp/apt-key-gpghome.TYF1wel11v/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 7E7A6C592EF35D13 24863F0C716B980B
      4. gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
      5. gpg: connecting dirmngr at '/tmp/apt-key-gpghome.TYF1wel11v/S.dirmngr' failed: No such file or directory
      6. gpg: keyserver receive failed: No dirmngr
      7. root@toto:~#
    • thank you again,

      You're right it's not working :

      Source Code

      1. root@toto:~# apt install dirmngr dirmngr-client
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. E: Unable to locate package dirmngr-client
      6. root@toto:~#
      I test the install of OMV 3 for Debian 8 and i have the same issue "GPG error..."
    • Yes i have only a list of ISO that i can install on my server...

      Result :

      Source Code

      1. root@toto:~# apt install dirmngr
      2. Reading package lists... Done
      3. Building dependency tree
      4. Reading state information... Done
      5. Suggested packages:
      6. dbus-user-session libpam-systemd pinentry-gnome3 tor
      7. The following NEW packages will be installed:
      8. dirmngr
      9. 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
      10. Need to get 595 kB of archives.
      11. After this operation, 1,110 kB of additional disk space will be used.
      12. Get:1 http://debian.mirrors.ovh.net/debian stretch/main amd64 dirmngr amd64 2.1.18-8~deb9u2 [595 kB]
      13. Fetched 595 kB in 0s (1,179 kB/s)
      14. Selecting previously unselected package dirmngr.
      15. (Reading database ... 21647 files and directories currently installed.)
      16. Preparing to unpack .../dirmngr_2.1.18-8~deb9u2_amd64.deb ...
      17. Unpacking dirmngr (2.1.18-8~deb9u2) ...
      18. Processing triggers for man-db (2.7.6.1-2) ...
      19. Setting up dirmngr (2.1.18-8~deb9u2) ...
      20. root@toto:~#
      Display All
      It seems to be correct
    • Yeah TY It seems OK

      Source Code

      1. root@toto:~# apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 7E7A6C592EF35D13 24863F0C716B980B
      2. Executing: /tmp/apt-key-gpghome.8MmduOZ6DU/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 7E7A6C592EF35D13 24863F0C716B980B
      3. gpg: key 24863F0C716B980B: public key "OpenMediaVault.org (OpenMediaVault packages archive) <packages@openmediavault.org>" imported
      4. gpg: key 7E7A6C592EF35D13: public key "OpenMediaVault.org (OpenMediaVault packages archive) <packages@openmediavault.org>" imported
      5. gpg: Total number processed: 2
      6. gpg: imported: 2
      7. root@toto:~#
    • I execute the next commmand :

      Source Code

      1. apt-get update
      2. apt-get --allow-unauthenticated install openmediavault-keyring
      3. apt-get update
      4. apt-get --yes --auto-remove --show-upgraded \
      5. --allow-downgrades --allow-change-held-packages \
      6. --no-install-recommends \
      7. --option Dpkg::Options::="--force-confdef" \
      8. --option DPkg::Options::="--force-confold" \
      9. install postfix openmediavault
      10. # Initialize the system and database.
      11. omv-initsystem
      Display All

      Result of :
      apt-get --yes --auto-remove --show-upgraded \
      --allow-downgrades --allow-change-held-packages \
      --no-install-recommends \
      --option Dpkg::Options::="--force-confdef" \
      --option DPkg::Options::="--force-confold" \
      install postfix openmediavault

      Lot of :
      - No such file or directory
      - WARNING

      Source Code

      1. ifquery: couldn't open interfaces file "/etc/network/interfaces": No such file or directory
      2. ifquery: couldn't open interfaces file "/etc/network/interfaces": No such file or directory
      3. libkmod: ERROR ../libkmod/libkmod-module.c:1655 kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
      4. Error: could not get list of modules: No such file or directory
      5. depmod: ERROR: could not open directory /lib/modules/4.9.124-xxxx-std-ipv6-64: No such file or directory
      6. depmod: FATAL: could not search modules: No such file or directory
      7. depmod: WARNING: could not open /var/tmp/mkinitramfs_vy6PFU/lib/modules/4.9.124-xxxx-std-ipv6-64/modules.order: No such file or directory
      8. depmod: WARNING: could not open /var/tmp/mkinitramfs_vy6PFU/lib/modules/4.9.124-xxxx-std-ipv6-64/modules.builtin: No such file or directory
      9. ifquery: couldn't open interfaces file "/etc/network/interfaces": No such file or directory
      10. ifquery: couldn't open interfaces file "/etc/network/interfaces": No such file or directory
      11. grep: /etc/postfix/dynamicmaps.cf: No such file or directory
      12. Warning: The home dir /run/proftpd you specified can't be accessed: No such file or directory
      13. /usr/bin/deb-systemd-helper: error: systemctl preset failed on samba-ad-dc.service: No such file or directory
      14. depmod: ERROR: could not open directory /lib/modules/4.9.124-xxxx-std-ipv6-64: No such file or directory
      15. depmod: FATAL: could not search modules: No such file or directory
      16. depmod: WARNING: could not open /var/tmp/mkinitramfs_wJGGxo/lib/modules/4.9.124-xxxx-std-ipv6-64/modules.order: No such file or directory
      17. depmod: WARNING: could not open /var/tmp/mkinitramfs_wJGGxo/lib/modules/4.9.124-xxxx-std-ipv6-64/modules.builtin: No such file or directory
      18. depmod: ERROR: could not open directory /lib/modules/4.9.124-xxxx-std-ipv6-64: No such file or directory
      19. depmod: FATAL: could not search modules: No such file or directory
      20. depmod: WARNING: could not open /var/tmp/mkinitramfs_255GYx/lib/modules/4.9.124-xxxx-std-ipv6-64/modules.order: No such file or directory
      21. depmod: WARNING: could not open /var/tmp/mkinitramfs_255GYx/lib/modules/4.9.124-xxxx-std-ipv6-64/modules.builtin: No such file or directory
      22. grep: /etc/network/interfaces: No such file or directory
      23. grep: /etc/network/interfaces: No such file or directory
      24. cp: cannot stat '/etc/network/interfaces': No such file or directory
      Display All

      Result of the last command : omv-initsystem

      Source Code

      1. root@toto:~# omv-initsystem
      2. grep: /etc/network/interfaces: No such file or directory
      3. grep: /etc/network/interfaces: No such file or directory
      4. cp: cannot stat '/etc/network/interfaces': No such file or directory
      5. run-parts: /usr/share/openmediavault/initsystem/40interfaces exited with return code 1
      6. root@toto:~#

      But i can access to the web interface.

      Is it normal ?

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