Ignore Package Dependency in dpkg

If you want to install a package, which has a dependency you want to ignore, e.g. because it's wrong, outdated or unnecessary, you may use this command:

sudo dpkg -i --ignore-depends="nvidia-experimental-310:i386" Downloads/beat-hazard-ultra_1.66_20130308_i386.deb 

This example fixes installation for the Beat Hazard Ultra Debian package, which for some odd reason requires a special version of a certain nvidia driver.

No comments:

Post a Comment

I appreciate comments. Feel free to write anything you wish. Selected comments and questions will be published.