apt-get update fails when updating from 17.04 to 17.10 after EOL, none of the mirrors can be found [closed]
First we will fix your repositories:
sudo sed -i -re 's/([a-z]{2}\.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
This should adjust your /etc/apt/sources.list
to look similar to this:
deb http://old-releases.ubuntu.com/ubuntu/ zesty-updates main
deb http://old-releases.ubuntu.com/ubuntu/ zesty-backports main
deb http://old-releases.ubuntu.com/ubuntu zesty-security main
deb http://old-releases.ubuntu.com/ubuntu zesty main universe restricted multiverse
Then run:
sudo apt-get update && sudo apt-get dist-upgrade