Difference between revisions of "Fully update Ubuntu system"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Ubuntu|Ubuntu</yambe:breadcrumb> =Fully update ubuntu system= To fully update an Ubuntu system connected to Internet use: <pre> apt-get update apt-get...")
 
m
Line 1: Line 1:
<yambe:breadcrumb>Ubuntu|Ubuntu</yambe:breadcrumb>
[[Main Page|Home]] > [[Ubuntu]] > [[Fully update Ubuntu system]]
=Fully update ubuntu system=


To fully update an Ubuntu system connected to Internet use:
To fully update an Ubuntu system connected to Internet use:
Line 22: Line 21:
* https://askubuntu.com/questions/196768/how-to-install-updates-via-command-line
* https://askubuntu.com/questions/196768/how-to-install-updates-via-command-line
* https://askubuntu.com/questions/215267/will-apt-get-dist-upgrade-upgrade-my-system-to-newer-version/215268
* https://askubuntu.com/questions/215267/will-apt-get-dist-upgrade-upgrade-my-system-to-newer-version/215268
[[Main Page|Home]] > [[Ubuntu]] > [[Fully update Ubuntu system]]

Revision as of 07:02, 31 March 2022

Home > Ubuntu > Fully update Ubuntu system

To fully update an Ubuntu system connected to Internet use:

   apt-get update
   apt-get upgrade -f
   apt-get dist-upgrade -f 

Note that "apt-get upgrade" only installs new packages of available versions. -f is for installing missing dependencies. upgrade does not removes installed packages.

Whereas "apt-get dist-upgrade" can also remove packages to smartly upgrade. This is necessary to update packages such as kernels which typically require removal of some older packages. This wont update the OS release. For example this wont change from 16.04LTS to 16.10 non-LTS. This will only install packages available for that particular release.

If you also want to update release then use:

   sudo do-release-upgrade


Refer:




Home > Ubuntu > Fully update Ubuntu system