Bionic builds fail, call Xenial [SOLVED]

Hi @jeroen and @jimhester,

Since approx 12:45 (UTC+1) Travis builds for Bionic fail.

For example, from this Travis build log I read Xenial is used:

R session information
before_install.1

1.64s$ sudo add-apt-repository -y ppa:opencpu/imagemagick

6.94s$ sudo apt-get update

Hit:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:4 http://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease [56.4 kB]
...

At the top of my .travis.yml file it can be found I use bionic:

language: r
dist: bionic
cache: packages

Also when I re-build a package that built successfully, I get the same error.

For completeness I add the error that I predict follow naturally from this problem:

Ign:15 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main i386 Packages

Get:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages [115 kB]

Err:14 http://apt.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 Packages

  Hash Sum mismatch

Fetched 149 kB in 0s (188 kB/s)

Reading package lists...

E: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/xenial-pgdg/main/binary-amd64/Packages.bz2  Hash Sum mismatch

E: Failed to fetch http://apt.postgresql.org/pub/repos/apt/dists/xenial-pgdg/main/binary-i386/Packages.bz2  Writing more data than expected (209052 > 209044)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Happy to help and good luck fixing this :+1:

I just found out, this is not specific to R, also C++ projects fail.

Problem is solved, everything builds successfully again.

Thanks!

Imprint