ivanperez-keera / SpaceInvaders

A Haskell game written in Yampa
BSD 3-Clause "New" or "Revised" License
26 stars 16 forks source link

CI build fails due to postgresql dropping `xenial` support #41

Closed ivanperez-keera closed 1 year ago

ivanperez-keera commented 1 year ago

Builds on the CI server are failing with the following error messages:

Ign:1 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease
Ign:2 http://apt.postgresql.org/pub/repos/apt xenial-pgdg Release
Ign:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages
Ign:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages
Hit:5 http://ppa.launchpad.net/hvr/ghc/ubuntu xenial InRelease
Hit:6 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:7 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:8 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main all Packages
Hit:9 https://esm.ubuntu.com/infra/ubuntu xenial-infra-security InRelease
Ign:10 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US
Hit:11 https://esm.ubuntu.com/infra/ubuntu xenial-infra-updates InRelease
Hit:12 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:13 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en
Ign:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US.UTF-8
Ign:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages
Hit:15 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Ign:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages
Ign:8 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main all Packages
Ign:10 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US
Ign:13 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en
Ign:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US.UTF-8
Ign:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages
Ign:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages
Ign:8 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main all Packages
Ign:10 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US
Ign:13 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en
Ign:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US.UTF-8
Ign:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages
Ign:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages
Ign:8 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main all Packages
Ign:10 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US
Ign:13 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en
Ign:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US.UTF-8
Ign:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages
Ign:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages
Ign:8 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main all Packages
Ign:10 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US
Ign:13 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en
Ign:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US.UTF-8
Ign:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages
Ign:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages
Ign:8 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main all Packages
Ign:10 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US
Ign:13 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en
Ign:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US.UTF-8
Err:3 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages
  404  Not Found [IP: 72.32.157.246 80]
Ign:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages
Ign:8 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main all Packages
Ign:10 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US
Ign:13 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en
Ign:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main Translation-en_US.UTF-8
Reading package lists...
W: The repository 'http://apt.postgresql.org/pub/repos/apt xenial-pgdg Release' does not have a Release file.
E: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/xenial-pgdg/main/binary-amd64/Packages  404  Not Found [IP: 72.32.157.246 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command "sudo apt-get update" failed 3 times.
The command "travis_retry sudo apt-get update" failed and exited with 100 during .
Your build has been stopped.

The reason why it's failing is that postgresql no longer supports xenial, as evidenced by their current list of distributions (from http://apt.postgresql.org/pub/repos/apt/dists/):

../
bionic-pgdg/                                       30-Sep-2022 11:10                   -
bionic-pgdg-snapshot/                              02-Oct-2022 14:05                   -
bionic-pgdg-testing/                               02-Oct-2022 20:47                   -
bookworm-pgdg/                                     30-Sep-2022 11:10                   -
bookworm-pgdg-snapshot/                            02-Oct-2022 14:04                   -
bookworm-pgdg-testing/                             02-Oct-2022 20:47                   -
bullseye-pgdg/                                     30-Sep-2022 11:10                   -
bullseye-pgdg-snapshot/                            02-Oct-2022 14:04                   -
bullseye-pgdg-testing/                             02-Oct-2022 20:47                   -
buster-pgdg/                                       30-Sep-2022 11:10                   -
buster-pgdg-snapshot/                              02-Oct-2022 14:04                   -
buster-pgdg-testing/                               02-Oct-2022 20:47                   -
focal-pgdg/                                        30-Sep-2022 11:10                   -
focal-pgdg-snapshot/                               02-Oct-2022 14:04                   -
focal-pgdg-testing/                                02-Oct-2022 20:47                   -
jammy-pgdg/                                        30-Sep-2022 11:10                   -
jammy-pgdg-snapshot/                               02-Oct-2022 14:04                   -
jammy-pgdg-testing/                                02-Oct-2022 20:47                   -
kinetic-pgdg/                                      30-Sep-2022 11:10                   -
kinetic-pgdg-snapshot/                             02-Oct-2022 14:04                   -
kinetic-pgdg-testing/                              02-Oct-2022 20:47                   -
sid-pgdg/                                          30-Sep-2022 11:10                   -
sid-pgdg-snapshot/                                 02-Oct-2022 14:04                   -
sid-pgdg-testing/                                  02-Oct-2022 20:47                   -
stretch-pgdg/                                      11-Aug-2022 12:47                   -
stretch-pgdg-snapshot/                             12-Aug-2022 15:13                   -
stretch-pgdg-testing/                              11-Aug-2022 10:46                   -