I have a failing build due to a 404 error when running apt-get install. Not sure if this is CircleCI or my setup, but any guidance would be appreciated. My docker file is below. One fix for the issue is to call ‘apt-get update’ before, but as you can see I am already doing this.
FROM ubuntu:16.10
RUN apt-get update && apt-get install -y \
apache2 \
mysql-client \
php7.0 \
libapache2-mod-php7.0 \
php7.0-mysql \
php7.0-mcrypt \
php7.0-gd \
php7.0-mbstring \
php7.0-curl \
php7.0-xml \
&& rm -rf /var/lib/apt/lists/*
The error is the following:
W: The repository 'http://security.ubuntu.com/ubuntu yakkety-security Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu yakkety Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu yakkety-updates Release' does not have a Release file.
W: The repository 'http://archive.ubuntu.com/ubuntu yakkety-backports Release' does not have a Release file.
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/yakkety-security/universe/source/Sources 404 Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety/universe/source/Sources 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/universe/source/Sources 404 Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety-backports/main/binary-amd64/Packages 404 Not Found [IP: 91.189.88.149 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Thanks for your assistance.