Date: Thu, 25 Sep 2014 20:16:20 -0500 From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r369300 - head/ports-mgmt/pkg Message-ID: <5424BE64.2010707@FreeBSD.org> In-Reply-To: <201409260114.s8Q1EFIW019240@svn.freebsd.org> References: <201409260114.s8Q1EFIW019240@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5424BE64.2010707>