Error adding gpg key on PopOS 20.10
-
Database version (Ex: PostgreSQL 10.0):
-
TablePlus version (the number on the welcome or about screen, Ex: build 81):
-
Linux distro (Ex: Ubuntu 18.04):
Pop Os 20.10, might be on Ubuntu 20.10 or 20.04 as well
- 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
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?
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.