apt-get -f install gcc g++ make flex bison openssl libssl-dev perl perl-base perl-modules libperl-dev libaio1 libaio-dev zlib1g zlib1g-dev libcap-dev bzip2 automake autoconf libtool cmake 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: automake : Depends: autotools-dev (>= 20020320.1) but it is not going to be installed bison : Depends: libbison-dev (= 1:2.5.dfsg-2.1) but it is not going to be installed bzip2 : Depends: libbz2-1.0 (= 1.0.6-4) but 1.0.5-6+squeeze1 is to be installed cmake : Depends: libarchive12 but it is not going to be installed Depends: libstdc++6 (>= 4.6) but 4.4.5-8 is to be installed Depends: libxmlrpc-core-c3 but it is not going to be installed Depends: cmake-data (= 2.8.9-1) but it is not going to be installed g++ : Depends: cpp (>= 4:4.7.2-1) but 4:4.4.5-1 is to be installed Depends: g++-4.7 (>= 4.7.2-1~) but it is not going to be installed Depends: gcc-4.7 (>= 4.7.2-1~) but it is not going to be installed gcc : Depends: cpp (>= 4:4.7.2-1) but 4:4.4.5-1 is to be installed Depends: gcc-4.7 (>= 4.7.2-1~) but it is not going to be installed Recommends: libc6-dev but it is not going to be installed or libc-dev libaio1 : PreDepends: multiarch-support but it is not going to be installed libc6 : Depends: libc-bin (= 2.11.3-4) but 2.13-38 is to be installed libc6-i386 : Depends: libc6 (= 2.13-38) but 2.11.3-4 is to be installed libcairo-perl : Depends: perlapi-5.10.1 libcap-dev : Depends: libcap2 (= 1:2.22-1.2) but 1:2.19-3 is to be installed libfont-freetype-perl : Depends: perlapi-5.10.0 libglib-perl : Depends: perlapi-5.10.1 libgnome2-canvas-perl : Depends: perlapi-5.10.0 libgnome2-perl : Depends: perlapi-5.10.0 libgnome2-vfs-perl : Depends: perlapi-5.10.0 libgtk2-perl : Depends: perlapi-5.10.1 libhtml-parser-perl : Depends: perlapi-5.10.1 liblocale-gettext-perl : PreDepends: perlapi-5.10.0 libnet-dbus-perl : Depends: perlapi-5.10.1 libpango-perl : Depends: perlapi-5.10.1 libperl-dev : Depends: libperl5.14 (= 5.14.2-21) but it is not going to be installed Depends: libc6-dev but it is not going to be installed or libc-dev libperl5.10 : Depends: perl-base (= 5.10.1-17squeeze6) but 5.14.2-21 is to be installed libssl-dev : Depends: libssl1.0.0 (= 1.0.1e-2) but it is not going to be installed Recommends: libssl-doc but it is not going to be installed libtext-charwidth-perl : Depends: perlapi-5.10.0 libtext-iconv-perl : Depends: perlapi-5.10.0 libtool : Depends: libc6-dev but it is not going to be installed or libc-dev Depends: autotools-dev but it is not going to be installed Recommends: libltdl-dev but it is not going to be installed libuuid-perl : Depends: perlapi-5.10.1 libxml-parser-perl : Depends: perlapi-5.10.0 locales : Depends: glibc-2.13-1 openssl : Depends: libssl1.0.0 (>= 1.0.1) but it is not going to be installed perl : Depends: libdb5.1 but it is not going to be installed perl-base : Conflicts: defoma (< 0.11.12) but 0.11.11 is to be installed Conflicts: mono-gac (< 2.10.8.1-3) but 2.6.7-5.1 is to be installed Conflicts: update-inetd (< 4.41) but 4.38+nmu1+squeeze1 is to be installed perl-modules : Depends: libswitch-perl Depends: libclass-isa-perl Conflicts: defoma (< 0.11.12) but 0.11.11 is to be installed Conflicts: mono-gac (< 2.10.8.1-3) but 2.6.7-5.1 is to be installed perlmagick : Depends: perlapi-5.10.1 zlib1g : PreDepends: multiarch-support but it is not going to be installed zlib1g-dev : Depends: libc6-dev but it is not going to be installed or libc-dev E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).