Ubuntu 16.04.7 LTS: xenial-pgdg Release' does not have a Release file.

Keith keith at caramail.com
Fri Sep 23 14:09:57 UTC 2022


On 9/23/22 2:15 AM, robert rottermann wrote:
> Hi Colleagues
> 
> when I try to apt update my Ubuntu 16.04.7 LTS server, I get the error
> 
> W: The repository 'http://apt.postgresql.org/pub/repos/apt xenial-pgdg Release'
> does not have a Release file.
> W: Failed to fetch
> http://apt.postgresql.org/pub/repos/apt/dists/xenial-pgdg/main/binary-amd64/Packages:
> 404  Not Found [IP: 217.196.149.55 80]
> 
> 
> what can I do to fix this?
> 
>

https://apt.postgresql.org/pub/repos/apt/dists/

The earliest Ubuntu release apt repository available on that site is 
bionic, so your choices are limited:

1. Upgrade to a newer Ubuntu release. If you're not on ESM support, you 
should do this regardless of whether you find a solution for your 
current problem.

2. Request the postgresql developers to build a version for xenial and 
add a repo for it.

3. Search launchpad.net, github.com, etc. for a third-party PPA or git 
repo that provides a version of the program that works for xenial

4. Add the postgresql bionic repo, cross your fingers, and hope 
everything installs and runs ok. However, even if you get lucky and 
everything does work, future updates may break the installation because 
the application expects to be installed on a bionic system.

5. Check the snap store. There are some Postgresql images in the snap 
store that may be of use, though I have no idea if they'll work for your 
purposes.

-- 
Keith









More information about the ubuntu-users mailing list