Answer the question
In order to leave comments, you need to log in
How to update packages in ubuntu 16.04?
I go to the server via SSH and see the following messages:
167 packages can be updated.
75 updates are security updates.
I want to update application packages, for this I enter the following commands sequentially under root and reboot the server:
apt-get update
apt-get clean
apt-get autoremove
apt-get upgrade
apt-get dist-upgrade
I get the message:
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
After rebooting the server, I log in again via SSH as root and see that the packages have not been updated. What am I doing wrong and how do I update the apps?
Answer the question
In order to leave comments, you need to log in
The sssh greeting is cached rather than created on the fly apt-get dist-upgrade
no need to do it every time
apt-get update
apt-get upgrade
apt-get autoremove
enough
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question