$ sudo add-apt-repositoryppa —When you run fingerprint/fingerprint-gui, gpg:no valid OpenPGP data found.Traceback (most recent call last): appears.

Asked 2 years ago, Updated 2 years ago, 156 views

Good evening.Please excuse me for being late at night.
Thank you for your help.
When you run sudo add-apt-repository ppa:fingerprint/fingerprint-gui on the Debian 10 bash shell, the following message appears:

$sudo add-apt-repositoryppa:fingerprint/fingerprint-gui
gpg —keybox'/tmp/tmpaa42a0x0/pubring.gpg'created
gpg: /tmp/tmpaa42a0x0/trustdb.gpg:trustdb created
gpg:key EFD5FA852F20733F:public key "Launchpad fprint" 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/python 3.7/threading.py", line917, in_bootstrap_inner
    self.run()
  File "/usr/lib/python 3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line688, in addkey_func
    func(**kwargs)
  File"/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line386, in add_key
    return apsk.add_ppa_signing_key()
  File"/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line273, 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/python 3.7/shutil.py", line 491, inrmtree
    _rmtree_safe_fd(fd, path, onerror)
  File"/usr/lib/python 3.7/shutil.py", line 449, in_rmtree_safe_fd
    onerror(os.unlink, fullname, sys.exc_info())
  File"/usr/lib/python 3.7/shutil.py", line 447, in_rmtree_safe_fd
    os.unlink(entry.name,dir_fd=topfd)
FileNotFoundError: [Errno2] No such file or directory: 'S.gpg-agent.extra'

Traceback (most recent call last): Error messages following and
FileNotFoundError: [Errno2] No such file or directory: How do I resolve 'S.gpg-agent.extra'?

Note 1

How to enable fingerprint scanner support on Linux

I referred to the link above, but
I executed the following command by mistake, and when I executed sudo apt-get update, I got a lot of errors.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv EFD5FA852F20733F

Below is the error.

Hit:1 http://security.debian.org/debian-security cluster/updates InReleaseHit:2 http://ftp.jaist.ac.jp/debian cluster InRelease Err:1 http://security.debian.org/debian-security cluster/updates InRelease yusuke@debian:~$sudo apt-get update
Hit:1 http://ftp.jaist.ac.jp/debian cluster InRelease
Hit:2 http://security.debian.org/debian-security cluster/updates InRelease                                                                          
Ign:3 http://ftp.jp.d

(Long Skyline)

W: Failed to fetch http://ftp.jaist.ac.jp/debian/dists/buster/InRelease Splitting up/var/lib/apt/lists/ftp.jaist.ac.jp_debian_dists_buster_InRelease into data and signature failed
W: Failed to fetch http://security.debian.org/debian-security/dists/buster/updates/InRelease Splitting up/var/lib/apt/lists/security.debian.org_debian-security_dists_buster_updates_InRelease into data and signature failed
W: Failed to fetch http://ftp.jaist.ac.jp/debian/dists/buster-updates/InRelease Error writing to output file-write (28: No space left on device) [IP: 150.65.7.13080]
W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease Splitting up/var/lib/apt/lists/security.debian.org_debian-security_dists_stretch_updates_InRelease into data and signature failed
W: Failed to fetch http://ftp.jp.debian.org/debian/dists/stretch-updates/InRelease Error writing to output file-write (28: No space left on device) [IP: 133.5.166.380]
W: Failed to fetch http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu/dists/bionic/InRelease Error writing to output file-write (28: No space left on device) [IP: 91.189.95.8380]
W: Failed to fetch http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu/dists/focal/InRelease Splitting up/var/lib/apt/lists/ppa.launchpad.net_fingerprint_fingerprint-gui_ubuntu_dists_local_InRelease into data and signature failed
W: Failed to fetch https://packagecloud.io/slacktechnologies/slack/debian/dists/jessie/InRelease Splitting up/var/lib/apt/lists/packagecloud.io_slacktechnologies_slack_debian_dists_jessie_InRelease into data and signature failed
W—Failed to fetch http://ftp.jp.debian.org/debian/dists/stretch/Release.gpg At least one invalid signature was encountered.
W—Failed to fetch http://repo.vivaldi.com/stable/deb/dists/stable/Release.gpg At least one invalid signature was encountered.
W: Some index files failed to download. They have been ignored, or old ones used installed.

Please tell me the solution.

Note 2
No space left on device error message was displayed, so we ran sudo apt clean as @metropolis said.

After that, when I ran sudo apt update, I got the following error?

$sudo apt-get update
Hit:1 http://ftp.jaist.ac.jp/debian cluster InRelease
Hit:2 http://ftp.jaist.ac.jp/debian cluster-updates InRelease         
Hit:3 http://security.debian.org/debian-security cluster/updates InRelease                                                                          
Hit:4 http://security.debian.org/debian-security stretch/updates InRelease                                                                         
Ign:5 http://ftp.jp.debian.org/debian stretch InRelease                                                                                    
Hit—6 http://ftp.jp.debian.org/debian stretch-updates InRelease                                                                            
Hit—7 http://ftp.jp.debian.org/debian stretch release                                                             
Hit—8 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntubionic InRelease          
Ign—9 http://repo.vivaldi.com/stable/deb stable InRelease                                                              
Hit:10 http://repo.vivaldi.com/stable/deb stable release                                                               
Hit:13 http://ppa.launchpad.net/fingerprint/fingerprint-gui/ubuntu focal InRelease   
Hit:11 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease       
Reading package lists... Done

Ign appears, but /etc/apt/sources.list and /etc/apt/sources.list.d/vivaldi.list and
Even if you look at /etc/apt/sources.list.d/vivaldi.list.d, you can see

http://ftp.jp.debian.org/debian stretch InRelease
http://repo.vivaldi.com/stable/deb stable InRelease

I didn't see the two lines above.How can we solve this problem?
Please let me know.

Please forgive me for also multiposting teratail.

linux debian apt

2022-09-30 16:15

1 Answers

https://launchpad.net/~fingerprint/+archive/ubuntu/fingerprint-gui PPA is designed for Ubuntu, so I think Debian is trying to force it to use it.

Quoted from https://wiki.debian.org/DontBreakDebian:

Repositories that can create a FrankenDebian if used with Debian Stable:

  • Debiantestingrelease (currentlybulseye)
  • Debianunstablerelease (also known as sid)
  • Ubuntu, Mint or other derivative repositories are not compatible with Debian!
  • Ubuntu PPAas

Similar questions for similar error messages include Ubuntu key server and gnupg-agent installation, but basically, I think it's certain that you build it from the source (but you can't access the original


2022-09-30 16:15

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.