Sudo apt-get install 404 failure (Not Found IP: 91.189.88.152 80)

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.

As mentioned in our note, I was able to reproduce this locally.

I wonder if there’s another place we could report this to Ubuntu maybe, if somebody hasn’t already?

Hi,

Yaketty is EOL and no longer supported: https://wiki.ubuntu.com/YakketyYak/ReleaseNotes.

Its repositories were deleted from the main Ubuntu servers: http://security.ubuntu.com/ubuntu/dists/.

1 Like

Hi Clement, Thanks so much for this, very helpful.

please i m having this same issue , kindly help with instructions on how to solve it . Thanks

Switch to a distro version that is still within maintenance: the accepted answer is above. If you are still stuck, please add a detailed description of what problem you have, and what your config looks like, so someone can advise further.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.