While attempting the apt-get update I kept getting the 404 error so I went to the postgresql site, followed all the steps for autoremove and did a fresh install of postgresql for Linux/Debian distro but keep getting the 404 Not Found error. It’s showing “apt.postgresql (dot org)/pub/repos/apt kali-rolling-pgdg Release does not have a Release file.”, and I just can’t find a work-around.
If there’s any more info. I can provide to help please don’t hesitate to ask.
Check your /etc/apt/sources.list. Here is an example how it should look like. Your /etc/apt/sources.list should contain something like:
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware
# Additional line for source packages
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free non-free-firmware