After downloading the amd64 zesty server iso and burning it to dvd I did a fresh install with nothing but the basic packages. I did not check any of the optional 'boxes' during the install. There are no other operating systems on the drive.
When I try to do
sudo apt update && sudo apt upgrade
the attempt fails with
E: The repository 'http://us.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
The same error message is also given for zesty-security and zesty-updates.
This seems to be strange behavior for such a basic installation.
One would presume that us.archive.ubuntu.com would be secure if any archive is secure.
Is there a way to force the update and upgrade?
Additional information: If I simply do
sudo apt upgrade
I get multiple
Could not resolve 'us.archive.ubuntu.com'
messages.
I tried the suggestion that it might be an IVP6 issue and did a suggested edit to /etc/gai.conf but that had no effect
I am posting this in case the solution to my issue should prove helpful to someone else with the same issue who might happen upon this question here.
Thanks to the extensive assistance given to me by @HiAngel in chat we were able to focus this to a networking issue.
During install of Ubuntu zesty server from DVD the installer did not detect an internet connection so was unable to update and upgrade during installation. After installation I tried to upgrade using
but could not connect to us.archive.ubuntu.com
The solution was to manually edit using 'sudo vim' (since I did not install a GUI) the /etc/network/interfaces file.
The file was lacking a line for 'gateway' and for 'dns-nameserver'
I after locating the IP adresses for my provider's nameservers, I added the line
Using the output from
I added a line
I rebooted and then had no problem with update & upgrade.