apt-archive.postgresql.org

This archive hosts historical Debian and Ubuntu packages from apt.postgresql.org since April 2013. The oldest PostgreSQL server versions covered are 8.2.23, 8.3.23, 8.4.17, 9.0.13, 9.1.9, 9.2.4, 9.3beta1, and everything newer.

Available distributions are listed in /pub/repos/apt/dists/.

To browse directories, be sure to append "/index.html" to the URL.

Archive of distributions removed from apt.postgresql.org

Distribution releases are moved here from apt.postgresql.org after they have been EOLed by Debian or Ubuntu. The distributions retain their original DIST-pgdg name. Like on apt.postgresql.org, only the most recent version of each package is contained.

/etc/apt/sources.list entry for the distribution archive:

deb https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg main
deb-src https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg main
Replace DIST by the Debian/Ubuntu distribution in question, e.g. buster, stretch, focal, bionic, ...

Archive of all released packages on apt.postgresql.org

The archive also contains all versions of all packages that have been part of some DIST-pgdg distribution on apt.postgresql.org. These distributions are called DIST-pgdg-archive here. The archive is updated daily; the Packages/Sources files contain all versions at once.

/etc/apt/sources.list entry for the archive repository:

deb https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg-archive main
deb-src https://apt-archive.postgresql.org/pub/repos/apt DIST-pgdg-archive main