As the title states, I messed up. I don't know exactly where (I was trying to install runescape), but I did. Now, there are about a hundred dependencies missing. So many that I can't get them on one scroll up.
I've tried many things (all the obvious ones of course):
apt-get update
apt-get upgrade
apt-get clean
apt-get autoclean
I've also tried with dpkg
. I found this, which told me to do this:
dpkg --get-selections | grep -v deinstall | awk '{print $1}' > list.log
awk '$1=$1' ORS=' ' list.log > newlist.log
apt-get install --reinstall $(cat newlist.log)
None of it worked.
No packages are on hold for dpkg. I've checked. Twice.
sudo apt-get -f install
returns the same errors that any other package install returns because of unmet dependencies.
Here's the error it gives me:
<bunch of dependencies listed>
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
I also managed to delete sources.list.d
at some point and I don't even really know what it's good for.
I seriously am out of my depth. I have no clue. Help.