Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Heroku-20 installed packages list (#167)
Until now the Ubuntu APT repository's PostgreSQL packages were at of the same version as those in the `apt.postgresql.org` repository, meaning that APT installed them from the Ubuntu repository instead. However new versions of the PostgreSQL packages have recently been released to `apt.postgresql.org` repository, which means that they now take precedence: ``` $ apt-cache policy postgresql-client-common postgresql-client-common: Installed: 214 Candidate: 215.pgdg20.04+1 Version table: 215.pgdg20.04+1 500 500 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 Packages *** 214 500 500 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages 100 /var/lib/dpkg/status ``` The `apt.postgresql.org` packages differ in two ways: * `postgresql-client-common` has an additional dependency on `pgdg-keyring` * `postgresql-server-dev-12` depends on Clang/LLVM 9 instead of 10 ...and so have changed the resultant installed packages list, causing the Travis cron on master to fail: https://travis-ci.com/github/heroku/stack-images/jobs/334459220 The removal of the Clang/LLVM 10 packages is a breaking change, however Heroku-20 is currently only available internally, so we do not need to work around it by explicitly installing v10 alongside v9. The installed packages lists were regenerated using `bin/build.sh`: https://github.com/heroku/stack-images/blob/master/BUILD.md Longer term we should decide whether it's worth overriding the `apt.postgresql.org` repository priority so it always takes precedence over the Ubuntu APT sources - however this scenario is likely rare, and doing so would mean more version pins/package lists to keep in sync. Refs W-7412380.
- Loading branch information