Force overwrite package on apt

This article has been written before more than 1 years, information might old.

How to force the overwrite on apt when there are the problem or error?
With this command force a variabile with Perl, you can pass also other flag of dpkg.

apt-get -o Dpkg::Options::="--force-overwrite" install package-name

Source: http://raphaelhertzog.com/2011/08/01/understanding-dpkgs-file-overwrite-error/

Leave a Reply

Your email address will not be published. Required fields are marked *

Force overwrite package on apt

time to read: <1 min
0