After trying to install an openvpn I've got this:apt-get became broken - unable to install/purge anything. I've got 2 versions of python install 2.7.1 and 3 (wondering if this could cause the conflict).EDIT: just to confirm /usr/lib/python2.7/dist-packages/ has apt_pkg.co, while neither python3 nor python3.2 has. May be there is a way to fix it.
/usr/bin/dpkg returned an error code (1)
debian;dpkg
After reading the logs and some thinking I've found the source of the problem. I was following this tutorial to setup a LAMP-server. What a nice idea from author to remove /usr/bin/python and create new link to Python3 sudo ln -s /usr/bin/python /usr/bin/python3!!To bad this spoiled Package Management tool.Solution: Remove the link againCreate symlink to Python 2.7 backProfit!