Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2018 17:45:53 -0800
From:      Walter Parker <walterp@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   Pkg dependency strangeness
Message-ID:  <CAMPTd_BtjAGs-1WmAbjNfXxt1PezspibzUj-4WnqrxYvPp3hGQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I've just upgraded an existing FreeBSD 11.1 system with php56 to FreeBSD
11.2 and php72.

In order to do this, I used a mix of ports and packages to delete php56 and
all of the php56 extensions and replace them with php72 and php72
extensions. Everything is working now, but when I try to install anything
using pkg, it wants to reinstall php56 and serveral php56 extensions. This
happens for packages that don't have php56 as a dependency.

For example
 pkg install alpine

gives
The following 11 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        alpine: 2.21.9999
        php56-session: 5.6.39
        php56: 5.6.39
        php56-xmlrpc: 5.6.39
        php56-xml: 5.6.39
        postgresql95-client: 9.5.15_2
        php56-pgsql: 5.6.39_1
        php56-mbstring: 5.6.39
        php56-json: 5.6.39
        php56-pdo_pgsql: 5.6.39_1
        php56-pdo: 5.6.39

Number of packages to be installed: 11

How do I tell pkg that I don't want php56 reinstalled?


Thank you,


Walter

-- 
The greatest dangers to liberty lurk in insidious encroachment by men of
zeal, well-meaning but without understanding.   -- Justice Louis D. Brandeis



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMPTd_BtjAGs-1WmAbjNfXxt1PezspibzUj-4WnqrxYvPp3hGQ>