Sunday 13 April 2014

How to force install a dpkg package





In normal situations there is no issue installing dpkg packages e.g.

$ sudo dpkg -i <package name>

But there are situations where despite the package managers reservations you know better and would like to force the installation. The syntax is :

$ sudo dpkg -i --force-all <package name>

I use this on Arch Linux when I am installing some Debian based dpkg files.

No comments:

Post a Comment