From owner-svn-ports-head@FreeBSD.ORG Fri Sep 26 01:16:32 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94EA74EA for ; Fri, 26 Sep 2014 01:16:32 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 76300DAF for ; Fri, 26 Sep 2014 01:16:32 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s8Q1GWj1089403 for ; Fri, 26 Sep 2014 01:16:32 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s8Q1GWta089402 for svn-ports-head@freebsd.org; Fri, 26 Sep 2014 01:16:32 GMT (envelope-from bdrewery) Received: (qmail 17013 invoked from network); 25 Sep 2014 20:16:29 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 25 Sep 2014 20:16:29 -0500 Message-ID: <5424BE64.2010707@FreeBSD.org> Date: Thu, 25 Sep 2014 20:16:20 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r369300 - head/ports-mgmt/pkg References: <201409260114.s8Q1EFIW019240@svn.freebsd.org> In-Reply-To: <201409260114.s8Q1EFIW019240@svn.freebsd.org> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VWdVm7cLmuB9w6qJ5a903XLKg15tJMb0S" X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 01:16:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --VWdVm7cLmuB9w6qJ5a903XLKg15tJMb0S Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 9/25/2014 8:14 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Fri Sep 26 01:14:14 2014 > New Revision: 369300 > URL: http://svnweb.freebsd.org/changeset/ports/369300 > QAT: https://qat.redports.org/buildarchive/r369300/ >=20 > Log: > Add a way to work around the pkg2ng gate for now. > =20 > With hat: portmgr Better ideas welcome. The problem is that they have pkg_install packages installed. Before WITH_PKG was default they would be able to install this just fine without hitting this exit. Now that WITH_PKG is default, they hit this exit and have no path forward. They must install pkg and MUST pkg2ng after before continuing or they will trash their system. >=20 > Modified: > head/ports-mgmt/pkg/Makefile >=20 > Modified: head/ports-mgmt/pkg/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/ports-mgmt/pkg/Makefile Fri Sep 26 00:50:14 2014 (r369299) > +++ head/ports-mgmt/pkg/Makefile Fri Sep 26 01:14:14 2014 (r369300) > @@ -54,7 +54,7 @@ NB_NEWPKGS=3D 0 > .endif > # Only show the pre-everything notice if they have not already > # converted any packages > -.if ${NB_OLDPKGS} > 0 && ${NB_NEWPKGS} =3D=3D 0 > +.if ${NB_OLDPKGS} > 0 && ${NB_NEWPKGS} =3D=3D 0 && !defined(UPGRADEPKG= ) > =20 > pre-everything:: > @${ECHO_CMD} "You are about to convert your system to pkg while you h= ave ports/packages"; \ > @@ -62,6 +62,7 @@ pre-everything:: > ${ECHO_CMD} ""; \ > ${ECHO_CMD} "To switch to pkg:"; \ > ${ECHO_CMD} " 1) Install ports-mgmt/pkg"; \ > + ${ECHO_CMD} " cd ports-mgmt/pkg && make UPGRADEPKG=3D1 install= clean"; \ > ${ECHO_CMD} " 2) Convert your package database by running pkg2ng"= ; \ > ${ECHO_CMD} ""; \ > exit 1 >=20 --=20 Regards, Bryan Drewery --VWdVm7cLmuB9w6qJ5a903XLKg15tJMb0S Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUJL5kAAoJEDXXcbtuRpfPwF4H/0UFZQdy64QElaaG4iloTZ4g VIdN6nAVfn/kmCbmPX/GzJgtdHlADWoF54ixfkIzBgvoVxXWYr6rW3OhvEfG+3ka epKopTB1/BUwaPu+lOXu/rBvHsMqpweCOknqUBseGVQxMDmsoQi8LEmUCepNqlB9 Xd8wbUSEEWVwjvEaSgDLh+8t53pzJC3xdjeOAhdFpZpCvuLaQTOc5QXrrLC7lil/ QriLi6IZeenmlq4Z9NWyr48fF3VkuAv69eXivenao9u2+ghYykC4W11vR8wHmetw 2XHYbywcjIw0eh7saWaOj9L2krdo2yrTmegr1TmxlytfglalsxVQQs7pK/TWOI8= =4dkV -----END PGP SIGNATURE----- --VWdVm7cLmuB9w6qJ5a903XLKg15tJMb0S--