How to handle phalconphp GPG issue












2















I'm trying to update my nodejs installation, and phalconphp is getting in the way. When I run apt-get update, I get this complaint



Err:13 https://packagecloud.io/phalcon/stable/ubuntu xenial InRelease                                        
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4166E80CDCF8B31B


Following the advice of several threads (such as this one), I've tried to fetch the GPG key:



sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 4166E80CDCF8B31B


Results in



gpg: requesting key DCF8B31B from hkp server keyserver.ubuntu.com
gpgkeys: key 4166E80CDCF8B31B not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: key not found
gpg: keyserver communications error: bad public key
gpg: keyserver receive failed: bad public key


So how do I figure out which server should have the GPG key?










share|improve this question





























    2















    I'm trying to update my nodejs installation, and phalconphp is getting in the way. When I run apt-get update, I get this complaint



    Err:13 https://packagecloud.io/phalcon/stable/ubuntu xenial InRelease                                        
    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4166E80CDCF8B31B


    Following the advice of several threads (such as this one), I've tried to fetch the GPG key:



    sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 4166E80CDCF8B31B


    Results in



    gpg: requesting key DCF8B31B from hkp server keyserver.ubuntu.com
    gpgkeys: key 4166E80CDCF8B31B not found on keyserver
    gpg: no valid OpenPGP data found.
    gpg: Total number processed: 0
    gpg: keyserver communications error: key not found
    gpg: keyserver communications error: bad public key
    gpg: keyserver receive failed: bad public key


    So how do I figure out which server should have the GPG key?










    share|improve this question



























      2












      2








      2








      I'm trying to update my nodejs installation, and phalconphp is getting in the way. When I run apt-get update, I get this complaint



      Err:13 https://packagecloud.io/phalcon/stable/ubuntu xenial InRelease                                        
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4166E80CDCF8B31B


      Following the advice of several threads (such as this one), I've tried to fetch the GPG key:



      sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 4166E80CDCF8B31B


      Results in



      gpg: requesting key DCF8B31B from hkp server keyserver.ubuntu.com
      gpgkeys: key 4166E80CDCF8B31B not found on keyserver
      gpg: no valid OpenPGP data found.
      gpg: Total number processed: 0
      gpg: keyserver communications error: key not found
      gpg: keyserver communications error: bad public key
      gpg: keyserver receive failed: bad public key


      So how do I figure out which server should have the GPG key?










      share|improve this question
















      I'm trying to update my nodejs installation, and phalconphp is getting in the way. When I run apt-get update, I get this complaint



      Err:13 https://packagecloud.io/phalcon/stable/ubuntu xenial InRelease                                        
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4166E80CDCF8B31B


      Following the advice of several threads (such as this one), I've tried to fetch the GPG key:



      sudo gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv 4166E80CDCF8B31B


      Results in



      gpg: requesting key DCF8B31B from hkp server keyserver.ubuntu.com
      gpgkeys: key 4166E80CDCF8B31B not found on keyserver
      gpg: no valid OpenPGP data found.
      gpg: Total number processed: 0
      gpg: keyserver communications error: key not found
      gpg: keyserver communications error: bad public key
      gpg: keyserver receive failed: bad public key


      So how do I figure out which server should have the GPG key?







      apt gnupg






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 22 at 13:20







      quickshiftin

















      asked Jan 18 at 23:48









      quickshiftinquickshiftin

      489




      489






















          1 Answer
          1






          active

          oldest

          votes


















          2














          I got it by re-running the phalcon install script



          curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash


          This script has the URL to the correct key server and runs apt-get add on it (relevant portions here, feel free to read through the entire script though)



          gpg_key_url="https://packagecloud.io/phalcon/stable/gpgkey"
          # ...
          curl -L "${gpg_key_url}" 2> /dev/null | apt-key add - &>/dev/null





          share|improve this answer


























          • How did that solve the missing key problem? I'm guessing it installed a newer key itself? You didn't need to run apt-key, or maybe the script did?

            – Xen2050
            Jan 19 at 3:14











          • @Xen2050, the script has the correct URL for the key server and runs apt-key add. I've updated the answer with some details.

            – quickshiftin
            Jan 20 at 20:48











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111011%2fhow-to-handle-phalconphp-gpg-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          I got it by re-running the phalcon install script



          curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash


          This script has the URL to the correct key server and runs apt-get add on it (relevant portions here, feel free to read through the entire script though)



          gpg_key_url="https://packagecloud.io/phalcon/stable/gpgkey"
          # ...
          curl -L "${gpg_key_url}" 2> /dev/null | apt-key add - &>/dev/null





          share|improve this answer


























          • How did that solve the missing key problem? I'm guessing it installed a newer key itself? You didn't need to run apt-key, or maybe the script did?

            – Xen2050
            Jan 19 at 3:14











          • @Xen2050, the script has the correct URL for the key server and runs apt-key add. I've updated the answer with some details.

            – quickshiftin
            Jan 20 at 20:48
















          2














          I got it by re-running the phalcon install script



          curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash


          This script has the URL to the correct key server and runs apt-get add on it (relevant portions here, feel free to read through the entire script though)



          gpg_key_url="https://packagecloud.io/phalcon/stable/gpgkey"
          # ...
          curl -L "${gpg_key_url}" 2> /dev/null | apt-key add - &>/dev/null





          share|improve this answer


























          • How did that solve the missing key problem? I'm guessing it installed a newer key itself? You didn't need to run apt-key, or maybe the script did?

            – Xen2050
            Jan 19 at 3:14











          • @Xen2050, the script has the correct URL for the key server and runs apt-key add. I've updated the answer with some details.

            – quickshiftin
            Jan 20 at 20:48














          2












          2








          2







          I got it by re-running the phalcon install script



          curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash


          This script has the URL to the correct key server and runs apt-get add on it (relevant portions here, feel free to read through the entire script though)



          gpg_key_url="https://packagecloud.io/phalcon/stable/gpgkey"
          # ...
          curl -L "${gpg_key_url}" 2> /dev/null | apt-key add - &>/dev/null





          share|improve this answer















          I got it by re-running the phalcon install script



          curl -s "https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh" | sudo bash


          This script has the URL to the correct key server and runs apt-get add on it (relevant portions here, feel free to read through the entire script though)



          gpg_key_url="https://packagecloud.io/phalcon/stable/gpgkey"
          # ...
          curl -L "${gpg_key_url}" 2> /dev/null | apt-key add - &>/dev/null






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jan 20 at 20:48

























          answered Jan 18 at 23:54









          quickshiftinquickshiftin

          489




          489













          • How did that solve the missing key problem? I'm guessing it installed a newer key itself? You didn't need to run apt-key, or maybe the script did?

            – Xen2050
            Jan 19 at 3:14











          • @Xen2050, the script has the correct URL for the key server and runs apt-key add. I've updated the answer with some details.

            – quickshiftin
            Jan 20 at 20:48



















          • How did that solve the missing key problem? I'm guessing it installed a newer key itself? You didn't need to run apt-key, or maybe the script did?

            – Xen2050
            Jan 19 at 3:14











          • @Xen2050, the script has the correct URL for the key server and runs apt-key add. I've updated the answer with some details.

            – quickshiftin
            Jan 20 at 20:48

















          How did that solve the missing key problem? I'm guessing it installed a newer key itself? You didn't need to run apt-key, or maybe the script did?

          – Xen2050
          Jan 19 at 3:14





          How did that solve the missing key problem? I'm guessing it installed a newer key itself? You didn't need to run apt-key, or maybe the script did?

          – Xen2050
          Jan 19 at 3:14













          @Xen2050, the script has the correct URL for the key server and runs apt-key add. I've updated the answer with some details.

          – quickshiftin
          Jan 20 at 20:48





          @Xen2050, the script has the correct URL for the key server and runs apt-key add. I've updated the answer with some details.

          – quickshiftin
          Jan 20 at 20:48


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1111011%2fhow-to-handle-phalconphp-gpg-issue%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents