I don't have a lot of experience with debian. I am troubleshooting a friend's debian squeeze setup who probably pasted both squeeze and wheezy sources in his sources.list. Since then I have corrected it. Installing gcc-4.3 throws:
gcc-4.3 : Depends: cpp-4.3 (= 4.3.5-4) but it is not going to be installed
# apt-cache policy cpp-4.3
cpp-4.3:
Installed: 4.3.5-4
Candidate: 4.3.5-4
Version table:
*** 4.3.5-4 0
500 http://ftp.au.debian.org/debian/ stable/main i386 Packages
100 /var/lib/dpkg/status
Why doesn't apt find my already installed package?
apt-get clean
followed byapt-get update
?