Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2016 15:38:07 -0400
From:      Randy Westlund <rwestlun@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   DEFAULT_VERSIONS and pkg
Message-ID:  <20160720193807.GD23776@gmail.com>

next in thread | raw e-mail | index | archive | help

--DrWhICOqskFTAXiy
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I'm using postgres 9.5 and psycopg2.  When I run 'pkg upgrade', it tries
to replace postgres 9.5 with 9.3.

> root@rannoch:/ # pkg upgrade
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up-to-date.
> All repositories are up-to-date.
> Updating database digests format: 100%
> Checking for upgrades (1 candidates): 100%
> Processing candidates (1 candidates): 100%
> Checking integrity... done (2 conflicting)
>   - postgresql93-client-9.3.13 conflicts with postgresql95-client-9.5.3 on /usr/local/bin/clusterdb
>   - postgresql93-client-9.3.13 conflicts with postgresql95-client-9.5.3 on /usr/local/bin/clusterdb
> Checking integrity... done (0 conflicting)
> The following 4 package(s) will be affected (of 0 checked):
> Installed packages to be REMOVED:
>         postgresql95-server-9.5.3
>         postgresql95-client-9.5.3
> New packages to be INSTALLED:
>         postgresql93-client: 9.3.13
> Installed packages to be REINSTALLED:
>         py27-psycopg2-2.6.1_1 (direct dependency changed: python27)
> Number of packages to be removed: 2
> Number of packages to be installed: 1
> Number of packages to be reinstalled: 1
> The operation will free 19 MiB.
> Proceed with this action? [y/N]: N

I have pgsql=9.5 set in DEFAULT_VERSIONS:

> root@rannoch:/ # cat /etc/make.conf
> DEFAULT_VERSIONS+= pgsql=9.5

Does pkg ignore DEFAULT_VERSIONS?

I've reinstalled psycopg2 from ports, but pkg still wants to reinstall
it anyway.  This is on 10.3-RELEASE-p5 with pkg 1.8.7.

--DrWhICOqskFTAXiy
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXj9MeAAoJEGaweXjzNsmpiWAH/2pU56o99QB6uaTDYwd+1PO3
/x3wkgRSxZkaG7jvXjA+Ee+kV0AbCNpfXcCay4Kw6LcAbpGavIqzXUxHxqm9athC
GGEuR6RtBcmesT7BSbO+GaAYDDQBpKAKoBB27vbNMDCU1ZFQcfTc72oFPaSbzBbc
o37kAJ8+tQfK5F4Lqk28b5fLCwNUeosTMqRl24HGgDCAEJUmDTcmpsE/fizSgpw1
A1yV8qIvMg5WcRJjn6kWzSaap8UqYb3WgIqgZn5bRX43j7DA+TmDqJBuRwZo8rxx
4sSHgUF6n+GTS23pAlmAQUSFmwTXcn/RZ2dPo+T5CebbEpWsFBrxSAs3XH0cgAc=
=KPJe
-----END PGP SIGNATURE-----

--DrWhICOqskFTAXiy--



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