Problem adding ppa's in Deepin OS 15.4

5,322

Solution 1

The following commands should import the key by hand:

sudo add-apt-key 531EE72F4C9D234C

Give it a try and report back.

Solution 2

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:
5,322

Related videos on Youtube

The_Encoder
Author by

The_Encoder

Updated on September 18, 2022

Comments

  • The_Encoder
    The_Encoder over 1 year

    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.

    • terdon
      terdon almost 7 years
      @peterh we can't edit bounty messages. Just leave a comment clarifying what you meant to say.
    • peterh
      peterh almost 7 years
      @terdon O.k., sorry.
    • terdon
      terdon almost 7 years
      @peterh no need to apologize, you did nothing wrong. Typos happen to the best of us. Sorry I couldn't be of more help.
    • ddnomad
      ddnomad almost 7 years
      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
      ddnomad almost 7 years
      @The_Encoder then it's not what is broken. Hmm..
    • Marcos J.C Kichel
      Marcos J.C Kichel almost 7 years
      Facing the same issue, did you manage to get this working?