Results 1 to 4 of 4

Thread: gpg: no valid OpenPGP data found

  1. #1
    Join Date
    Sep 2009
    Beans
    29
    Distro
    Ubuntu 12.04 Precise Pangolin

    gpg: no valid OpenPGP data found

    I am trying to install gstreamer-sdk for ubuntu 12.04

    When i run this command:
    Code:
    wget -q -O - http://www.freedesktop.org/software/gstreamer-sdk/sdk.gpg | sudo apt-key add -
    to install gpg keys,it gives me an error after some time:
    Code:
    gpg: no valid OpenPGP data found
    Don't know what is GPG keys,and how to resolve this issue.

    I have checked the proxy settings and both $http_proxy and $https_proxy are correctly set.

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,528
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: gpg: no valid OpenPGP data found

    prkhr4u; Hi !

    Here is one way to get the key, and the explanation of what and why:

    "Authentication keys" are usually obtained from the maintainer of the software repository. The maintainer will often place a copy of the authentication key on a public key server such as www.keyserver.net, but you need the "key hash" to find it. For instance, the PPA for Mozilla Team. If you go to its web page (https://launchpad.net/~mozillateam/+archive/ppa), you'll find the text snippet "Signing key: 1024R/CE49EC21"; the latter part of this is the key hash (CE49EC21).

    Once the key hash is known, the key can then be retrieved using the command:

    gpg --keyserver [name of keyserver] --recv-keys [keyhash]
    For instance, you could import the maintainer's authentication key, whose hash is CE49EC21, as follows:
    gpg --keyserver subkeys.pgp.net --recv-keys CE49EC21
    Then, add the key to Ubuntu's apt trusted keys database with the following command:
    gpg --export --armor CE49EC21 | sudo apt-key add -
    Note there's a dash at the end of the line.

    There are other ways to authenticate, but this may be the more direct.

    just try'n to help
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Sep 2009
    Beans
    29
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: gpg: no valid OpenPGP data found

    Thank you very much for the precise and lucid explanation.
    I finally got it working this way (for gstreamer sdk)
    The key hash I found using
    Code:
    sudo apt-get update
    and came out to : 1900C4BE
    then I requested the key this way:
    Code:
    gpg --keyserver http://www.freedesktop.org/software/gstreamer-sdk/sdk.gpg --recv-keys 1900C4BE
    and finally added it to Ubuntu's key database:
    Code:
    gpg --export --armor 1900C4BE|sudo apt-key add -

  4. #4
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    13,528
    Distro
    Xubuntu 18.04 Bionic Beaver

    Re: gpg: no valid OpenPGP data found

    prkhr4u; You do good work !

    Appreciate that you provided your solution.
    It corroborates when others seek in a similar situation.

    can't keep a good
    operating system down
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •