Cannot solve the "The following packages have unmet dependencies" issue

Solution 1:

Posting my previous comment as answer (which was just a comment because I wasn't sure whether it would solve the issue entirely):

In an attempted edit on a similar question on SO a potential (and for your case partial I think) solution was mentioned: Running

sudo apt-get install gcc-9-base libgcc-9-dev libc6-dev

allows for libc6-dev to be installed which solved my issue that was basically idential to what mbomb007 mentioned in their comment.
After that I could apt-get dist-upgrade; I didn't try out if apt upgrade did something however.

Solution 2:

I was also facing the same problem, but I tried to solve it myself removing pkg by using command apt-get remove libc6-dev and then again I did update and upgrade my system,reboot it, again I used the command apt-get remove python3-tornado, then I did update and upgrade by system, after it, I could enable to install virtual box easily on Kali Linux.

Solution 3:

to solve this problem we need to just remove the broken packages.

apt remove "package name"

and keep on trying to update using apt-get upgrade in each step it will give someunmute dependency so you have to remove each packages manually.

at a instant the code apt-get upgrade starts working.

this is the easy way to resolve