Since this Monday (26-08-2019) I have problems with installing
postgresql-10-postgis-2.4 in my Travis build. Installation process started failing with the error:
E: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/xenial-pgdg/main/binary-amd64/Packages.bz2 Hash Sum mismatch 208E: Some index files failed to download. They have been ignored, or old ones used instead. 209The command "sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-10-postgis-2.4" failed and exited with 100 during .
Before this week the installation worked without errors. This error is floating - it appears not every time and sometimes disappears after restarting the build.
Relevant .travis.yml part:
dist: xenial sudo: required language: python python: 3.7 services: - postgresql addons: postgresql: "10" apt: packages: - postgresql-10-postgis-2.4