How To

How To Upgrade from Ubuntu 16.04LTS to Ubuntu 17.04

With the release of Ubuntu 17.04 (Zesty Zapus), this post will be focused on how to upgrade Ubuntu 16.04LTS to Ubuntu 17.04. Note that Ubuntu 17.04 is a non LTS release so its recommend you only do this in a test environment to ensure no unknown issues arises as a result of this upgrade. Also recommended to allow a few more years for this platform to stabilize before attempting the upgrade. Lets take a quick look at Ubuntu 17.04 new features

upgrade Ubuntu 16.04LTS

Ubuntu 17.04 Changelog

  • 32-bit PowerPC support had been dropped. The powerpc port is no longer included in the 17.04 release, but support for 64bit still continues
  • Default DNS resolver is now systemd-resolved
  • For new installs, a swap file will now be used instead of a swap partition
  • Ubuntu 17.04 is based on the Linux release series 4.10, so expect it to be shipped with Linux Kernel 4.10
  • There is support for driverless printing, meaning you can now print without printer-specific drivers. These printers are IPP Everywhere and Apple AirPrint printers, but also some PDF, Postscript, and PCL printers work
  • LibreOffice has been updated to version 5.3
  • Apps provided by GNOME have been updated to v3.24. Exceptions are the Nautilus file manager (3.20), Terminal (3.20), Evolution (3.22), as well as Software (3.22)
  • The Calendar app now has a Week view
  • gconf is no longer installed by default since it has long been superseded by gsettings. Note that statistics and preferences for the Aisleriot card games will be reset when upgrading to 17.04
  • Unity 8 is available as an alternative session
  • [See release notes for more details]

How to upgrade Ubuntu 16.04LTS to Ubuntu 17.04

  • Normally a fresh installation is always recommended but in the event that you must do an upgrade, then ensure that you always backup your important files, datas, bookmarks, folders and other vital documents and then move all to a secure external location. You can achieve this by installing Duplicity a backup tool that allows you to backup directories by producing encrypted tar-format volumes and uploading them to a remote or local file server.
  • Run following commands to install duplicity
sudo add-apt-repository ppa:duplicity-team/ppa
sudo apt-get update && sudo apt-get install duplicity python-gi
  • Search for “Deja” in dash and click on backup
  • Click “Folders to save” and add the desired folders you want to backup
  • Back to Overview and click on Back up Now… and backup with or without password protection
READ  Install Krita 3.3.0 on Ubuntu

Proceed with upgrade

  • We need to change some settings to allow us receive automatic notification
    • Launch “Software & Updates” from dash
    • Click on the “Updates” tab
    • Under “Notify me of a new Ubuntu version”, click the dropdown menu and select “For any new version”
    • Close for changes to take effect
  • Now run the following commands to begin the upgrade process
sudo do-release-upgrade -d
  • When the initial upgrade preparation is completed, you will be prompted to restart the system. Reboot the machine. Next run the same upgrade command to upgrade to Ubuntu 17.04
sudo do-release-upgrade -d
  • Verify upgrade by running the following command
lsb_release -a

Post Upgrade Tasks

We recommend you perform some of these tasks after your upgrade is completed.

  • Do a quick update check for security / kernel patches and app updates
  • Install graphics drivers via software & updates center
  • Install some media codecs to enable you play and listen to music as well as watch movies. You can install media codes by running the following command
sudo apt install ubuntu-restricted-extras
  • Install latest Unity Tweak Tool
  • Also install System Load Indicator – This is a graphical system load indicator for CPU, ram, etc. See steps below to install it
sudo add-apt-repository ppa:indicator-multiload/stable-daily
sudo apt-get update && sudo apt-get install indicator-multiload
  • Disable Guest Session from Login Screen – You can disable guest login by editing the file “50-no-guest.conf” and adding the code below. Restart your machine for changes to take effect
sudo apt install gksu && gksudo gedit /etc/lightdm/lightdm.conf.d/50-no-guest.conf

# Add following lines
[SeatDefaults]
allow-guest=false

Troubleshooting

One issue so far reported by users after upgrading to Ubuntu 17.04 is the wi-fi feature not working due to mac address changes. To fix this issue, follow the steps below – source

  • Open a terminal and run the following command
sudo -H gedit /etc/NetworkManager/NetworkManager.conf
  • Enter the following lines at the end of the file
[device]
wifi.scan-rand-mac-address=no
  • Save changes and close the file. then run command for changes to take effect
sudo service network-manager restart

About the author

Admin

A passionate Linux and Open Source user. In my spare time, I love developing mobile games for fun (You can check my games out iOS Store | Google Play Store) and also spend time contributing to the Linux community.

Leave a Reply

1 Comment on "How To Upgrade from Ubuntu 16.04LTS to Ubuntu 17.04"

Notify of
avatar
Sort by:   newest | oldest | most voted
julie
Guest
julie

have update to 17.04 without any problem but don’t see any update since then!
is it my lvmetad problem?

wpDiscuz