Apt-Get Issues

  • Hey everybody,


    After upgrade I completely destroyed my install - which may have been my fault and doesn't need to be discussed.


    In order to fix my setup, I uninstalled OMV. After that I did the upgrade to latest stretch.


    No I want to install OMV again, but I'm getting the following issues after adding the repository to sources.list.d:

    Code
    Paketlisten werden gelesen... Fertig
    W: GPG-Fehler: http://packages.openmediavault.org/public arrakis InRelease: Die folgenden Signaturen waren ungültig: 0F6BCC17C26BFADC27F221007E7A6C592EF35D13 Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 24863F0C716B980B
    W: The repository 'http://packages.openmediavault.org/public arrakis InRelease' is not signed.
    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.


    Did anybody experience those kind of issues before?



    UPDATE 22.12.297:


    I now completely reinstalled because I thought that I may have corrupted some of the configs...
    However:



  • It seems the gpg keys aren't installed. What is the output of:


    cat /etc/apt/sources.list
    cat /etc/apt/sources.list.d/*
    ls -al /etc/apt//etc/apt/trusted.gpg.d/

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


  • Keys are there. You shouldn't add trusted=yes to any repos though. What is the output of: omv-aptclean

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

  • it's actually the same output...


    I just tried if it makes any difference if I add trusted.
    Actually I will remove this again...

  • it's actually the same output...

    But I wanted to see all of it.


    I think you should reinstall again and get it working before adding other repos (like docker which you really should add with omv-extras since it can enable the same repo you are adding).

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

  • Ok... I started from scratch.


    1. Install Debian 9.2
    2. Add Openmediavault apt source
    3. install Openmediavault keyring


    1 (ignored issue so far)

    Code
    OK:11 http://ftp.de.debian.org/debian stretch Release
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fd63695b730>
    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 0x7fd63695b730>
    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


    Then I installed omv-extras using dpkg:


    Code
    sudo dpkg -i openmediavault-omvextrasorg_latest_all4.deb


    After installing:


    (see Pastebin: https://pastebin.com/Vkhd17X3)

  • Is there a reason you don't use the OMV install ISO? Do you have a desktop environment installed?


    The python error is a known error at the Debian level and should not affect anything.


    Did you execute apt-get -f install after install omv-extras? It should install dirmngr.


    You can go to https://dl.bintray.com/openmed…kis/dists/stretch/Release and see there is a release file. I'm not sure why your system says there isn't. It is working on all of my OMV 4.x systems.

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

  • The main reason was that I had a Debian 9.2 install disc available either way, so I just didn't try to use the OMV ISO installer.


    There is no desktop environment installed as this is a headless machine.


    I tried to use apt-get install -f but it didn't fix anything.


    The strange thing is, that the sources seem to be broken even after uninstalling omv-extras.


    I already tried to manually download the Release file just to see if my DNS cannot resolve the URL.


    It looks like something is messed up regarding the ca-certificates after installing omvextras:


    Code
    [bbsan@omvserver ~]$ wget https://dl.bintray.com/openmediavault-plugin-developers/arrakis/dists/stretch/Release
    --2017-12-28 15:44:17-- https://dl.bintray.com/openmediavault-plugin-developers/arrakis/dists/stretch/Release
    Auflösen des Hostnamens »dl.bintray.com (dl.bintray.com)« … 159.122.18.156
    Verbindungsaufbau zu dl.bintray.com (dl.bintray.com)|159.122.18.156|:443 … verbunden.
    FEHLER: Dem Zertifikat von »dl.bintray.com« wird nicht vertraut.
    FEHLER: Das Zertifikat von »»dl.bintray.com«« wurde von einem unbekannten Austeller herausgegeben.
    [bbsan@omvserver ~]$
  • I tried to use apt-get install -f but it didn't fix anything.

    What is the output of: dpkg -l | grep -E "openm|mngr" and apt-key list

    It looks like something is messed up regarding the ca-certificates after installing omvextras:

    omv-extras doesn't do anything with ca-certificates. It just places armored gpg keys in /etc/apt/trusted.gpg.d/

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

  • Code
    root@omvserver:/home/bbsan# dpkg -l | grep -E "openm|mngr"
    ii dirmngr 2.1.18-8~deb9u1 amd64 GNU privacy guard - network certificate management service
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    root@omvserver:/home/bbsan#


  • Your output tells me that neither openmediavault nor omv-extras is installed. All you have installed in the openmediavault-keyring package that provides the repo key for openmediavault.

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

  • Sry, here we go again:

    Code
    root@omvserver:/home/bbsan# dpkg -l | grep -E "openm|mngr"
    ii dirmngr 2.1.18-8~deb9u1 amd64 GNU privacy guard - network certificate management service
    ii openmediavault 4.0.15-1 all openmediavault - The open network attached storage solution
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-omvextrasorg 4.1.2 all OMV-Extras.org Package Repositories for OpenMediaVault
    root@omvserver:/home/bbsan#



  • I know bintray (that hosts omv-extras packages) has issue from time to time but I'm not seeing any issues on my system. I'm not sure what is causing your issue. Maybe a firewall/proxy/something else blocking it??

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

  • Hmm I may have found something...


    It actually looks like essentially all https repositories refuse to work...


    My sources.list:



    My sources.list.d/

    Code
    [bbsan@omvserver ~]$ cat /etc/apt/sources.list.d/openmediavault.list
    #deb http://packages.openmediavault.org/public/ arrakis main
    deb https://openmediavault.github.io/packages/ arrakis main
    # deb http://downloads.sourceforge.net/project/openmediavault/packages/ arrakis main

    When I uncomment the first line and comment the second line it works.


    Any suggestions?

Participate now!

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