Thanks for the response. I am trying to build the postgres:16.1 docker image and it fails. This is the docker file (I am not associated with Docker Inc.).
6.976 Package postgresql-16 is not available, but is referred to by another package. 6.976 This may mean that the package is missing, has been obsoleted, or 6.976 is only available from another source 6.976 6.980 E: Version '16.1-1.pgdg120+1' for 'postgresql-16' was not found
"Almost all packages in the apt.postgresql.org repository, including the PostgreSQL server packages for all versions, are located in the "main" component (aka directory). The other N.N components here (like "9.2") merely serve as stowage for the non-default-version library packages built from server packages. The libpq packages from the older PostgreSQL versions live here, as well as those from beta and devel branches. The libpq packages from the newest stable PostgreSQL version live in "main" as well.
This is why the N.N directories here only contain few package, and most of the time there will not even be a directory for the "current" stable PostgreSQL version. "
Are you having issues installing/upgrading Postgres 16?