The first thing I encountered was while I was doing a dist-upgrade:
I searched around and did a bunch of commands such as apt-get -f install and apt-get -y install default-jre.E: Internal Error, Could not perform immediate configuration on 'default-jre'
I then went into /var/cache/apt/archives and tried to manually install default-jre, only to encounter dependency errors that tell me things like "default-jre depends on default-jre-headless" and "default-jre-headless depends on openjdk-jre-headless."
Now whenever I try to do a dist-upgrade or install default-jre, I get this:
I tried using -f, but it gave almost the exact same thing.Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
default-jdk : Depends: default-jre (= 1:1.6-40) but 1:1.6-47 is installed
default-jre-headless : Depends: openjdk-6-jre-headless (>= 6b23~pre8-2~) but 6b18-1.8.13-0+squeeze1 is installed
openjdk-6-jre : Depends: openjdk-6-jre-headless (= 6b24-1.11.1-6) but 6b18-1.8.13-0+squeeze1 is installed
Depends: libjpeg8 (>= 8c) but 8b-1 is installed
Depends: libpulse0 (>= 0.99.1) but 0.9.21-3+squeeze1 is installed
Depends: libatk-wrapper-java-jni (>= 0.30.4-0ubuntu2) but it is not installed
Recommends: icedtea-netx but it is not installed
E: Unmet dependencies. Try using -f.
I'm so confused right now. If anybody could help, that would be great.