RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    GPG Server Error when trying to update RetroPie packages

    Scheduled Pinned Locked Moved Help and Support
    gpg error
    16 Posts 5 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      va_lemon @va_lemon
      last edited by

      @BuZz If I go to keyserver.ubuntu.com and search for key DC9D77FF8208FFC51D8F50CCF1B030906A3B0D31 it says not found.

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @va_lemon
        last edited by

        It works if you search by 0x<hash>: http://keyserver.ubuntu.com/pks/lookup?search=0xDC9D77FF8208FFC51D8F50CCF1B030906A3B0D31&fingerprint=on&exact=on&op=index
        You can get the key from the search and import it locally, since it looks like your connection to the keyserver is not working properly.

        V 1 Reply Last reply Reply Quote 0
        • V
          va_lemon @mitu
          last edited by

          @mitu @BuZz Thanks to both of you for your incredible help. I imported the RetroPie public key which I was able to get by searching for 0xDC9D77FF8208FFC51D8F50CCF1B030906A3B0D31 on keyserver.ubuntu.com. The RetroPie Setup script is updating packages properly now.

          Now I'm curious as to why I'm able to access keyserver.ubuntu.com and search for the key from my desktop browser but get an error when using gpg on the Pi.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @va_lemon
            last edited by mitu

            @va_lemon said in GPG Server Error when trying to update RetroPie packages:

            Now I'm curious as to why I'm able to access keyserver.ubuntu.com and search for the key from my desktop browser but get an error when using gpg on the Pi.

            They're using different protocols - your browser is using HTTP(s), while gpg uses HKP (a similar protocol, but on a different port).

            I wonder if

            sudo gpg --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys DC9D77FF8208FFC51D8F50CCF1B030906A3B0D31
            

            would work for you ?

            1 Reply Last reply Reply Quote 2
            • P
              pumrum
              last edited by

              I ran into a similar issue today with a fresh install of RetroPie 4.6 on a RPi 3. I run a completely restricted iptables firewall, only allowing the Pi to connect on a small number of outgoing and incoming ports (22, 53, 68, 80, 123, 443). I found that I had to open port 11371 to allow the RetroPie setup script to update, which then allowed it to connect to the key server. I've been using the same firewall configuration for a few years on earlier versions of RetroPie without issues, but I found that I just also started to encounter the issue on my RetroPie 4.5 build, which has been in use since March 2020 without issue. Update problem probably started within the last 1-2 months.

              I think that begs the question -- did the retropie script get changed to not use port 80 for retrieving GPG keys? If so, could we politely request that it be changed back, unless there's a compelling reason to use the default port. It's always best to try to minimize the number of holes you need to poke through your firewall, and I suspect there are going to be a handful of people who may not even be allowed to connect out on port 11371.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @pumrum
                last edited by

                @pumrum said in GPG Server Error when trying to update RetroPie packages:

                I think that begs the question -- did the retropie script get changed to not use port 80 for retrieving GPG keys?

                The signing and verification of binary packages (with GPG) has been added recently - starting with version 4.6.8.

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by

                  I'll adjust it to use port 80

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators
                    last edited by

                    This is now done.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 2
                    • R
                      retronaff
                      last edited by

                      I'm having this issue currently. Cannot authenticate the GPG keys when I try to run /retropie_packages.sh sd12 install_bin

                      I get a 'gpgL no valid OpenGPP data found.
                      gpg: the signature could not be verified.

                      I just want to play super mario =O

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @retronaff
                        last edited by

                        @retronaff This is not the same error - it looks like a corrupted/wrong downloaded file.
                        Please open a separate topic and provide the info asked in https://retropie.org.uk/forum/topic/3/read-this-first.

                        Btw, you can play Super Mario without updating RetroPie, the necessary emulators are already installed on the image.

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          retronaff @mitu
                          last edited by

                          @mitu when i run emulationstation i get this error ;no available video device' ' error initializing sdl!'

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.