From owner-freebsd-current@freebsd.org Sun Mar 8 10:31:58 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 07B5E264D45 for ; Sun, 8 Mar 2020 10:31:58 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48ZyMd3S6Yz4Mbl for ; Sun, 8 Mar 2020 10:31:57 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "Let's Encrypt Authority X3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 09DB81F67F for ; Sun, 8 Mar 2020 10:31:57 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:4c57:9df1:552a:4b34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 5FA1ED7B1 for ; Sun, 8 Mar 2020 10:31:54 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/5FA1ED7B1; dkim=none; dkim-atps=neutral Subject: Re: Pkg repository is broken... To: freebsd-current@freebsd.org References: <966320bd-cf2a-6168-9615-16ffd7e98555@umanwizard.com> <20200302175801.GA48484@lordsith.net> <20200304041614.GA92692@eureka.lemis.com> <20200306112944.GQ33086@e.0x20.net> <20200307003855.GG85938@eureka.lemis.com> <20200307164658.552c8548@bsd64.grem.de> <20200307223800.GA20478@eureka.lemis.com> From: Matthew Seaman Autocrypt: addr=matthew@FreeBSD.org; prefer-encrypt=mutual; keydata= mQINBFJIL80BEADi7/VbnnErDU6pjEhI/SzEZ/HbDRkJ5g7HroAtqIRm6nj8ZwOAgZ/2ZnWn 5F+fXTuLsG0FLNtkd17FoVcuCi5e/GPliXI5cmamV7E1Yz4T8UsJ7RQolimyxVexccKd16Tc AA7B9bFlJSKkBUSD0buj7VjT07xWhRzu6Vgi5r0UjLALYJz977uZA0F1aOGOXREDEAOhdcNc kSNjynqAwDA6dCT1Elpi4key1fYjv4jyDF+GU/YXul2Y/rguA8FCkHd9vyym5eAsLQ5mG00V V9fkEHIpH5KorNVnl/ufHXnkZqmHAZVpFDcrshb7aZ/pL45PXyWgLj+e6etelgj3a2bZi0JF cVdXCnBZVP2oIyYblM11ugTbfCwodORU8a5KfPeztMdAtDr4e+32NTrPdPi5rLT+GUsYz+PL 3A3m3u8bdsFp40DlIrBtSByVjqERxcfhphrEB4J8BXHUG7OAtXkZMlW/PGKDwXJq0O6Z5Tcg YHAoEiSWbXiexHgXNJyP+sqnIlhLWhSJGeJ+C83wqI6oYlZUCW00NkPxcIHnQPV/z+5wQVci TMyaWC2YCIHz4Ljs+TnwWMz0E8PNFDfHVbQ0W4PRGV7gRAqxfL+yKufauIEGbEq8rNDbSwL3 bcUCxR4ZDlaUEUwT4J8naf7rjdgiEYHs2Ig3jeK1+ER4FPG1sQARAQABtCRNYXR0aGV3IFNl YW1hbiA8bWF0dGhld0BmcmVlYnNkLm9yZz6JA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QfoDqHgLY14GYtFGOT0IR/OuAzYM1CoMvVExgqVWixDwF5RH1OHO1TANqTGc rRm1lvasCWIphpoQVtkN4/PXGa+NhzsRmr/c5OUYxQNroE8cdsK8mOIBRz9D2JpF7d2nr1X+ vA4zk2JL61aCnc62BfSYNZWhCcOPJZUhFT9BqAkew0kkJzQ3jwHGAhfcfozTHoFsD08qAW0O UriEtH+EOXl+dYbjlNUjFPjJu49cZbtp/1TpsYOBdME1QLM1TPanYXa7tb+IrRZN+Oi9i9VV ym16DK7q21k3j0qRC0s= Message-ID: <6298ada0-66e6-688a-a1d5-51cb93ad4400@FreeBSD.org> Date: Sun, 8 Mar 2020 10:31:53 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200307223800.GA20478@eureka.lemis.com> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="WZIvvO1pud5wdjCgRnjSIuEKT1lUGkBZC" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Mar 2020 10:31:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --WZIvvO1pud5wdjCgRnjSIuEKT1lUGkBZC Content-Type: multipart/mixed; boundary="TMWKdTMLo6cCCceCHpFywMcKgHKmfq0Dw" --TMWKdTMLo6cCCceCHpFywMcKgHKmfq0Dw Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 07/03/2020 22:38, Greg 'groggy' Lehey wrote: >> This was only an issue on the "latest" branch. If you don't alter >> "/etc/pkg/FreeBSD.conf", you'll get packages from the "quarterly" >> branch, which fortunately wasn't affected. > No, this isn't necessarily correct. I have never modified this file, > but I ended up with a copy of /usr/src/usr.bin/pkg/FreeBSD.conf.latest > with this revision string: >=20 > # $FreeBSD: stable/11/etc/pkg/FreeBSD.conf 263937 2014-03-30 15:24:17= Z bdrewery $ >=20 > Despite the age, this appears to identical to the current version, > according to svn blame. Arguably this should be the default anyway. >=20 Best practice is *not* to modify /etc/pkg/FreeBSD.conf, but to create a supplemental file /usr/local/etc/pkg/repos/FreeBSD.conf to override any of the default settings. So, for example, this in /usr/local/etc/pkg/repos/FreeBSD.conf will switch to the 'latest' package set: ``` FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest" } ``` and this will disable the FreeBSD pkg repos entirely: ``` FreeBSD: { enabled: no } ``` (presumably with an additional .../pkg/repos/foo.conf file to enable a custom local repository) The best way to confirm exactly what the resultant pkg(8) configuration comes out as is by: pkg -vv Cheers, Matthew --TMWKdTMLo6cCCceCHpFywMcKgHKmfq0Dw-- --WZIvvO1pud5wdjCgRnjSIuEKT1lUGkBZC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAl5kyZlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDE5 RjE1NEVDQkYxMTJFNTA1NDRFM0YzMDAwNTEzRjEwRTBBOUU0RTcACgkQAFE/EOCp 5Odc1BAAlHnjAMV9GkPX9EfctdgZ0Guu4xsWganxmQLCijHdaM74BlvoCz2fEP9i SUsGuMBmMiEQMZtSblAKimQoJ61exvw90EFYkw7B6+0KxuS/zFBemLMjVf3rN9l6 pzC235T7+huTpr23ugkfpq9z66Yi9j8Tqvz7jFwmljNXeDzYwNlzWG+eajREZzYl f8HR03+IYo60bv4e6vUMtYqsNSl8OEQVZL8VRrV6oA9zmiN3zZjGNRgLWs1N4LZP Ny1QPBBgcBFnkkBhMIY/bAIM50A7VcuD+KtWS5PahBtGrSZgBtdOVqyHmXBWiKh7 R/OULmwqVcrK4Oe91CmrAIG0iYtVdTP9jrot590ZjKHOunjac4OPfMglkldJn6fH cRG/42WB3V3XThTaFi7JlMForcCfPs8oPlWc6qSQFcJf1a7KQRNVWbuAZLtES3V8 QDRiAXrtUzgF/iUmA84BF0htBLTfF71Ct5V0MxdaYgEY1kRc20AAjWcEXI3XNdwi lf4uaJUiZiJXv0FYTXU+2HPtzBfRdIFXlxxQBoebwx4yB4UIFG1KqvVsXYGIL0XL IDtI+A0keZyDxxZyPiBB7IRWlaY6lGEaJBwk6txUPNfQMDNejURRnQtij1QumrCo PfJ6VNQy7c2jsAasutRenuHd0XzbxxEsUxhkUX/DPX3NgsdkYZ8= =jFDo -----END PGP SIGNATURE----- --WZIvvO1pud5wdjCgRnjSIuEKT1lUGkBZC--