Skip to content

Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)

Sometimes old computers are not updated quickly enough, or just kept running ...

root@system ~ # lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.10
Release:        16.10
Codename:       yakkety

And so it happens that the support for Ubuntu 16.10 (codename: yakkety) came to an end, and the packages were removed from the regular Ubuntu servers. Trying to run an upgrade (do-release-upgrade) ended in the following message:

 

Reading cache

Checking package manager

Can not upgrade 

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

 

With a bit of a workaround, an upgrade is still possible. Here are the steps:

First create a copy of the sources.list, and then replace the regular localized archive links with "old-releases":

cp -a /etc/apt/sources.list /etc/apt/sources.list.old

sed -i -e 's/de.archive/old-releases/' /etc/apt/sources.list

It might not be "de.archive" in your sources.list, but rather another TLD. After that, edit the file and comment out the entries for "partner" and "security":

#deb http://archive.canonical.com/ubuntu yakkety partner

#deb http://security.ubuntu.com/ubuntu yakkety-security main restricted

Run "apt-get update", it should not bring any error about missing repositories or such.

Next step: tell the upgrader that the current and next version are still supported - that part is not true, but it is required to make the upgrade work. Edit the file /var/lib/update-manager/meta-release and change the entries for "yakkety" and "zesty".

Old:

Dist: yakkety
Name: Yakkety Yak
Version: 16.10
Date: Thu, 13 October 2016 16:10:00 UTC
Supported: 0
Description: This is the 16.10 release
Release-File: http://archive.ubuntu.com/ubuntu/dists/yakkety/Release
ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/main/dist-upgrader-all/current/yakkety.tar.gz
UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/yakkety-updates/main/dist-upgrader-all/current/yakkety.tar.gz.gpg

Dist: zesty
Name: Zesty Zapus
Version: 17.04
Date: Thu, 13 April 2017 17:04:00 UTC
Supported: 0
Description: This is the 17.04 release
Release-File: http://archive.ubuntu.com/ubuntu/dists/zesty/Release
ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
UpgradeTool: http://archive.ubuntu.com/ubuntu/dists/zesty-updates/main/dist-upgrader-all/current/zesty.tar.gz
UpgradeToolSignature: http://archive.ubuntu.com/ubuntu/dists/zesty-updates/main/dist-upgrader-all/current/zesty.tar.gz.gpg

New:

Dist: yakkety
Name: Yakkety Yak
Version: 16.10
Date: Thu, 13 October 2016 16:10:00 UTC
Supported: 1
Description: This is the 16.10 release
Release-File: http://old-releases.ubuntu.com/ubuntu/dists/yakkety/Release
ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
UpgradeTool: http://old-releases.ubuntu.com/ubuntu/dists/yakkety-updates/main/dist-upgrader-all/current/yakkety.tar.gz
UpgradeToolSignature: http://old-releases.ubuntu.com/ubuntu/dists/yakkety-updates/main/dist-upgrader-all/current/yakkety.tar.gz.gpg

Dist: zesty
Name: Zesty Zapus
Version: 17.04
Date: Thu, 13 April 2017 17:04:00 UTC
Supported: 1
Description: This is the 17.04 release
Release-File: http://old-releases.ubuntu.com/ubuntu/dists/zesty/Release
ReleaseNotes: http://changelogs.ubuntu.com/EOLReleaseAnnouncement
UpgradeTool: http://old-releases.ubuntu.com/ubuntu/dists/zesty-updates/main/dist-upgrader-all/current/zesty.tar.gz
UpgradeToolSignature: http://old-releases.ubuntu.com/ubuntu/dists/zesty-updates/main/dist-upgrader-all/current/zesty.tar.gz.gpg

Basically "Supported" is set to "1", and the resource links are changed to "old-releases".

 

Run do-release-upgrade twice (first from yakkety to zesty, then from zesty to artful).

Afterwards enable the "partner" repository again, if it was enabled before.

  • Twitter
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Bloglines Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Technorati Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Fark this: Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful)
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at YahooMyWeb
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at Furl.net
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at reddit.com
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at blinklist.com
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at Spurl.net
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at Simpy.com
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) at blogmarks
  • Bookmark Upgrade from Ubuntu 16.10 (yakkety) to 17.10 (artful) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Trackbacks

No Trackbacks

Comments

Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options