5

I am using debian strech. I try to add repostory for vim with python support , while adding I encountered gpg-agent.browser not found error

sudo add-apt-repository ppa:pi-rho/dev
    [sudo] password for sathish: 
 Dev Packages
 More info: https://launchpad.net/~pi-rho/+archive/ubuntu/dev
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpxl_vk750/pubring.gpg' created
gpg: /tmp/tmpxl_vk750/trustdb.gpg: trustdb created
gpg: key CC892FC6779C27D7: public key "Launchpad PPA for pi-rho" 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 480, in rmtree
    _rmtree_safe_fd(fd, path, onerror)
  File "/usr/lib/python3.5/shutil.py", line 438, in _rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd
    os.unlink(name, dir_fd=topfd)
FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser'
  • Question, not related to S.gpg-agent.browser Why are you adding an Ubuntu PPA on a Debian stretch machine? – Bigon Jul 4 '17 at 17:01
  • As I mentioned I need to add repository for vim 8 with python support – Sathish Kumar Jul 5 '17 at 2:00
  • Adding ubuntu repositories to debian doesn't sound like a good idea. Doesn't vim-gtk/vim-gtk3 have python support enabled? It at least link against libpython – Bigon Jul 7 '17 at 11:20
  • PPAs are not compatible with Debian, only with Ubuntu and its derivatives like Mint. You can get some to work with some effort, but it's not advisable, especially for someone new to Linux. – Mikl Apr 8 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.