Force pkg to re/install packages without dependencies

Mamontov Roman mr.xanto at gmail.com
Thu Apr 29 07:51:33 UTC 2021


> On 4/28/21 4:08 AM, Mamontov Roman wrote:
>> Hello.
>>
>> After upgrade from stable/12 to stable/13 I have packages with changed ABI:
>> (ABI changed: 'freebsd:12:x86:64' -> 'freebsd:13:x86:64')
>> How I can force pkg to reinstall (or install) packages without dependencies?
>> Man show me option  "-M, --ignore-missing ", but when I try to install some
>> packages i see, that pkg want to install other packages:
>>
>> # pkg install -M php74
> That option can work by separating fetch from install:

> # pkg fetch portname
> # pkg add -M /var/cache/pkg/portname.txz
Thanks. But why in above example pkg want to remove git-tiny?

> Why do you want to leave dependencies not updated?
Because  when I do batch upgrade, pkg will install some new packages (they come 
from  upgrading  something  packages  -  i.e install python 3 as new dependency 
for example) that don't need me.

 



More information about the freebsd-pkg mailing list