Ubuntu: how can be update packages
full update single line:
1 |
apt update && apt upgrade -y |
1)Try these commands (although the third one may not be necessary for you):
1 2 3 |
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade |
When you ran apt-get upgrade, where there any “not upgraded”? Eg:
1234 Reading package lists... DoneBuilding dependency treeReading state information... Done0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Looking at 0 not upgraded. If there were ones that were not upgraded, run apt-get dist-upgrade
2)A reboot may or may not be necessary
1 |
sudo shutdown -r 0 |