Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, August 3, 2018 4:31 PM
Server information:
Ubuntu 17.04
VM DS2-V2 ( 2vcpus, 7GB RAM )
Full access to network (no block rules to traffic out)
Problem: When I try to run any installation or update this happens:
azureuser@SERVER:~$ sudo apt-get update
Ign:1 http://security.ubuntu.com/ubuntu zesty-security InRelease
Ign:2 http://azure.archive.ubuntu.com/ubuntu zesty InRelease
Ign:3 http://azure.archive.ubuntu.com/ubuntu zesty-updates InRelease
Ign:4 http://azure.archive.ubuntu.com/ubuntu zesty-backports InRelease
Err:5 http://azure.archive.ubuntu.com/ubuntu zesty Release
404 Not Found
Err:6 http://azure.archive.ubuntu.com/ubuntu zesty-updates Release
404 Not Found
Err:7 http://azure.archive.ubuntu.com/ubuntu zesty-backports Release
404 Not Found
Err:8 http://security.ubuntu.com/ubuntu zesty-security Release
404 Not Found [IP: *.*.*.* 80]
Hit:9 http://archive.canonical.com/ubuntu zesty InRelease
Hit:10 http://ppa.launchpad.net/certbot/certbot/ubuntu zesty InRelease
Hit:11 http://ppa.launchpad.net/ondrej/php/ubuntu zesty InRelease
Reading package lists... Done
E: The repository 'http://azure.archive.ubuntu.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://azure.archive.ubuntu.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://azure.archive.ubuntu.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://security.ubuntu.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.
All replies (3)
Friday, August 3, 2018 5:46 PM âś…Answered
Thanks for the reply.
Short solution, for future users: edit the file /etc/apt/sources.list and replace
azure.archive.ubuntu.com
AND
security.ubuntu.com
with
*old-releases.ubuntu.com *
Friday, August 3, 2018 5:25 PM
Hi,
The 17.04 release has gone End of Life.
This means that the repos might have been closed or moved.
The following threads might be of intrest.
https://github.com/Azure/azure-iot-sdk-c/issues/412
Saturday, August 4, 2018 1:15 PM
Thank you for posting the solution that worked for you, it would benefit other users with a similar issue.