I have a Macbook Pro with a partition of Kali Linux Sana 2.0 on the macintosh hard drive. I haven't used it for a while but today I decided to boot into it.
It booted as usual, I logged in etc. and then I opened terminal and ran apt-get update
. After that was done I ran apt-get upgrade
.
This is where I messed up, everything downloaded and it was dpkg'ing a bunch of things it had downloaded, but then it got stuck for about 5 minutes and I got really annoyed so I clicked ctrl+c, to cancel the upgrade, but nothing happened, so then I decided to restart the machine. But when it has booted up it brought me to a grey screen with a login tab in the center.
I logged in as usual but then the screen turned black, and after about a minute a white screen with the words "oh no something has gone wrong a problem has occurred and the system can't recover" and there was nothing else on the screen except a Logout button which just restarts Kali and the process repeats.
I have looked for a solution and the only thing I have found is to click ctrl+alt+F1(orF2) and to continue some terminal commands, but nothing came up as in the tutorials. Now I don't know what to do.
I don't even care if I will have to completely reinstall Kali Linux, but I need a solution because now I have a 40GB partition on my mac which is just broken Kali Linux.
Best Answer
Here's how I was able to fix this issue on my machine with Kali running in a VM:
dpkg --configure -a
dpkg
to reconfigure and sort itself out