Force pkg to re/install packages without dependencies
    Mamontov Roman 
    mr.xanto at gmail.com
       
    Wed Apr 28 08:08:31 UTC 2021
    
    
  
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
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 10 package(s) will be affected (of 0 checked):
Installed packages to be REMOVED:
        git-tiny: 2.31.1_1
New packages to be INSTALLED:
        php74: 7.4.16
Installed packages to be UPGRADED:
        curl: 7.75.0 -> 7.76.0
        libnghttp2: 1.42.0 -> 1.43.0
Installed packages to be REINSTALLED:
        clamav-0.103.2,1 (ABI changed: 'freebsd:12:x86:64' -> 'freebsd:13:x86:64')
        json-c-0.15_1 (ABI changed: 'freebsd:12:x86:64' -> 'freebsd:13:x86:64')
        libargon2-20190702 (ABI changed: 'freebsd:12:x86:64' -> 'freebsd:13:x86:64')
        libmspack-0.10.1 (ABI changed: 'freebsd:12:x86:64' -> 'freebsd:13:x86:64')
        libxml2-2.9.10_3
        pcre2-10.36 (ABI changed: 'freebsd:12:x86:64' -> 'freebsd:13:x86:64')
Number of packages to be removed: 1
Number of packages to be installed: 1
Number of packages to be upgraded: 2
Number of packages to be reinstalled: 6
How I can install/reinstall only wanted packages?
    
    
More information about the freebsd-pkg
mailing list