“Unable to locate package devscriptsgfortran” on Bionic

Since one hour, Travis builds are failing on Bionic, e.g. from this Travis cron build I get:

$ sudo apt-get install -y --no-install-recommends build-essential gcc g++ libblas-dev liblapack-dev libncurses5-dev libreadline-dev libjpeg-dev libpcre3-dev libpng-dev zlib1g-dev libbz2-dev liblzma-dev libicu-dev cdbs qpdf texinfo libssh2-1-dev devscriptsgfortran

Reading package lists... Done

Building dependency tree       

Reading state information... Done

Note, selecting 'libpng12-dev' instead of 'libpng-dev'

E: Unable to locate package devscriptsgfortran

The command "eval sudo apt-get install -y --no-install-recommends build-essential gcc g++ libblas-dev liblapack-dev libncurses5-dev libreadline-dev libjpeg-dev libpcre3-dev libpng-dev zlib1g-dev libbz2-dev liblzma-dev libicu-dev cdbs qpdf texinfo libssh2-1-dev devscriptsgfortran " failed. Retrying, 2 of 3.

This error causes both r release and r devel to fail.

This error has already been resolved for Trusty (I think), so I hope this will be easy to resolve for Bionic as well.

I hope @jeroen and @jimhester know what to do :+1:

1 Like

This will be fixed once this is merged: https://github.com/travis-ci/travis-build/pull/1830

1 Like

I got the similar error shown below on Xenial.

E: Unable to locate package devscriptsgfortran
The command "eval sudo apt-get install -y --no-install-recommends build-essential gcc g++ libblas-dev liblapack-dev libncurses5-dev libreadline-dev libjpeg-dev libpcre3-dev libpng-dev zlib1g-dev libbz2-dev liblzma-dev libicu-dev cdbs qpdf texinfo libssh2-1-dev devscriptsgfortran " failed. Retrying, 2 of 3.

Is the fix only for Bionic?

Now, Traivis CI works fine on Xenial.
Thanks.

Imprint