Please note that you can break your system with this! This is not recommended.
Sometimes the package repository has errors. If you can't install a package because you can't install the dependencies with the package manager you can try this:
(You have to download the deb first e.g. from here Show archive.org snapshot or here Show archive.org snapshot )
dpkg -x bad-package.deb common
dpkg --control bad-package.deb
Then you have to edit DEBIAN/control
with an editor. You can delete the broken dependencies there.
vi DEBIAN/control
cp -a DEBIAN/ common/
dpkg -b common bad-package.deb
dpkg -i bad-package.deb
Now you have installed the bad-package without the broken dependencies.
Posted by Kim Klotz to makandra dev (2011-10-21 12:22)