pkg management
Matthew Seaman
matthew at FreeBSD.org
Fri Jan 13 07:53:09 UTC 2017
On 12/01/2017 16:21, James B. Byrne via freebsd-questions wrote:
> Why is pkg trying to remove the version I have installed and replace
> it with an older one? Is there some switch I am to set somewhere to
> tell pkg not to do this?
You're trying to install a different package that has a dependency on
postgresql93-client -- but postgresql93-client conflicts with
postgresql96-client so pkg would have to remove it to install
postgresql93 as you requested. Then it also has to remove
postgresql96-{server,contrib,docs} as those all depend on
postgresql96-client.
postgresql93 is the default version of postgresql in ports at the
moment. If you're using the standard system packages then anything that
depends on postgresql will cause the installation of
postgresql93-client, and result in the effect you described. If you
want to use postgresql96 instead, then you need to build your own packages
Cheers,
Matthew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20170113/55b9bd0c/attachment.sig>
More information about the freebsd-questions
mailing list