I did a terrible mistake and deleted two folders from the
/usr/lib directory on my Debian. I deleted
Things I've tried to fix it without success:
sudo dpkg -i python2*-> "could not find platform independent libraries" --> "/usr/lib/pyton2.7/py_compile.py no such file"
even deleting it (python; for future reinstalling) via
sudo dpkg -i python2.7-minimal--> cant remove because python2.7-minimal depends on python2.7-minimal (>=... .deb) and python2.7 depends on python2.7-minimal (>=..._rc2.deb)
So I cant reinstall it or repair the packages as long they are not "configured" by dpkg as a
apt-get install python says but also cant remove them for a clean reinstall since their are dependencies on different version in dpkg and I dont know how to solve this.
So how can I completely remove a packages with all dependencies via dpkg or apt to solve the described situation from above?