I tried sudo apt-get install -f python-dev, as suggested by the error message itself, but it didn't work. I got
Preparing to replace python-dev 2.7.3-0ubuntu2 (using .../python-dev_2.7.3-0ubuntu2.1_i386.deb) ...
Unpacking replacement python-dev ...
dpkg: error processing /var/cache/apt/archives/python-dev_2.7.3-0ubuntu2.1_i386.deb (--unpack):
trying to overwrite '/usr/lib/pkgconfig/python2.pc', which is also in package python2.7 2.7.3-0ubuntu3.1
I tried sudo apt-get install -f python-dev, as suggested by the error message itself, but it didn't work. I got
Preparing to replace python-dev 2.7.3-0ubuntu2 (using .../python- dev_2.7. 3-0ubuntu2. 1_i386. deb) ... apt/archives/ python- dev_2.7. 3-0ubuntu2. 1_i386. deb (--unpack): pkgconfig/ python2. pc', which is also in package python2.7 2.7.3-0ubuntu3.1
Unpacking replacement python-dev ...
dpkg: error processing /var/cache/
trying to overwrite '/usr/lib/
Is there any workaround?