When I try to install python-dev, libxml2-dev, libxslt-dev for Python2 on my Ubuntu 14.04, I get the following error:
E: Unable to correct problems, you have held broken packages
E: Unable to correct problems, you have held broken packages
E: Unable to correct problems, you have held broken packages
Reading package lists...
Building dependency tre...
Reading state information...
Some packaghes 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 nor been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependecies:
python-dev : Depends: libpython-dev (= 2.7.5-5ubuntu3) but it is not going to be installed
Depends: python2.7-dev (>= 2.7.5-1~) but it is not going to be installed
What exactly to I need to do in order to fix this? The error is not very clear...
libpython-devandpython2.7-devusing something likesudo apt-get install package==version. Otherwise, the answer is to release the hold on the packages that affected packages that are being held.-updatesand-securityrepos as mentioned here. Honestly, it's a poor error coming fromaptif that's the case. :-(