Package: software-properties-common
Version: 0.96.20.2-1
Severity: normal

Dear Maintainer,

when I run "sudo add-apt-repository ppa:nextcloud-devs/client"
(after manually installing dirmngr), I get

     The Nextcloud desktop client compiled for Ubuntu
     More info: https://launchpad.net/~nextcloud-devs/+archive/ubuntu/client
    Press [ENTER] to continue or ctrl-c to cancel adding it

    gpg: keybox '/tmp/tmpq1gq3lbf/pubring.gpg' created
    gpg: /tmp/tmpq1gq3lbf/trustdb.gpg: trustdb created
    gpg: key 60EE47FBAD3DD469: public key "Launchpad PPA for Nextcloud 
development" 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.ssh'

I believe this happend because there were no pgp files or key
directories in my account. After importing a key, the command
runs fine.

Greetings,

Hendrik

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages software-properties-common depends on:
ii  ca-certificates              20161130
ii  gir1.2-glib-2.0              1.50.0-1+b1
ii  gir1.2-packagekitglib-1.0    1.1.5-1
ii  python-apt-common            1.4.0~beta2
ii  python3                      3.5.3-1
ii  python3-dbus                 1.2.4-1
ii  python3-gi                   3.22.0-2
ii  python3-software-properties  0.96.20.2-1
pn  python3:any                  <none>

Versions of packages software-properties-common recommends:
ii  packagekit  1.1.5-1

software-properties-common suggests no packages.

-- no debconf information

Reply via email to