Just wanted to add that it is not just build-essential, but lots of other packages required for development that cannot be installed, e.g. this:
sudo apt-get install libwxbase3.0-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.
libwxbase3.0-dev : Depends: libc6-dev but it is not going to be installed or libc-dev
E: Unable to correct problems, you have held broken packages.
Just wanted to add that it is not just build-essential, but lots of other packages required for development that cannot be installed, e.g. this:
sudo apt-get install libwxbase3.0-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.
libc-dev
libwxbase3.0-dev : Depends: libc6-dev but it is not going to be installed or
E: Unable to correct problems, you have held broken packages.