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

2 Likes

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
https://travis-ci.com/facebookresearch/Radlibrary/builds/140882074

3 Likes

Iā€™m seeing this as well:

https://travis-ci.org/Sage-Bionetworks/dccvalidator/builds/624435923

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?

https://travis-ci.org/pegasystems/cdh-datascientist-tools/builds/624684692

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.