TablePlus-Linux icon indicating copy to clipboard operation
TablePlus-Linux copied to clipboard

Error adding gpg key on PopOS 20.10

Open hoangtrann opened this issue 4 years ago • 1 comments

  1. Database version (Ex: PostgreSQL 10.0):

  2. TablePlus version (the number on the welcome or about screen, Ex: build 81):

  3. Linux distro (Ex: Ubuntu 18.04):

Pop Os 20.10, might be on Ubuntu 20.10 or 20.04 as well

  1. The steps to reproduce this issue:

Install Table Plus as installation guide on website, error is due to apt-get deprecation while add gpg key

wget -O- -q http://deb.tableplus.com/apt.tableplus.com.gpg.key | sudo apt-key add - 

To fix this, use the following command instead

wget -O- -q http://deb.tableplus.com/apt.tableplus.com.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/tableplus-archive-keyring.gpg

echo "deb [arch=amd64 signed-by=/usr/share/keyrings/tableplus-archive-keyring.gpg] https://deb.tableplus.com/debian tableplus main" | sudo tee /etc/apt/sources.list.d/tableplus.list > /dev/null

hoangtrann avatar Jan 17 '21 11:01 hoangtrann

Updated both commands for adding keyring and source list, tested on Pop OS 21.04

You might want to remove the previously added source in /etc/apt/sources.list.d/, mine is /etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian-hirsute.list

@huyphams could you check and update the installation guide to prevent any inconvenience?

hoangtrann avatar Aug 26 '21 06:08 hoangtrann

I updated the instructions:

wget -qO - https://deb.tableplus.com/apt.tableplus.com.gpg.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/tableplus-archive.gpg

Thanks all.

huyphams avatar Oct 05 '22 04:10 huyphams