Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Apr 2021 11:08:24 +0300
From:      Mamontov Roman <mr.xanto@gmail.com>
To:        freebsd-pkg@freebsd.org
Subject:   Force pkg to re/install packages without dependencies
Message-ID:  <1288906450.20210428110824@gmail.com>

next in thread | raw e-mail | index | archive | help
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?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1288906450.20210428110824>