E. Failed to fetch ... Public key signature verification failed

    • OMV 4.x
    • Upgrade 3.x -> 4.x

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

    • E. Failed to fetch ... Public key signature verification failed

      Hi all,


      I made an upgrade on my NAS from OMV 3.x latest patch, to release > 4.1.16-2, by using the following commands as user root:


      apt-get update
      apt-get upgrade
      omv-release-upgrade
      omv-initsystem


      For me it seems to works fine and finished the upgrade successfully.


      Afterward I tried to install (upload) via the web interface the latest openmediavault-omvextrasorg_latest_all4.deb, but it fails with some errors.

      MV\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 InRelease

      Ign:1 file:/var/cache/openmediavault/archives InRelease Get:2 file:/var/cache/openmediavault/archives Release



      Ign:33 dl.bintray.com/openmediavault-plugin-developers/arrakis stretch/main Translation-de Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fd2db9257b8> 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 0x7fd2db9257b8> 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... W: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release' does not have a Release file. W: The repository 'https://openmediavault.github.io/packages arrakis Release' does not have a Release file. E: Failed to fetch dl.bintray.com/openmediavault-…ain/binary-amd64/Packages gnutls_handshake() failed: Public key signature verification has failed. E: Failed to fetch openmediavault.github.io/packa…main/binary-i386/Packages gnutls_handshake() failed: Public key signature verification has failed. E: Some index files failed to download. They have been ignored, or old ones used instead. in /usr/share/openmediavault/engined/rpc/apt.inc:220 Stack trace: #0 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMVRpcServiceApt->{closure}('/tmp/bgstatus77...', '/tmp/bgoutput87...') #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}
      ...



      So I executed in the putty terminal

      root@omv:~# apt-get update && apt-get upgrade

      Holen:1 file:/var/cache/openmediavault/archivesInRelease

      Ign:1 file:/var/cache/openmediavault/archivesInRelease

      Holen:2 file:/var/cache/openmediavault/archivesRelease



      Es wurden 1.713 kB in 6 s geholt (284 kB/s).

      Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at0x7f3b144eb7b8>

      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 at0x7f3b144eb7b8>

      Traceback (most recent call last):

      File "/usr/lib/python3.5/weakref.py", line 117, in remove

      TypeError: 'NoneType' object is not callable

      Paketlisten werden gelesen... Fertig

      W: The repository 'https://openmediavault.github.io/packages arrakis Release' does not have a Release file.

      N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

      N: See apt-secure(8) manpage for repository creation and user configuration details.

      W: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release' does not have a Release file.

      N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

      N: See apt-secure(8) manpage for repository creation and user configuration details.

      E: Fehlschlag beim Holen von openmediavault.github.io/packa…/Packagesgnutls_handshake() failed: Public key signatureverification has failed.

      E: Fehlschlag beim Holen von dl.bintray.com/openmediavault-…/Packagesgnutls_handshake() failed: Public key signature verification has failed.

      E: Einige Indexdateien konnten nicht heruntergeladen werden. Sie wurden ignoriert oder alte an ihrer Stelle benutzt.

      root@omv:~#


      So it seems that there is an issue with the “Public key signature verification”.

      Do you have a solution for this topic that can be used by a rookie?


      Thanks in advance
      R.
    • Try to reinstall the archive key file


      Shell-Script

      1. # wget -O "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc" https://packages.openmediavault.org/public/archive.key
      2. # apt-key add "/etc/apt/trusted.gpg.d/openmediavault-archive-keyring.asc"
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • Thank you very much for answering my question!


      The execution of the commands provided by you was successful, but unfortunately nothing has changed in the result.
      A new execution of the update management in the Web control panel brings the following information:
      ...
      W: The repository 'https://openmediavault.github.io/packages arrakis Release' does not have a Release file.
      W: The repository 'https://dl.bintray.com/openmediavault-plugin-developers/arrakis stretch Release' does not have a Release file.
      E: Failed to fetch openmediavault.github.io/packa…ain/binary-amd64/Packages gnutls_handshake() failed: Public key signature verification has failed.
      E: Failed to fetch dl.bintray.com/openmediavault-…ain/binary-amd64/Packages gnutls_handshake() failed: Public key signature verification has failed.
      E: Some index files failed to download. They have been ignored, or old ones used instead. in /usr/share/openmediavault/engined/rpc/apt.inc:220
      ...

      Is there any additional information I could provide for a possible solution?

      Thanks in advance
      R.
    • It would be better to do your tests via console, this will make the output more readable.

      Shell-Script

      1. # apt-get clean
      2. # apt-get update
      3. # apt-get upgrade
      Is it possible that your filesystem is corrupt?
      Absolutely no support through PM!

      I must not fear.
      Fear is the mind-killer.
      Fear is the little-death that brings total obliteration.
      I will face my fear.
      I will permit it to pass over me and through me.
      And when it has gone past I will turn the inner eye to see its path.
      Where the fear has gone there will be nothing.
      Only I will remain.

      Litany against fear by Bene Gesserit
    • I am seeing the same error on my server since recently. `gnutls_handshake() failed: Public key signature verification has failed.`

      @omv-nutzer: did you figure out a solution to this?

      edit:
      ok, I seem to have solved it manually by running

      Source Code

      1. apt-get install librtmp1=2.4+20151223.gitfa8646d.1-1+b1
      2. apt-get remove libgnutls-deb0-28
      3. omv-update

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