From owner-freebsd-pkg@FreeBSD.ORG Fri Jul 5 12:59:29 2013 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 954DBF25 for ; Fri, 5 Jul 2013 12:59:29 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 7E2891BC9 for ; Fri, 5 Jul 2013 12:59:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r65CxTc6066451 for ; Fri, 5 Jul 2013 12:59:29 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r65CxTGi066450 for pkg@freebsd.org; Fri, 5 Jul 2013 12:59:29 GMT (envelope-from bdrewery) Received: (qmail 92430 invoked from network); 5 Jul 2013 07:59:27 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 5 Jul 2013 07:59:27 -0500 Message-ID: <51D6C326.4010706@FreeBSD.org> Date: Fri, 05 Jul 2013 07:59:18 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Adam McDougall Subject: Re: pkgng behaviour change (upgrade -f and version) References: <51D52F61.9050700@gmail.com> <51D5D9D7.5050802@egr.msu.edu> In-Reply-To: <51D5D9D7.5050802@egr.msu.edu> X-Enigmail-Version: 1.5.1 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2AGEFSESEDOLAEDHQQSTJ" Cc: pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jul 2013 12:59:29 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2AGEFSESEDOLAEDHQQSTJ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 7/4/2013 3:23 PM, Adam McDougall wrote: > (changed list to pkg@freebsd.org) >=20 > On 07/04/13 04:16, bw.mail.lists wrote: >> I'm not sure when it happened, I think since latest pkgng upgrade, >> version 1.1.3, but pkgng now acts differently in at least two cases. >> >> 1. pkg upgrade -f >> What happens: >> >> ----------------- >> /root # pkg upgrade -f >> Updating repository catalogue >> New version of pkg detected; it needs to be installed first. >> After this upgrade it is recommended that you do a full upgrade using:= >> 'pkg upgrade' >> >> Uprgades have been requested for the following 1 packages: >> >> Reinstalling pkg-1.1.3_1 >> >> 0 B to be downloaded >> >> Proceed with upgrading packages [y/N]: n >> ----------------- >> >> What I expected to happen (man page quote): >> -f Force reinstalling/upgrading the whole set of packages >> >> Problem: >> Not sure how to upgrade everything now. >> > I experienced this as well on 1.1.3_1, when using pkg install -fR perl.= =20 > As long as I use -f, it ignores what I ask for every single time and > tries to reinstall pkg instead. I encountered this on a system that ha= d > broken perl modules due to the 5.16.3 upgrade, so I was going to force > upgrade everything that depends on perl. Thanks for reporting. I had fixed the 'pkg upgrade -f' issue for upcoming 1.1.4, but was not aware of the 'pkg install -Rf' issue having the same problem. I have logged it at https://github.com/freebsd/pkg/issues/530 and will address for 1.1.4 --=20 Regards, Bryan Drewery ------enig2AGEFSESEDOLAEDHQQSTJ 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) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJR1sMmAAoJEG54KsA8mwz5XecQAIm5M0Bl2wJdeUfuTXu7j473 ZfgIIHoRXVhIZCwWhAsRcE5hsJ7sVGvohlg1Zqkq9+lppVLKh5zbd6KD5OLQj18Z pV12fWP8H5nqLeHF1HTHWYvcBX7HQZEqtI0Y52MeYVLl5iAKebgjcukOlS5oJ0j8 ikfyZ2oGsr5UWQ0V1ViOFxPUgNOiCzpX1HXPeE9OOPa0RBvbt1UGx/6azx+Lt0t2 67eKmSULOd8xnXLCygEzcHnphlXYvTMQHSMAc3uQyM8X4/9eKjsXyyVELJpx6hpn fytvK6awHca/72P2cnO7YZz5z87fpP/zW1eaCiT0JFlV9Exc2AbAGxuyVHMLLwnk x9VtIFh4ZLk7qPwhgyhyKaibU20fRBPvZ5k1Dbe0q2WC4B2wR+mrU/V2epK7OG7u fmd6S3WpDN/+JDq7vjHInhI8AJqlu96gQRwJgwIwNcbGI/md4a5EJzGa7ZLTyKn5 dNXisQXuOeZppi2lwZf1NzaxvnteV7jTZv7pWlZ9mJZrt8EKOFqHnTyc7WxnY8f1 gFNlIYAqyYz2lHTCotudXs0l/VpKELPmo7m4eHLsZyujDpsuquSPX954vT989OQ/ dz+cmbsrDYNeL3zzWOVJY+f81NHmmrP78Ei4+XGjMvkKgN8bLafcRelAkR5s04yI ECAaudtNvr1y4HfUEZzU =aoqG -----END PGP SIGNATURE----- ------enig2AGEFSESEDOLAEDHQQSTJ--