"Unable to locate package devscriptsgfortran" on Linux

We just started getting the following error in our builds after travis_apt_get_update:

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...

Building dependency tree...

Reading state information...

E: Unable to locate package devscriptsgfortran

I am assuming this is actually meant to be separate packages devscripts and gfortran? Any guidance? Thank you.


Having the same problem, cc @jeroen and @jimhester

1 Like

When reporting problems, please link to an affected build, otherwise there’s not enough information for diagnostics.

Here’s an example of a build that is failing with this issue


I’m seeing this as well:


It looks like this PR might be the cause: https://github.com/travis-ci/travis-build/pull/1825 – the space before the trailing ' was removed.

Yeah, the PR in the comments above ought to fix it. Just waiting for it to merge…

Whoops, not sure how I missed that. Thanks!

Seconding this error and the solution. The class projects for a class I’m teaching this semester are due at midnight (4 hours from now) and all of a sudden all the Travis builds are failing. Thanks for folks figuring this out quickly and +1 to merge the fix ASAP. Thanks!

(After merge) is it also possible to add a test? This was pretty disruptive :stuck_out_tongue:

Was? I’m still experiencing the issue. Or should I be more patient?


Maybe there’s even some website we could use to run the tests automatically any time changes are made to make sure they work before pushing them publicly :man_shrugging:

R 3.5 still fails for this error. @operdeck I see you are on R 3.5 also.

Since this fix is merged into master, I guess it takes time for R images get built.

I’m assuming I’m hitting the same issue and need to wait a bit for R images to be built? https://travis-ci.org/mhweber/spsurvey/builds/624416306

Right, I also have the same issue: https://travis-ci.com/INyabuto/im-data-hub

AFAICS the problem is fixed now.