# apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: gcc (>= 4:4.4.3) but it is not going to be installed
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
E: Broken packages
# apt-get install libc6-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.11.3-4) but 2.13-35 is to be installed
Depends: libc-dev-bin (= 2.11.3-4) but it is not going to be installed
Recommends: gcc but it is not going to be installed or
c-compiler
E: Broken packages
A build-essential chciałem aby zainstalować squid3 ze wsparciem dla SSL i zobaczyć jak działa:
# apt-get build-dep squid3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libcap-dev' instead of 'libcap2-dev'
The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: gcc (>= 4:4.4.3) but it is not going to be installed
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
libexpat1-dev : Depends: libc6-dev but it is not going to be installed or
libc-dev
libkrb5-dev : Depends: krb5-multidev (= 1.8.3+dfsg-4squeeze6) but it is not going to be installed
libpam0g-dev : Depends: libc6-dev but it is not going to be installed or
libc-dev
libsasl2-dev : Depends: libc6-dev but it is not going to be installed
E: Build-dependencies for squid3 could not be satisfied.
deb http://ftp.pl.debian.org/debian/ squeeze main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ squeeze main non-free contrib
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
# squeeze-updates, previously known as 'volatile'
deb http://ftp.pl.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.pl.debian.org/debian/ squeeze-updates main contrib non-free
#backports
deb http://backports.debian.org/debian-backports squeeze-backports main
#deb http://ftp.pl.debian.org/debian/ wheezy main contrib non-free
#deb-src http://ftp.pl.debian.org/debian/ wheezy main contrib non-free
#deb http://security.debian.org/ wheezy/updates main contrib non-free
#deb-src http://security.debian.org/ wheezy/updates main contrib non-free
Faktycznie korzystałem z repozytorium wheeze tylko dla jednego pakietu którego nie ma w squeeze - tcptrack - i nic więcej zeń nie brałem. Ale pewnie wymagał jakiś zależności które mi namieszały.
I faktycznie namieszały - bowiem na innej maszynce na której nie robiłem takich rzeczy build-essential zainstalowało się bez problemu.
Tematu więc nie ciągnę - bo odkręcić to to będzie zapewne jakiś koszmar - więc skompiluje sobie gdzieś indziej a potem przeniosę.
i A gcc-4.7-base - GCC, the GNU Compiler Collection (base package)
i libc-bin - Embedded GNU C Library: Binaries
i libc6 - Embedded GNU C Library: Shared libraries
i libc6-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
i libstdc++6 - GNU Standard C++ Library v3
i locales - Embedded GNU C Library: National Language (locale) data [support]
i A multiarch-support - Transitional package to ensure multiarch compatibility
i sarg - squid analysis report generator
i squid3 - A full featured Web Proxy cache (HTTP proxy)
i A squid3-common - A full featured Web Proxy cache (HTTP proxy) - common files
i squid3-dbg - A full featured Web Proxy cache (HTTP proxy) - Debug symbols
i tcptrack - TCP connection tracker, with states and speeds
squid3 to akrutat moje zabawy z kompilacją, a pozostałe to wymagania tcptrack - który to jest bardzo fajny ale występuje w etch/lenny/wheezy natomiast w squeeze były jakieś problemy i zrezygnowali.
Dzięki za pomoc i zwrócenie uwagi, kompilację zrobiłem sobie na maszynce bez żadnych machlojek.