Update Ubuntu Security packages

I have installed HestiaCP almost a year back on Ubuntu 22.04.

How do I update the system with all the security patches? What’s the command I need to run for the same?

Can I just login to Ubuntu as root and run the following:

sudo apt update
sudo apt upgrade 

Any downsides of doing the above?

Usualy not, no. You could also run apt dist-upgrade to install the latest kernel updates aswell and do a reboot after.

If you get asked to update any configuration files, just use the default value which is “NO”, otherwise you will break some services.

2 Likes

Be careful not to update it to 24.04, since it is not supported yet by hestia.

2 Likes

But won’t it remove the unwanted programs also? I mean apt dist-upgrade

Isn’t it ideal to run apt upgrade?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.