root@server:/home/ante# 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: g++ (>= 4:4.4.3) but it is not going to be installed
E: Broken packages
I tried installing libv8-dev from wheezy, running squeeze. The install went smooth, no extra dependencies required really. I created an /etc/apt/apt.conf
file specifying that stable was my default source. I then ran an apt-get update
followed by an apt-get upgrade
. Then I decided to install lua and saw lua5.2 using apt-cache search
. I installed, removed wheezy links from sources.list and uninstalled lua. The order might be incorrect because it seems my libc6 was updated and loads of packages uninstalled. Now I'm left with this message.
Is there a way of avoiding reinstalling everything? I seem to have gotten libc6 2.13-26 instead of 2.11.3-3.
loads of package
that got installed I suspect the only think I can suggest is that you need to re0install.aptitude
where for example you can find broken packages using theb
key and, if you have different packages sources in/etc/apt/sources.list*
, you can up/downgrade manually the packages using the package information view (enter key).