0

I've been locked out of my Desktop computer for a while and could only get hold of an old installation CD with yakkety on it.

$ do-release-upgrade
Checking for a new Ubuntu release
Your Ubuntu release is not supported anymore.
For upgrade information, please visit:
http://www.ubuntu.com/releaseendoflife

Get:1 Upgrade tool signature [819 B]                                           
Get:2 Upgrade tool [1,258 kB]                                                  
Fetched 1,258 kB in 0s (0 B/s)                                                 
authenticate 'bionic.tar.gz' against 'bionic.tar.gz.gpg' 
extracting 'bionic.tar.gz'

Reading cache

Checking package manager

Can not upgrade 

**An upgrade from 'yakkety' to 'bionic' is not supported with this 
tool.** 

I've tried upgrading a few different ways and get the same message that an upgrade from 16.10 to 18.04 is not possible with this tool. Running apt-get update, some of the repositories don't work also:

E: The repository 'http://security.ubuntu.com/ubuntu yakkety-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.

I read in a thread yesterday that you can manually edit the sources.list and upgrade to the next version (still an old one, but a step up), I found out that its called an EOL Upgrade: https://help.ubuntu.com/community/EOLUpgrades

I tried this but things didn't work out like I was hoping. Is this EOL Upgrade the only viable way to do this? Will I have to do 2 EOL upgrades (16.10 > 17.04 > 17.10)? I just checked and yesterday I tried to jump from 16.10 to 17.10:

sudo sed -i 's/yakkety/artful/g' /etc/apt/sources.list

Maybe that's why things went wrong. So to do it properly, do I need to run these commands:

sudo sed -i 's/yakkety/zesty/g' /etc/apt/sources.list
sudo sed -i 's/zesty/artful/g' /etc/apt/sources.list
sudo sed -i 's/yakkety/zesty/g' /etc/apt/sources.list
sudo do-release-upgrade

?

As for an alternative way, I have no files or anything on this partition I need to save so it doesn't matter if all user files on it get wiped out. I could make a partition just big enough to hold the Ubuntu 18.10 iso file, can I boot that partition like you would a CD?

EDIT: So I ran: sudo sed -i 's/yakkety/zesty/g' /etc/apt/sources.list

Everything went normal except at the end, I got the same message about repositories not having Release file:

W: The repository 'http://ie.archive.ubuntu.com/ubuntu zesty-updates Release' does not have a Release file.

Then when trying to upgrade, nothing happened:

$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ash
  • 2,207
John Slotsky
  • 53
  • 1
  • 10

1 Answers1

0

Looks like it's too much trouble to upgrade stepwise like this so gonna take an alternative route. I looked into how to install from an ISO located on a harddrive partition and found this: https://help.ubuntu.com/community/Grub2/ISOBoot

John Slotsky
  • 53
  • 1
  • 10