From owner-freebsd-ports@freebsd.org Wed Jul 20 19:40:01 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 05181B9E685 for ; Wed, 20 Jul 2016 19:40:01 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9FB8612BE for ; Wed, 20 Jul 2016 19:40:00 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id i5so83119535wmg.0 for ; Wed, 20 Jul 2016 12:40:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=oLJlWoRqEb5nXBORVBXmrS6dA6ZOkZFiiGOvdNKV/u4=; b=yB1zJUsg1h9aUo1C1RpWrorzp1Qfarv37LvREeKyFXyZPODflEMm+IiTuZoziLsTe/ N32QJ7c3S/m8G/YOM44PvvKEr5LIWMqwe+4+ckGL31D8BxocxxbxZ8TbC7FOdy+GoI2q S6JgN4fE8WsmQBSdyYkxuoEW/exDS5Q9bORI7K9GPN0lQ6yQEUdz+Ry2Lu4MPvY7b2wJ v7ei2ROcH04fDQzYreN8+/UL43cz6htCmMwAhkqq7ySATHhpcohnfCiFhT8yh6U4c0Z9 +WWDBMzrAlfnSPAfYXdJ9JT6s0Isad5nvxXQGIr6JBVkBeuNoJqI43itWtYfYlPmB79s dFWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=oLJlWoRqEb5nXBORVBXmrS6dA6ZOkZFiiGOvdNKV/u4=; b=AhzMlmV/utB60wZ6WO23ReX2OC5hCfaBtPflPCIeYolsGJ/M3T4ZcWa4NpHkcE9/Pq R/pvxUsOCyZF4d/8y7IQOPsiNkPl4pt9jZJHHyzyYpvGbZ/rVYmN98xvq8W+yhtPGbLn NXbFAWEe9CsVMR++10wMw9PjsOhqRmUug/WT9WLNriQ2xRiHZ0LQltMn8CfCWouv9cNd e3YsvuQXERTAfZ7AHOByTuZJOHr6tQHrU842Bfk+iYXLIEZB2O8zydhnrIzgeRrBMjYE 8g9eAGGTZ2E3sFnwC5C3SZtz5Hd/UexdOE1zc4Tfc8FJSdXCO+gCxkk/uMAUuX5yJogg uBjQ== X-Gm-Message-State: ALyK8tJH9Jwm87j13BYEL4PhFcl/C3lvhQF0lENOh+FvIsCWuJBaHGkOMNVVtid7AIdGPw== X-Received: by 10.28.216.67 with SMTP id p64mr13834591wmg.56.1469043599091; Wed, 20 Jul 2016 12:39:59 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id x203sm32919578wmg.0.2016.07.20.12.39.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Jul 2016 12:39:58 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 20 Jul 2016 21:39:57 +0200 From: Baptiste Daroussin To: Randy Westlund Cc: freebsd-ports@freebsd.org Subject: Re: DEFAULT_VERSIONS and pkg Message-ID: <20160720193957.p2njml7fxqzapldm@ivaldir.etoilebsd.net> References: <20160720193807.GD23776@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xzwcs2v4okravdz2" Content-Disposition: inline In-Reply-To: <20160720193807.GD23776@gmail.com> User-Agent: Mutt/1.6.1-neo (2016-06-11) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2016 19:40:01 -0000 --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--