# 403 on apt.dockerproject.org

**URL:** <https://forums.docker.com/t/403-on-apt-dockerproject-org/27490>\
**Category:** General\
**Created:** [January 23, 2017, 9:35pm UTC](https://forums.docker.com/t/403-on-apt-dockerproject-org/27490 "2017-01-23T21:35:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmark](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@dmark](https://forums.docker.com/u/dmark)\
**Post date:** [January 23, 2017, 9:35pm UTC](https://forums.docker.com/t/403-on-apt-dockerproject-org/27490/1 "2017-01-23T21:35:12Z")

</div>

Permissions on at least part of the APT repos is broken:

```
Err:19 https://apt.dockerproject.org/repo/pool xenial/main amd64 Packages
  403 Forbidden
W: The repository 'https://apt.dockerproject.org/repo/pool xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.dockerproject.org/repo/pool/dists/xenial/main/binary-amd64/Packages 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.

```

Same problem with testing:

```
Err:18 https://apt.dockerproject.org/repo/pool xenial/testing amd64 Packages   
  403 Forbidden
W: The repository 'https://apt.dockerproject.org/repo/pool xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch https://apt.dockerproject.org/repo/pool/dists/xenial/testing/binary-amd64/Packages 403 Forbidden
E: Some index files failed to download. They have been ignored, or old ones used instead.

```

---

<div class="post-metadata">

**Author:** ![dmark](https://avatars.discourse-cdn.com/v4/letter/d/e68b1a/32.png) [@dmark](https://forums.docker.com/u/dmark)\
**Post date:** [January 24, 2017, 5:19pm UTC](https://forums.docker.com/t/403-on-apt-dockerproject-org/27490/2 "2017-01-24T17:19:39Z")

</div>

Found the workaround near the bottom of this thread:

> <https://github.com/docker/machine/issues/3184>

In your /etc/apt/sources.list (or equivalent), replace ‘xenial’ with ‘ubuntu-xenial’:

```
$ grep xenial /etc/apt/sources.list.d/additional-repositories.list 
deb https://apt.dockerproject.org/repo/ ubuntu-xenial main
#deb https://apt.dockerproject.org/repo/pool/ xenial testing
```
