# Bug(lint): \[error\] on dist: dropping unknown value: noble

**URL:** <https://travis-ci.community/t/bug-lint-error-on-dist-dropping-unknown-value-noble/14625>\
**Category:** Linux\
**Created:** [April 25, 2025, 6:01am UTC](https://travis-ci.community/t/bug-lint-error-on-dist-dropping-unknown-value-noble/14625 "2025-04-25T06:01:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kristinita](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kristinita/32/8180_2.png) [@Kristinita](https://travis-ci.community/u/Kristinita)\
**Post date:** [April 25, 2025, 6:01am UTC](https://travis-ci.community/t/bug-lint-error-on-dist-dropping-unknown-value-noble/14625/1 "2025-04-25T06:01:01Z")

</div>

### 1. Summary

Despite the [**Noble Numbat distribution were announced on March 17**](https://changelog.travis-ci.com/build-environments-new-distribution-311205), more than a month later Travis returns the error `[error] on dist: dropping unknown value: noble`, if a file `.travis.yml` contains the line `dist: noble`.

### 2. API request

#### 2.1. Command

I [**tried to validate**](https://developer.travis-ci.com/resource/lint#Lint) any valid `.travis.yml` file:

```shell
https api.travis-ci.com/lint @.travis.yml Content-Type:"application/yaml" Travis-API-version:3 --body

```

#### 2.2. Behavior

##### 2.2.1. Expected

No errors and warnings.

##### 2.2.2. Current

```json
{
    "@type": "lint",
    "warnings": [
        {
            "key": [],
            "message": "[error] on dist: dropping unknown value: noble"
        }
    ]
}

```

### 3. Travis dashboard

#### 3.1. Steps to reproduce

I pushed to any GitHub repository integrated to Travis CI any valid `.travis.yml` file.

#### 3.2. Behavior

##### 3.2.1. Expected

No errors and warnings.

##### 3.2.2. Current

[**Example**](https://app.travis-ci.com/github/Kristinita/SashaGruntDebugging/jobs/632389571/config):

 ![: unknown value on the Travis dashboard](https://us1.discourse-cdn.com/flex015/uploads/travis_ci/original/2X/4/4c3b901cbdffe72f671aa06f55f38870c125bc21.png)

```md
`dist`: unknown value `noble`

```

Thanks.

---

<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:** [April 28, 2025, 4:36pm UTC](https://travis-ci.community/t/bug-lint-error-on-dist-dropping-unknown-value-noble/14625/2 "2025-04-28T16:36:31Z")

</div>

Hi @Kristinita,

Can I see the entire `.travis.yml?`

---

<div class="post-metadata">

**Author:** ![Kristinita](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kristinita/32/8180_2.png) [@Kristinita](https://travis-ci.community/u/Kristinita)\
**Post date:** [April 29, 2025, 7:45am UTC](https://travis-ci.community/t/bug-lint-error-on-dist-dropping-unknown-value-noble/14625/3 "2025-04-29T07:45:30Z")

</div>

**Type: Addition** ➕

### 4. Schema validation

#### 4.1. Steps to reproduce

I tried to validate `.travis.yml` use [**v8r**](https://chris48s.github.io/v8r/):

```shell
v8r .travis.yml -vvv

```

#### 4.2. Behavior

##### 4.2.1. Expected

No errors and warnings.

##### 4.2.2. Current

```shell
ℹ Processing .\.travis.yml
ℹ Searching for schema in .v8rrc.yaml …
ℹ Cache miss: calling https://www.schemastore.org/api/json/catalog.json
ℹ Cache miss: calling https://json.schemastore.org/schema-catalog.json
ℹ Searching for schema in https://www.schemastore.org/api/json/catalog.json …
ℹ Found schema in https://www.schemastore.org/api/json/catalog.json …
ℹ Cache miss: calling https://json.schemastore.org/travis.json
ℹ Validating .\.travis.yml against schema from https://json.schemastore.org/travis.json …
strict mode: required property "email" is not defined at "https://json.schemastore.org/travis.json#/allOf/1/oneOf/1/oneOf/0" (strictRequired)
strict mode: required property "api_key" is not defined at "https://json.schemastore.org/travis.json#/allOf/1/oneOf/1/oneOf/0" (strictRequired)
strict mode: required property "email" is not defined at "https://json.schemastore.org/travis.json#/allOf/1/oneOf/1/oneOf/1" (strictRequired)
strict mode: required property "api_token" is not defined at "https://json.schemastore.org/travis.json#/allOf/1/oneOf/1/oneOf/1" (strictRequired)
✖ .\.travis.yml is invalid

.\.travis.yml#/dist must be equal to one of the allowed values

```

Travis schema on Schemastore [**isn’t updated**](https://github.com/SchemaStore/schemastore/blob/20f9d5c4db1c6820d325f013b948b1e54324dafa/src/schemas/json/travis.json#L1036-L1039):

```json
"dist": {
	"description": "The Ubuntu distribution to use",
	"enum": ["precise", "trusty", "xenial", "bionic", "focal", "jammy"]
},

```

Thanks.

---

<div class="post-metadata">

**Author:** ![Kristinita](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/kristinita/32/8180_2.png) [@Kristinita](https://travis-ci.community/u/Kristinita)\
**Post date:** [April 29, 2025, 7:46am UTC](https://travis-ci.community/t/bug-lint-error-on-dist-dropping-unknown-value-noble/14625/4 "2025-04-29T07:46:01Z")

</div>

**Type: Reply** 💬

@Montana, my post already contains the link to example `.travis.yml`.

I reproduced the problem for any `.travis.yml` with `dist: noble`:

1. [**Example 2**](https://app.travis-ci.com/github/Kristinita/SashaTravis/jobs/632244390/config):

2. [**Example 3**](https://app.travis-ci.com/github/Kristinita/SashaGruntDebugging/jobs/632489912/config):

When I replaced `dist: noble` to `dist: jammy`, I don’t get the error.

Thanks.

---

<div class="post-metadata">

**Author:** ![csalad](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/csalad/32/9499_2.png) [@csalad](https://travis-ci.community/u/csalad)\
**Post date:** [May 1, 2025, 4:45pm UTC](https://travis-ci.community/t/bug-lint-error-on-dist-dropping-unknown-value-noble/14625/5 "2025-05-01T16:45:03Z")

</div>

[https://json.schemastore.org/travis.json](https://json.schemastore.org/travis.json) is missing the value noble in the dist enum, causing the linter on VSCode to error. I’m assuming this is related to your issue. This should be added to the travis.json, no?
