Zesty Packages – Fix Errors Updating Zesty Packages with apt

17.04updates

I am trying to update zesty and facing errors. I tried apt-get update/upgrade and apt update as well. I can see that updates are available though. I tried through update manager GUI but faced an issue.

Ign:9 http://mirror.adminbannok.com/ubuntu zesty InRelease                                       
Ign:11 http://mirror.adminbannok.com/ubuntu zesty-updates InRelease
Ign:12 http://mirror.adminbannok.com/ubuntu zesty-backports InRelease
Ign:13 http://mirror.adminbannok.com/ubuntu zesty-security InRelease
Err:14 http://mirror.adminbannok.com/ubuntu zesty Release
  404  Not Found
Err:15 http://mirror.adminbannok.com/ubuntu zesty-updates Release
  404  Not Found
Err:16 http://mirror.adminbannok.com/ubuntu zesty-backports Release
  404  Not Found
Err:17 http://mirror.adminbannok.com/ubuntu zesty-security Release
  404  Not Found
Lecture des listes de paquets... Fait
E: The repository 'https://dl.bintray.com/sbt/debian  Release' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirror.adminbannok.com/ubuntu zesty Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirror.adminbannok.com/ubuntu zesty-updates Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirror.adminbannok.com/ubuntu zesty-backports Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirror.adminbannok.com/ubuntu zesty-security Release' does no longer have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Best Answer

As described in release notes. Zesty will be supported for 9 months until January 2018. Therefore you can use old-releases site, to install zesty packages.

You can use following sources list entries:

deb http://old-releases.ubuntu.com/ubuntu/ zesty main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu/ zesty-proposed main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ zesty-backports main restricted universe multiverse

# this repo is disabled!
#deb http://archive.canonical.com/ubuntu zesty partner

deb-src http://old-releases.ubuntu.com/ubuntu/ zesty main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-updates main restricted universe multiverse
deb-src http://old-releases.ubuntu.com/ubuntu/ zesty-security main restricted universe multiverse

It can be successfully retrieved by apt without any problems.