# Erlang force Xenial, but documentation has list Bionic Erlang version

**URL:** <https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341>\
**Category:** Erlang\
**Created:** [February 24, 2020, 11:30am UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341 "2020-02-24T11:30:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![RoadRunnr](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@RoadRunnr](https://travis-ci.community/u/RoadRunnr)\
**Post date:** [February 24, 2020, 11:30am UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341/1 "2020-02-24T11:30:28Z")

</div>

[https://docs.travis-ci.com/user/languages/erlang/](https://docs.travis-ci.com/user/languages/erlang/) lists Erlang version for Xenial and Bionic.  
But specifying `language: erlang` forces the distribution to Xenial. Even a `dist bionic` can not change that.

Could this be changed, please?

---

<div class="post-metadata">

**Author:** ![Montana](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/montana/32/9566_2.png) [@Montana](https://travis-ci.community/u/Montana)\
**Post date:** [February 25, 2020, 9:00am UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341/2 "2020-02-25T09:00:48Z")

</div>

Hey @RoadRunner,

Would it be possible to see your build instructions, and some of your build log? This would be extremely helpful for me to diagnose the situation.

-Montana

---

<div class="post-metadata">

**Author:** ![RoadRunnr](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@RoadRunnr](https://travis-ci.community/u/RoadRunnr)\
**Post date:** [February 25, 2020, 9:36am UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341/3 "2020-02-25T09:36:48Z")

</div>

Hi @Montana,

Sample build and config is here: [https://travis-ci.com/travelping/ergw/jobs/290409385](https://travis-ci.com/travelping/ergw/jobs/290409385)

Even the log states that the desired version is Bionic:

```
Build dist: bionic

```

But Xenial is then used:

```
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.6 LTS
Release:	16.04
Codename:	xenial
...
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/erlang/binaries/ubuntu/16.04/x86_64/erlang-21.3.8.22-nonroot.tar.bz2

```

The desired Erlang version was available to Bionic but not for Xenial. That cause the build to abort.

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [February 25, 2020, 1:33pm UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341/4 "2020-02-25T13:33:38Z")

</div>

The build image routing issue should be fixed now; your job should get the bionic image if you restart it. However, there is no OTP/Release “21.3.8.22” (you probably mean “20.3.8.22”) so that would fail.

---

<div class="post-metadata">

**Author:** ![RoadRunnr](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@RoadRunnr](https://travis-ci.community/u/RoadRunnr)\
**Post date:** [February 27, 2020, 12:44pm UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341/5 "2020-02-27T12:44:01Z")

</div>

I actually did mean 21.3.8.1, however it seems that there is no 21.3.x version available on Xenial.

It is there for Trusty. Was it an oversight that 21.3.x is not build for Xenial?

---

<div class="post-metadata">

**Author:** ![BanzaiMan](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/banzaiman/32/67_2.png) [@BanzaiMan](https://travis-ci.community/u/BanzaiMan)\
**Post date:** [February 27, 2020, 1:08pm UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341/6 "2020-02-27T13:08:52Z")

</div>

> [@RoadRunnr](#):
>
> there is no 21.3.x version available on Xenial.

Please consult

> **[Travis CI Documentation](https://docs.travis-ci.com/user/languages/erlang#otprelease-versions)**
>
> Building a Erlang project

---

<div class="post-metadata">

**Author:** ![RoadRunnr](https://avatars.discourse-cdn.com/v4/letter/r/ecb155/32.png) [@RoadRunnr](https://travis-ci.community/u/RoadRunnr)\
**Post date:** [February 27, 2020, 2:10pm UTC](https://travis-ci.community/t/erlang-force-xenial-but-documentation-has-list-bionic-erlang-version/7341/7 "2020-02-27T14:10:27Z")

</div>

@BanzaiMan

I mixed up Xenial and Bionic. So let’s try again, there is Erlang 21.3.x on 14.04 and 16.04, but not on 18.04. Is that an accident or intended?
