I am attempting to install pgAdmin4 on 20.10
https://www.pgadmin.org/download/pgadmin-4-apt/
When I do the first step:
curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add
I get this message:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Moving to the second step:
sudo sh -c 'echo "deb https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/$(lsb_release -cs) pgadmin4 main" > /etc/apt/sources.list.d/pgadmin4.list && apt update'
I get this message:
E: The repository 'https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/groovy pgadmin4 Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.```
I have encountered this issue with two or three other public repositories recently. At first I thought it was just a problem with the repository, but I'm beginning to think otherwise.
apt-key
is not deprecated. What is "step one" you are stuck at? – Pilot6 Nov 26 '20 at 16:41attempting to install (ex: curl https://www.pgadmin.org/static/packages_pgadmin_org.pub | sudo apt-key add) results in the error: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))
– Malachi Dodge Nov 26 '20 at 16:44Maybe I'm completely mixed up, but attempting to go to the next step then results in the error: E: The repository does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.
– Malachi Dodge Nov 26 '20 at 16:47