Forcing pkg

Michael Ross gmx at ross.cx
Wed Sep 3 22:45:54 UTC 2014


On Thu, 04 Sep 2014 00:31:47 +0200, Andrew Berg  
<aberg010 at my.hennepintech.edu> wrote:

> On 2014.09.03 17:27, Michael Ross wrote:
>> Is there any equivalent to "pkg_add --force"?
> According to the pkg-add(8) manpage, the -M switch seems to be what  
> you're
> looking for.

Half of it.
-M should take care of missing dependencies,
but --force used to override stuff like
"already installed" ( this would be pkg -f now )
and "conflicts with X" too ( this is missing as far as I can see ).


Michael


More information about the freebsd-stable mailing list