PID Banner

Mittwoch, 14. März 2018

Howto update Ubuntu 16.10 yakkety to 17.10 artful

It´s a little bit tricky to update from Ubuntu Version 16.10 to 17.10 if you want to use the update-manager from Ubuntu. Because in the archives of 16.10 no update-manager-package is available.

I will explain the way I managed to get the problem solved


First, get the debs from a third party source

wget http://launchpadlibrarian.net/304025083/python3-distupgrade_16.10.10_all.deb

wget http://launchpadlibrarian.net/304025084/ubuntu-release-upgrader-core_16.10.10_all.deb

wget http://launchpadlibrarian.net/212262291/python3-distro-info_0.14build1_all.deb

wget http://launchpadlibrarian.net/316160954/python3-update-manager_16.10.10_all.deb

wget http://launchpadlibrarian.net/316160955/update-manager-core_16.10.10_all.deb

sudo dpkg -i python3-distupgrade_16.10.10_all.deb ubuntu-release-upgrader-core_16.10.10_all.deb python3-distro-info_0.14build1_all.deb python3-update-manager_16.10.10_all.deb python3-update-manager_16.10.10_all.deb update-manager-core_16.10.10_all.deb

sudo apt-get install -f

rm *.deb

Now, you have the update-manager installed. But if you just run

sudo do-release-upgrade


you will get an error message like: Update from yakkety to artful is not possible.

To get the job done, you have to update to zesty first and then to artful. First you have to change some entries in the meta-release file.

sudo vim /var/lib/update-manager/meta-release


Go to the section yakkety and change:

Supported: 0


to

Supported: 1


and change the resource links:

http://archive.ubuntu.com/...


to

http://old-releases.ubuntu.com/...


Do the same changes in the section zesty. And set in the section artful

Supported: 1


to

Supported: 0


Save the file and make a

sudo do-release-upgrade


After upgrading to zesty:

sudo vim /var/lib/update-manager/meta-release


Go to section artful and change:

Supported: 0


to

Supported: 1


Save the file and do a final

sudo do-release-upgrade


Congratulation!



1 Kommentar:

Anonym hat gesagt…

Tiger, RAWR!!!
🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯🐯