How to fix not Upgraded Error in Kali Linux

Even after updating the sources.list file and trying to update and upgrade, if you still get this error - "0 upgraded 0 newly installed 0 to remove and 1 not upgraded". You're at the right place. I was also facing this problem every single time I tried to upgrade my Kali Linux. Anyway, without wasting much time, let's get started.




Fix "not upgraded" error in Kali Linux

You just need to do the exact same thing, you always did but with a slight change.


Firstly, run this command - 'apt-get update -y'. What does this command do?
So, it will download package information from the sources for an updated version of packages or their dependencies.

Now comes the main part of actually installing or upgrading any newer version of package. But to upgrade every single package or installing any newer package available, you need to run this below command.

apt-get full-upgrade -y

What this will do is, it will remove all the currently install packages and install all the new versions of packages in order to upgrade the system as a whole.

There is one such similar command which also can be used instead of 'full-upgrade'. It has a similar function but instead of removing the old packages, it will just upgrade the old package(s) or any dependencies. And the command is - 'apt-get dist-upgrade'.

Hope it helps.

If you have any query or would like to share more on this, please comment down below.
Thanks
Previous
Next Post »

Subscribe to our mailing list

* indicates required
Select your Interested Topics.