Problem adding ppa's in Deepin OS 15.4

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
4
down vote

favorite
1












I am running Deepin OS 15.4, which is based on Debian unstable.



When I type:



sudo add-apt-repository ppa:nilarimogard/webupd8


I get:



gpg: keybox '/tmp/tmpeel0gwwr/pubring.gpg' created
gpg: /tmp/tmpeel0gwwr/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.



Extension:



After installing gnupg2 and running the other command, I get:



gpg: keybox '/tmp/tmpiyqhvqsc/pubring.gpg' created
gpg: /tmp/tmpiyqhvqsc/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 474, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 432, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 430, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'


Extension:



Now after running the two mentioned commands it gives me the first error again.










share|improve this question























  • @peterh we can't edit bounty messages. Just leave a comment clarifying what you meant to say.
    – terdon♦
    Jun 13 '17 at 14:21










  • @terdon O.k., sorry.
    – peterh
    Jun 13 '17 at 14:23










  • @peterh no need to apologize, you did nothing wrong. Typos happen to the best of us. Sorry I couldn't be of more help.
    – terdon♦
    Jun 13 '17 at 14:24










  • Looks like gpg-agent is not running. Try to run gpg-agent --homedir /home/<your_user_name>/.gnupg --use-standard-socket --daemon and then retry those command that have failed.
    – ddnomad
    Jun 18 '17 at 14:17











  • @ddnomad when I run your command it tells me gpg-agent --homedir /home/alex/.gnupg --use-standard-socket --daemon gpg-agent[10904]: WARNING: "--use-standard-socket" is an obsolete option - it has no effect gpg-agent: a gpg-agent is already running - not starting a new one
    – The_Encoder
    Jun 18 '17 at 15:28















up vote
4
down vote

favorite
1












I am running Deepin OS 15.4, which is based on Debian unstable.



When I type:



sudo add-apt-repository ppa:nilarimogard/webupd8


I get:



gpg: keybox '/tmp/tmpeel0gwwr/pubring.gpg' created
gpg: /tmp/tmpeel0gwwr/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.



Extension:



After installing gnupg2 and running the other command, I get:



gpg: keybox '/tmp/tmpiyqhvqsc/pubring.gpg' created
gpg: /tmp/tmpiyqhvqsc/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 474, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 432, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 430, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'


Extension:



Now after running the two mentioned commands it gives me the first error again.










share|improve this question























  • @peterh we can't edit bounty messages. Just leave a comment clarifying what you meant to say.
    – terdon♦
    Jun 13 '17 at 14:21










  • @terdon O.k., sorry.
    – peterh
    Jun 13 '17 at 14:23










  • @peterh no need to apologize, you did nothing wrong. Typos happen to the best of us. Sorry I couldn't be of more help.
    – terdon♦
    Jun 13 '17 at 14:24










  • Looks like gpg-agent is not running. Try to run gpg-agent --homedir /home/<your_user_name>/.gnupg --use-standard-socket --daemon and then retry those command that have failed.
    – ddnomad
    Jun 18 '17 at 14:17











  • @ddnomad when I run your command it tells me gpg-agent --homedir /home/alex/.gnupg --use-standard-socket --daemon gpg-agent[10904]: WARNING: "--use-standard-socket" is an obsolete option - it has no effect gpg-agent: a gpg-agent is already running - not starting a new one
    – The_Encoder
    Jun 18 '17 at 15:28













up vote
4
down vote

favorite
1









up vote
4
down vote

favorite
1






1





I am running Deepin OS 15.4, which is based on Debian unstable.



When I type:



sudo add-apt-repository ppa:nilarimogard/webupd8


I get:



gpg: keybox '/tmp/tmpeel0gwwr/pubring.gpg' created
gpg: /tmp/tmpeel0gwwr/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.



Extension:



After installing gnupg2 and running the other command, I get:



gpg: keybox '/tmp/tmpiyqhvqsc/pubring.gpg' created
gpg: /tmp/tmpiyqhvqsc/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 474, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 432, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 430, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'


Extension:



Now after running the two mentioned commands it gives me the first error again.










share|improve this question















I am running Deepin OS 15.4, which is based on Debian unstable.



When I type:



sudo add-apt-repository ppa:nilarimogard/webupd8


I get:



gpg: keybox '/tmp/tmpeel0gwwr/pubring.gpg' created
gpg: /tmp/tmpeel0gwwr/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.



Extension:



After installing gnupg2 and running the other command, I get:



