Skip to content

Updating packages for Ubuntu server

Daisho Komiyama edited this page Jan 28, 2019 · 1 revision

I logged in my server via ssh and I saw this message

209 packages can be updated.

209 updates are security updates

I run these commands to make the message disappear.

sudo apt-get update # Fetches the list of available updates

sudo apt-get upgrade # Strictly upgrades the current packages

sudo apt-get dist-upgrade # Installs updates (new ones)

Then also I did one more thing which is cleaning unused packages

sudo apt-get autoremove

*Reference: How to install updates via command line?

Clone this wiki locally