How to fix this update error

how to fix error in kali linux

pic–

the recommended command is sudo apt full-upgrade and not sudo apt upgrade. you can google about fixing broken packages using apt in linux

That’s not the issue though here - you mixed different repositories from different sources - and they all contain some tools in some current versions, that each have different dependencies.

Like kali repos tell the system that tool X needs a library in version greater than 2, while another repository tells the system that this library has to be lower than 2.

This creates a gigantic mess, and you either painstakingly undo what you did before - uninstall every tool/dependency/library that is causing problems, remove the additional repositories and try to get a stable state back… or you throw it away and install kali new, this time making sure not to mix repositories that are in stark contrast to one another.

ahh i didn’t see that. thanks for the correction.