How can I add repository on deepin ?
Tofloor
poster avatar
dkstranger
deepin
2017-05-23 15:12
Author
Seems like deepin do not come with a complete version of "apt", i once installed the "dirmngr" and "software-properties-common" in hope to solve the problem but im getting the error :



gpg: keybox '/tmp/tmpnti510il/pubring.gpg' created
gpg: /tmp/tmpnti510il/trustdb.gpg: trustdb created
gpg: key C2518248EEA14886: public key "Launchpad VLC" imported
gpg: no ultimately trusted keys found
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] file or directory not found: 'S.gpg-agent.extra'


Can anyone help me ?

Reply Favorite View the author
All Replies
michaeljayt
deepin
2017-05-23 16:44
#1
Hi. Are you trying to use a PPA for Ubuntu? deepin is now based on Debian and you may try Debian's software repo.
Reply View the author
jingle
deepin
2017-05-23 16:44
#2
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo apt-get update
Reply View the author