# Errocode 100 on apt-get update (Docker Build Issues debian)

**URL:** <https://forum.hhf.technology/t/errocode-100-on-apt-get-update-docker-build-issues-debian/102>\
**Category:** Tutorials\
**Created:** [October 9, 2024, 3:11pm UTC](https://forum.hhf.technology/t/errocode-100-on-apt-get-update-docker-build-issues-debian/102 "2024-10-09T15:11:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhf.technoloy](https://forum.hhf.technology/user_avatar/forum.hhf.technology/hhf.technoloy/32/68_2.png) [@hhf.technoloy](https://forum.hhf.technology/u/hhf.technoloy)\
**Post date:** [October 9, 2024, 3:11pm UTC](https://forum.hhf.technology/t/errocode-100-on-apt-get-update-docker-build-issues-debian/102/1 "2024-10-09T15:11:35Z")

</div>

# Errocode 100 on apt-get update

When using the command `apt-get update` sometimes your file just won’t build. Most of the time this is due to the sources used by apt-get not being up-to-date.

The following `RUN` command can be added if your image is based on debian/jessie

```bash
# UPDATE SOURCES 
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list

```

Source: [Issue with fetching http://deb.debian.org/debian/dists/jessie-updates/InRelease with docker - Super User](https://superuser.com/questions/1423486/issue-with-fetching-http-deb-debian-org-debian-dists-jessie-updates-inrelease)
