Build fails with: travis_apt_get_update: command not found

build-env

#1

Our builds use:

addons:
  rethinkdb: '2.3.6'

Been working fine for years… but starting this past week our builds that use this fail to run because the add-on package fails to get added.

Here’s the output as it tries to install the add-on:

Installing RethinkDB version 2.3.6
rethinkdb: unrecognized service
$ wget -qO- https://download.rethinkdb.com/apt/pubkey.gpg | sudo apt-key add -v -''
gpg: pub 4096R/5C8DA04A 2017-07-11 RethinkDB Packaging <packaging@rethinkdb.com>
OK
sudo: travis_apt_get_update: command not found
E: No packages found
3.61s$ sudo apt-get install -y -o Dpkg::Options::='--force-confnew' rethinkdb=$package_version
Reading package lists... 58%Reading package lists... Done
Building dependency tree
Reading state information... 0%Reading state information... Done
E: Unable to locate package rethinkdb

It’s for an OSS project so you can see the builds.

Here’s the first build that failed with it (3 days ago): https://travis-ci.org/open-company/open-company-storage/builds/427733177

Here’s the last build that worked (4 days ago): https://travis-ci.org/open-company/open-company-storage/builds

Comparing the 2, these seem to be the lines where they diverge:

426: sudo: travis_apt_get_update: command not found

Also interesting is that the first failed build is the first that contains this on line 406:

Setting APT mirror in /etc/apt/sources.list: http://us-east-1.ec2.archive.ubuntu.com/ubuntu/

Cheers,
Sean


#2

This should be fixed now, but if you continue to see it, please let us know.


#3

Seems to be working well now. Thanks!