gpg: keybox '/tmp/tmpiyqhvqsc/pubring.gpg' created
gpg: /tmp/tmpiyqhvqsc/trustdb.gpg: trustdb created
gpg: key 531EE72F4C9D234C: public key "Launchpad webupd8" imported
gpg: Total number processed: 1
gpg: imported: 1
gpg: no valid OpenPGP data found.
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
self.run()
File "/usr/lib/python3.5/threading.py", line 862, in run
self._target(*self._args, **self._kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 688, in addkey_func
func(**kwargs)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 386, in add_key
return apsk.add_ppa_signing_key()
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 273, in add_ppa_signing_key
cleanup(tmp_keyring_dir)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 234, in cleanup
shutil.rmtree(tmp_keyring_dir)
File "/usr/lib/python3.5/shutil.py", line 474, in rmtree
_rmtree_safe_fd(fd, path, onerror)
File "/usr/lib/python3.5/shutil.py", line 432, in _rmtree_safe_fd
onerror(os.unlink, fullname, sys.exc_info())
File "/usr/lib/python3.5/shutil.py", line 430, in _rmtree_safe_fd
os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.ssh'


Extension:



Now after running the two mentioned commands it gives me the first error again.







debian command-line apt ppa






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 15 '17 at 14:52

























asked Jun 6 '17 at 15:32









The_Encoder

2113




2113











  • @peterh we can't edit bounty messages. Just leave a comment clarifying what you meant to say.
    – terdon♦
    Jun 13 '17 at 14:21










  • @terdon O.k., sorry.
    – peterh
    Jun 13 '17 at 14:23










  • @peterh no need to apologize, you did nothing wrong. Typos happen to the best of us. Sorry I couldn't be of more help.
    – terdon♦
    Jun 13 '17 at 14:24










  • Looks like gpg-agent is not running. Try to run gpg-agent --homedir /home/<your_user_name>/.gnupg --use-standard-socket --daemon and then retry those command that have failed.
    – ddnomad
    Jun 18 '17 at 14:17











  • @ddnomad when I run your command it tells me gpg-agent --homedir /home/alex/.gnupg --use-standard-socket --daemon gpg-agent[10904]: WARNING: "--use-standard-socket" is an obsolete option - it has no effect gpg-agent: a gpg-agent is already running - not starting a new one
    – The_Encoder
    Jun 18 '17 at 15:28

















  • @peterh we can't edit bounty messages. Just leave a comment clarifying what you meant to say.
    – terdon♦
    Jun 13 '17 at 14:21










  • @terdon O.k., sorry.
    – peterh
    Jun 13 '17 at 14:23










  • @peterh no need to apologize, you did nothing wrong. Typos happen to the best of us. Sorry I couldn't be of more help.
    – terdon♦
    Jun 13 '17 at 14:24










  • Looks like gpg-agent is not running. Try to run gpg-agent --homedir /home/<your_user_name>/.gnupg --use-standard-socket --daemon and then retry those command that have failed.
    – ddnomad
    Jun 18 '17 at 14:17











  • @ddnomad when I run your command it tells me gpg-agent --homedir /home/alex/.gnupg --use-standard-socket --daemon gpg-agent[10904]: WARNING: "--use-standard-socket" is an obsolete option - it has no effect gpg-agent: a gpg-agent is already running - not starting a new one
    – The_Encoder
    Jun 18 '17 at 15:28
















@peterh we can't edit bounty messages. Just leave a comment clarifying what you meant to say.
– terdon♦
Jun 13 '17 at 14:21




@peterh we can't edit bounty messages. Just leave a comment clarifying what you meant to say.
– terdon♦
Jun 13 '17 at 14:21












@terdon O.k., sorry.
– peterh
Jun 13 '17 at 14:23




@terdon O.k., sorry.
– peterh
Jun 13 '17 at 14:23












@peterh no need to apologize, you did nothing wrong. Typos happen to the best of us. Sorry I couldn't be of more help.
– terdon♦
Jun 13 '17 at 14:24




@peterh no need to apologize, you did nothing wrong. Typos happen to the best of us. Sorry I couldn't be of more help.
– terdon♦
Jun 13 '17 at 14:24












Looks like gpg-agent is not running. Try to run gpg-agent --homedir /home/<your_user_name>/.gnupg --use-standard-socket --daemon and then retry those command that have failed.
– ddnomad
Jun 18 '17 at 14:17





Looks like gpg-agent is not running. Try to run gpg-agent --homedir /home/<your_user_name>/.gnupg --use-standard-socket --daemon and then retry those command that have failed.
– ddnomad
Jun 18 '17 at 14:17













@ddnomad when I run your command it tells me gpg-agent --homedir /home/alex/.gnupg --use-standard-socket --daemon gpg-agent[10904]: WARNING: "--use-standard-socket" is an obsolete option - it has no effect gpg-agent: a gpg-agent is already running - not starting a new one
– The_Encoder
Jun 18 '17 at 15:28





@ddnomad when I run your command it tells me gpg-agent --homedir /home/alex/.gnupg --use-standard-socket --daemon gpg-agent[10904]: WARNING: "--use-standard-socket" is an obsolete option - it has no effect gpg-agent: a gpg-agent is already running - not starting a new one
– The_Encoder
Jun 18 '17 at 15:28











2 Answers
2






active

oldest

votes

















up vote
0
down vote













The following commands should import the key by hand:



sudo add-apt-key 531EE72F4C9D234C


Give it a try and report back.






share|improve this answer



























    up vote
    0
    down vote













    I believe that maybe the problem is that Alin's key is not available... please take a look at this example and you'll see in the second image that the public key should be something like




    "Launchpad webupd8 for ...."




    and yours only says "Launchpad webupd8"



    Have you already tried the Adding this PPA to your system from this link? if you have, then maybe you should contact Alin Andrei and report the issue.






    share|improve this answer




















      Your Answer







      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      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',
      convertImagesToLinks: false,
      noModals: false,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      bindNavPrevention: true,
      postfix: "",
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      );



      );













       

      draft saved


      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f369536%2fproblem-adding-ppas-in-deepin-os-15-4%23new-answer', 'question_page');

      );

      Post as a guest






























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      The following commands should import the key by hand:



      sudo add-apt-key 531EE72F4C9D234C


      Give it a try and report back.






      share|improve this answer
























        up vote
        0
        down vote













        The following commands should import the key by hand:



        sudo add-apt-key 531EE72F4C9D234C


        Give it a try and report back.






        share|improve this answer






















          up vote
          0
          down vote










          up vote
          0
          down vote









          The following commands should import the key by hand:



          sudo add-apt-key 531EE72F4C9D234C


          Give it a try and report back.






          share|improve this answer












          The following commands should import the key by hand:



          sudo add-apt-key 531EE72F4C9D234C


          Give it a try and report back.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Aug 14 '17 at 13:32









          M K

          63




          63






















              up vote
              0
              down vote













              I believe that maybe the problem is that Alin's key is not available... please take a look at this example and you'll see in the second image that the public key should be something like




              "Launchpad webupd8 for ...."




              and yours only says "Launchpad webupd8"



              Have you already tried the Adding this PPA to your system from this link? if you have, then maybe you should contact Alin Andrei and report the issue.






              share|improve this answer
























                up vote
                0
                down vote













                I believe that maybe the problem is that Alin's key is not available... please take a look at this example and you'll see in the second image that the public key should be something like




                "Launchpad webupd8 for ...."




                and yours only says "Launchpad webupd8"



                Have you already tried the Adding this PPA to your system from this link? if you have, then maybe you should contact Alin Andrei and report the issue.






                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I believe that maybe the problem is that Alin's key is not available... please take a look at this example and you'll see in the second image that the public key should be something like




                  "Launchpad webupd8 for ...."




                  and yours only says "Launchpad webupd8"



                  Have you already tried the Adding this PPA to your system from this link? if you have, then maybe you should contact Alin Andrei and report the issue.






                  share|improve this answer












                  I believe that maybe the problem is that Alin's key is not available... please take a look at this example and you'll see in the second image that the public key should be something like




                  "Launchpad webupd8 for ...."




                  and yours only says "Launchpad webupd8"



                  Have you already tried the Adding this PPA to your system from this link? if you have, then maybe you should contact Alin Andrei and report the issue.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Aug 19 '17 at 19:15









                  Christopher Díaz Riveros

                  1,238314




                  1,238314



























                       

                      draft saved


                      draft discarded















































                       


                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function ()
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f369536%2fproblem-adding-ppas-in-deepin-os-15-4%23new-answer', 'question_page');

                      );

                      Post as a guest













































































                      Popular posts from this blog

                      How to check contact read email or not when send email to Individual?

                      Bahrain

                      Postfix configuration issue with fips on centos 7; mailgun relay