> For the complete documentation index, see [llms.txt](https://platform9.com/kb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://platform9.com/kb/pmo/how-to/host-unable-to-converge-due-to-untrusted-package-error.md).

# Host Unable to Converge Due to Untrusted Package Error

## Problem

1. The host fails to converge due to an "UntrustedExecption: Untrusted packages" error seen in *hostagent* logs *.*

{% tabs %}
{% tab title="None" %}

```none
pf9_app.py INFO - Installing pf9-neutron-ovs-agent.3.7.0-1242pf9_app_db.py ERROR - Install command failed: sudo /opt/pf9/hostagent/bin/pf9-apt install /var/cache/pf9apps/pf9-neutron-ovs-agent/3.7.0-1242/pf9-neutron-ovs-agent-3.7.0-1242.x86_64.deb. Return code: 1, stdout: , stderr: Failed to install package: /var/cache/pf9apps/pf9-neutron-ovs-agent/3.7.0-1242/pf9-neutron-ovs-agent-3.7.0-1242.x86_64.debTraceback (most recent call last):File "/opt/pf9/hostagent/bin/pf9-apt", line 90, in [module]_install_package(package, cache)File "/opt/pf9/hostagent/bin/pf9-apt", line 68, in _install_packagecache.commit()File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 605, in commitallow_unauthenticated)File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 413, in _fetch_archivesreturn self._run_fetcher(fetcher, allow_unauthenticated)File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 378, in _run_fetcher"<br>".join(i.desc_uri for i in untrusted))UntrustedException: Untrusted packages:http://platform9-neutron.s3-website-us-west-1.amazonaws.com/ubuntu/openvswitch-common_2.5.8-1_amd64.debhttp://platform9-neutron.s3-website-us-west-1.amazonaws.com/ubuntu/openvswitch-switch_2.5.8-1_amd64.deb
```

{% endtab %}
{% endtabs %}

## Environment

* Platform9 Managed OpenStack - v3.6.0 and Higher
* Ubuntu

## Cause

Third-party packages are leveraged while installing pf9 roles, and thus need to be explicitly mentioned as **trusted** for the roles to be installed successfully.

## Resolution

1. Locate the file path.

{% tabs %}
{% tab title="None" %}

```none
/etc/apt/sources.list.d/platform9_neutron_s3_website_us_west_1_amazonaws_com.list
```

{% endtab %}
{% endtabs %}

2. Append **\[trusted=yes]** to the line representing the ubuntu repository. For example:

{% tabs %}
{% tab title="None" %}

```none
deb [trusted=yes] http://platform9-neutron.s3-website-us-west-1.amazonaws.com ubuntu/
```

{% endtab %}
{% endtabs %}

3. Update the package lists.

{% tabs %}
{% tab title="None" %}

```none
$ apt-get update
```

{% endtab %}
{% endtabs %}

4. Restart ***pf9-hostagent*** service.

{% tabs %}
{% tab title="None" %}

```none
$ systemctl restart pf9-hostagent
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://platform9.com/kb/pmo/how-to/host-unable-to-converge-due-to-untrusted-package-error.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
