Ubuntu 16.10 Update problem (some repository yakkety release does not have Release ) [closed]

There are similar messages ("Ubuntu repository does not have a Release file" ... but none works for me).

I try to update a system (apt-get update), but I got some errors.

Concretely (main error): [CODE] E:The repository 'http://archive.ubuntu.com/ubuntu yakkety Release' does not have a Release file., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The repository 'http://archive.ubuntu.com/ubuntu yakkety-updates Release' does not have a Release file., W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The repository 'http://archive.ubuntu.com/ubuntu yakkety-security Release' does not have a Release file. [/CODE]

My Ubuntu version: Description: Ubuntu 16.10 Codename: yakkety

I tried a lot of solutions found in different threads and different sources, such as : sudo apt-get autoclean sudo apt-get clean sudo apt-get update

I disabled all PPA's from "Other software" of "Software and Updates" (just in case..).

And also, I commented a pair of lines of sources.list file (just to try):

deb http://archive.ubuntu.com/ubuntu yakkety-backports main universe restricted multiverse deb http://archive.canonical.com/ubuntu yakkety partner

... but the main error remains (see "main error" on top) ...

When I try to : sudo apt-get update

I got this :

...
Ign:79 http://archive.ubuntu.com/ubuntu yakkety-security/universe amd64     Packages
Ign:80 http://archive.ubuntu.com/ubuntu yakkety-security/universe i386 Packages
Ign:81 http://archive.ubuntu.com/ubuntu yakkety-security/universe all     Packages
Reading package lists... Done
W: The repository 'http://archive.ubuntu.com/ubuntu yakkety 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.
W: The repository 'http://archive.ubuntu.com/ubuntu yakkety-updates 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.
W: The repository 'http://archive.ubuntu.com/ubuntu yakkety-security 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 http://archive.ubuntu.com/ubuntu/dists/yakkety/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.149 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/yakkety-security/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.

Any ideas? Thanks in advance!


Solution 1:

Ubuntu 16.10 is EOL since July 20, 2017.

Change http://archive to http://old-releases in /etc/apt/sources.list file, and run

sudo apt update && sudo apt upgrade

again.

And then update to a supported version.