From owner-freebsd-questions@freebsd.org Sun Dec 18 17:06:35 2016 Return-Path: Delivered-To: freebsd-questions@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 0D33BC87354 for ; Sun, 18 Dec 2016 17:06:35 +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-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id AB7A898A for ; Sun, 18 Dec 2016 17:06:34 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:1c1d:86a1:a200:b700]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id D6973A15B for ; Sun, 18 Dec 2016 17:06:29 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/D6973A15B; dkim=none; dkim-atps=neutral Subject: Re: Pkg problem after upgrading from 9.3 to 10.3 To: freebsd-questions@freebsd.org References: <20161218154643.106f91f2@Stream> From: Matthew Seaman Message-ID: <55bca76f-bff9-d528-1096-1f5b7594c8c3@FreeBSD.org> Date: Sun, 18 Dec 2016 17:06:29 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <20161218154643.106f91f2@Stream> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k6BS8LXQXReNcc6ASe0lNs28saM9KnTX7" X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,RDNS_NONE, SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on smtp.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Dec 2016 17:06:35 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --k6BS8LXQXReNcc6ASe0lNs28saM9KnTX7 Content-Type: multipart/mixed; boundary="OnxiFJREO5l4E1DXnTQ7NExqPfOb06abo"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: <55bca76f-bff9-d528-1096-1f5b7594c8c3@FreeBSD.org> Subject: Re: Pkg problem after upgrading from 9.3 to 10.3 References: <20161218154643.106f91f2@Stream> In-Reply-To: <20161218154643.106f91f2@Stream> --OnxiFJREO5l4E1DXnTQ7NExqPfOb06abo Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 18/12/2016 14:46, francesco scaglione wrote: > After the upgrade (done following with care the Handbook) I get this > error: >=20 > # pkg update > Updating FreeBSD repository catalogue... > pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest/meta.txz: No > address record > repository FreeBSD has no meta file, using default settings > pkg: http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest/packagesite.txz: No= > address record > Unable to update repository FreeBSD This sounds like a problem with the DNS -- although why should this affect you after upgrading to 10.x? Did you switch to enabling the local_unbound service when you upgraded? What does this DNS query return for you? % dig IN SRV _http._tcp.pkg.freebsd.org That should give you a list of download sites with 'pkgmir.geo.freebsd.org' marked as the highest priority. Connecting to this repo by name will automatically direct you to the closest package mirror to your location. That's pkg0.bme.freebsd.org for people in Europ= e. > These are my two FreeBSD.conf (I guess only the second one is used): >=20 > # cat pkg/FreeBSD.conf > # $FreeBSD: releng/10.3/etc/pkg/FreeBSD.conf 296373 2016-03-04 > 01:27:38Z marius $ > # > # To disable this repository, instead of modifying or removing this > file, > # create a /usr/local/etc/pkg/repos/FreeBSD.conf file: > # > # mkdir -p /usr/local/etc/pkg/repos > # echo "FreeBSD: { enabled: no }" >> /usr/local/etc/pkg/repos/FreeBSD.conf > # >=20 > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > --- > # cat /usr/local/etc/pkg/repos/FreeBSD.conf=20 > FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > enabled: yes > } > --- >=20 > I've read that on 10.3 the "Quarterly" repo is the default, isn't? > Should I delete the /usr/local/etc/pkg/repos/FreeBSD.conf file and try > again? The quarterly repo is the default nowadays, but you can certainly use the latest package set if you want to. Using quarterly vs latest shouldn't have any bearing on the problems you're experiencing though. Due to the way pkg.conf(5) works, if you have a /usr/local/etc/pkg/repos/anything.conf that defines a 'FreeBSD' tag -- this will be merged with the settings from /etc/pkg/FreeBSD.conf. You can see what the resulting configuration is by running 'pkg -vv' Cheers, Matthew --OnxiFJREO5l4E1DXnTQ7NExqPfOb06abo-- --k6BS8LXQXReNcc6ASe0lNs28saM9KnTX7 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYVsIVXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT3YoQAI77wbiPOYR+oKd63iKL0JXC aVkJe0g0hjOlMTM1iEtRJnM4VMBS0RV4+86RjBTdiHC4c3MLUTa8PpSKSFZsx+wA xGaFeubViu+FKkzpwBSLD3qHFX0AOZtGiJJgwVilMDyvi/ldCeaFhcfktcDs9JtG mdqh9jCKqmDIO2aaqImYSuDBLw07RjbMtPwB1uW2nwCl6FuIuDvE2ZhnMookSE5l f/hEN1VOoJ0zZBrwzBHiVtSZSECHLOPeT2Tx6m0UczkfJujbICTUuPeNTZ8qPXzr 8XqJ20oWC7FfmVuuz3RUyXH2irXvvCR8jL4p40UqFf79oRjRGCn0m2/hK+kIjU2s Mms4uUqEji8fd3CXw+PwtXSqJAb26AViLMIR039LXZ/n2ub8mFZqiCAVVmBKbZC4 UO+xe+VrpdQP58MNUIFEBoSDF7AjarIUPckKuUwKa0tQ3g1qbRuMXH0I3TePcS4o r5L3ltvuCzOrFSZQXal38nqinVKsDJW8YEuGtMqh2LddQFFedZMtVO8NbiPv8O70 9F7CiwlohD3RGmU5nvYHjCSjl2bXiKN8zqY/AoDp9CAvV9a1SFZjPwnIy2qnZ+p7 3AcqZKfbz1LKKZKAawb2Ep34OGpkck/JmeziOumoNmpCNlJmdxNifMuf/6ynF5sT VikNVSsUg7h81qJZmAtt =Rm70 -----END PGP SIGNATURE----- --k6BS8LXQXReNcc6ASe0lNs28saM9KnTX7--