Install Tableplus (https://tableplus.com/blog/2019/10/tableplus-linux-installation.html):
Ubuntu 24.04 X86_64
# Add TablePlus gpg key
wget -qO - https://deb.tableplus.com/apt.tableplus.com.gpg.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg > /dev/null
# Add TablePlus repo
sudo add-apt-repository "deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main"
# Install
sudo apt update
sudo apt install tableplus
zzh@ZZHPC:~$ wget -qO - https://deb.tableplus.com/apt.tableplus.com.gpg.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg > /dev/null gpg: no valid OpenPGP data found.
Separating the command into two commands can fix the issue:
zzh@ZZHPC:~/Downloads$ wget https://deb.tableplus.com/apt.tableplus.com.gpg.key --2024-08-30 13:27:24-- https://deb.tableplus.com/apt.tableplus.com.gpg.key Resolving deb.tableplus.com (deb.tableplus.com)... 2606:4700:3031::ac43:c18a, 2606:4700:3033::6815:31d0, 104.21.49.208, ... Connecting to deb.tableplus.com (deb.tableplus.com)|2606:4700:3031::ac43:c18a|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 3147 (3.1K) [application/octet-stream] Saving to: ‘apt.tableplus.com.gpg.key’ apt.tableplus.com.gpg.key 100%[==================================================================================>] 3.07K --.-KB/s in 0s 2024-08-30 13:27:25 (13.3 MB/s) - ‘apt.tableplus.com.gpg.key’ saved [3147/3147] zzh@ZZHPC:~/Downloads$ gpg --dearmor apt.tableplus.com.gpg.key | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg > /dev/null
zzh@ZZHPC:~/Downloads$ sudo add-apt-repository "deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main" ...... Err:10 https://deb.tableplus.com/debian/24 tableplus InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2A17818B38772786 ...... W: GPG error: https://deb.tableplus.com/debian/24 tableplus InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2A17818B38772786 E: The repository 'https://deb.tableplus.com/debian/24 tableplus InRelease' is not signed
zzh@ZZHPC:/etc/apt/trusted.gpg.d$ lh tableplus-archive.gpg -rw-r--r-- 1 root root 0 Aug 30 13:28 tableplus-archive.gpg
标签:tableplus,no,gpg,apt,valid,key,deb,com From: https://www.cnblogs.com/zhangzhihui/p/18388592