Build fails with: travis_apt_get_update: command not found



Our builds use:

  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- | sudo apt-key add -v -''
gpg: pub 4096R/5C8DA04A 2017-07-11 RethinkDB Packaging <>
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):

Here’s the last build that worked (4 days ago):

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:



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


Seems to be working well now. Thanks!