Date: Wed, 20 Jul 2016 21:39:57 +0200 From: Baptiste Daroussin <bapt@FreeBSD.org> To: Randy Westlund <rwestlun@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: DEFAULT_VERSIONS and pkg Message-ID: <20160720193957.p2njml7fxqzapldm@ivaldir.etoilebsd.net> In-Reply-To: <20160720193807.GD23776@gmail.com> References: <20160720193807.GD23776@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--xzwcs2v4okravdz2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jul 20, 2016 at 03:38:07PM -0400, Randy Westlund wrote: > I'm using postgres 9.5 and psycopg2. When I run 'pkg upgrade', it tries > to replace postgres 9.5 with 9.3. >=20 > > 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 >=20 > I have pgsql=3D9.5 set in DEFAULT_VERSIONS: >=20 > > root@rannoch:/ # cat /etc/make.conf > > DEFAULT_VERSIONS+=3D pgsql=3D9.5 >=20 > Does pkg ignore DEFAULT_VERSIONS? >=20 > 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. DEFAULT_VERSIONS is a ports only thing nothing to do with pkg, it is to dec= ide what dependency will be used when building packages. Once built you cannot switch them Bapt --xzwcs2v4okravdz2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXj9OJAAoJEGOJi9zxtz5atAQP/RoIto3JVS6QF2PSrptpu0iI ejU4bq61hint7NAKwJ5JlJF/7aDYs2XSWTKsWn4RQL/08jnYNJ5/tExZoVXM705/ A5FAvoG8Td5SNyk1QlU7M6Nk8BAthx97jmX7pRFb404hVEJTmLauTNQqTIqHacHH gk7a8jJaJVdp5Slje/BYcCMZ1tO+zWnHLHFeu0dIzQ9Cl3yflMbIGa0JqO0qwt1G f98eBA6FM2u3BGtKH/g4Wh6rbjHcDtpMVoZhT1yhZzXYKAFUQd1gXoKj28F9njJH yOVeyOPY1tUen5nd5KGMLtcS0ElHw6mRsCfIXgKFtW5PQp+W6MF6UnVEkrs7/hJU qjjft8ZK00XakHtExuP32xlK3rF49VEzaA1D8wUDC6o+2ZFBJg4wL48ChJ/tdsqv XkTpzVRkNamnJKLFMq9zqFxsjTeGbPRFAZzZIyyI9//JfYA3cRi4LHLoiacgfLoF SmSu+CZT0NgIq1dGEkCYpMSlW1TXiZlOQ852wuowvUznmzTLKxyI3UEIrVpWEtGK YiuC+wcGWaNZvP1OAizr3PPb+0KaOS/aNpICCgxmCiQs0+PXlwLFhsd8BmJ7ZQzP JNg0Sm8OgwJ72lMJiRaHxx33RCt9w1xD/PBAra/yYAWQZqI1qGAHXu4B4HtpLNcP 3TzpruSJa/uSxAY/gLsR =m03v -----END PGP SIGNATURE----- --xzwcs2v4okravdz2--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160720193957.p2njml7fxqzapldm>