0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded [duplicate]
when i update and upgrade , i show these lines The following packages have been kept back: mysql-utilities 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
but when i use dist-upgrade then i show these lines
sudo apt-get dist-upgrade
[sudo] password for anki:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo apt-get upgrade
[sudo] password for anki:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
mysql-utilities
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
unable to upgrade
First step always before updating or installing something is to run sudo apt-get update
.
Second step is to run your sudo apt-get upgrade
or sudo apt-get dist-upgrade
.
One final point, if there's nothing to upgrade, then it won't upgrade anything.