Force pkg to re/install packages without dependencies

Theron theron.tarigo at gmail.com
Thu Apr 29 07:17:15 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

Why do you want to leave dependencies not updated?



More information about the freebsd-pkg mailing list