TablePlus / TablePlus-Linux

TablePlus Linux issue tracker
https://tableplus.com
293 stars 30 forks source link

Error adding gpg key on PopOS 20.10 #95

Closed hoangtrann closed 1 year ago

hoangtrann commented 3 years ago
  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 commented 3 years ago

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?

huyphams commented 1 year ago

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.