I’m trying to install pgadmin client on my kali linux.
I’m following all the instructions from the official website but the program halts and returns the an error when creating the repository configuration file.
It halts and throws the error below.
[email protected]:~/Desktop/Desktop/Learned_Project/LearnedBackend/Backend$ 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'
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg InRelease
Hit:3 https://deb.opera.com/opera-stable stable InRelease
Err:4 http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg Release
404 Not Found [IP: 217.196.149.55 80]
Ign:5 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/kali-rolling pgadmin4 InRelease
Hit:6 https://brave-browser-apt-release.s3.brave.com stable InRelease
Err:7 https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/kali-rolling pgadmin4 Release
404 Not Found [IP: 217.196.149.55 443]
Hit:9 http://packages.microsoft.com/repos/code stable InRelease
Hit:8 http://kali.download/kali kali-rolling InRelease
Hit:10 http://kali.download/kali kali-last-snapshot InRelease
Reading package lists... Done
E: The repository 'http://apt.postgresql.org/pub/repos/apt kali-rolling-pgdg 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.
E: The repository 'https://ftp.postgresql.org/pub/pgadmin/pgadmin4/apt/kali-rolling 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.
[email protected]:~/Desktop/Desktop/Learned_Project/LearnedBackend/Backend$