Updating ubuntu linux

It’s recommended to update/upgrade all installed packages before upgrading.To update Ubuntu, press Ctrl — Alt — T on your keyboard to open the commands terminal.You can simply remove your current Ubuntu image and then tell Windows to reinstall a new Ubuntu image.

Starting with the Windows 10 Creators Update, anyone who installs the Bash environment will get Ubuntu 16.04 (Xenial).

But, if you’ve previously installed Bash in the Anniversary Update, you’ll be stuck with Ubuntu 14.04 (Trusty) until you manually upgrade.

It will attempt to upgrade the most important packages at the expense of less important ones if necessary.

The dist-upgrade command may therefore remove some outdated and broken packages.

We shall also see how to only install security updates and not all regular updates by command line.