From owner-freebsd-questions@freebsd.org Sun Dec 18 17:59:59 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 DC1BFC85A21 for ; Sun, 18 Dec 2016 17:59:59 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (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 805BA1093 for ; Sun, 18 Dec 2016 17:59:58 +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 E81A5A198 for ; Sun, 18 Dec 2016 17:59:53 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/E81A5A198; 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> <55bca76f-bff9-d528-1096-1f5b7594c8c3@FreeBSD.org> <20161218183041.77f47019@Stream> From: Matthew Seaman Message-ID: Date: Sun, 18 Dec 2016 17:59:47 +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: <20161218183041.77f47019@Stream> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="eE28h6gjdpOCQrl7AJ3vDr30gXj9aVbQs" 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 18:00:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --eE28h6gjdpOCQrl7AJ3vDr30gXj9aVbQs Content-Type: multipart/mixed; boundary="4NLxoaKaIgv2gXDc4w7VSle04CHfXm5TO"; protected-headers="v1" From: Matthew Seaman To: freebsd-questions@freebsd.org Message-ID: Subject: Re: Pkg problem after upgrading from 9.3 to 10.3 References: <20161218154643.106f91f2@Stream> <55bca76f-bff9-d528-1096-1f5b7594c8c3@FreeBSD.org> <20161218183041.77f47019@Stream> In-Reply-To: <20161218183041.77f47019@Stream> --4NLxoaKaIgv2gXDc4w7VSle04CHfXm5TO Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 18/12/2016 17:30, francesco scaglione wrote: > On Sun, 18 Dec 2016 17:06:29 +0000 > Matthew Seaman wrote: >> 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? >=20 > Uhm, I don't think so... I just answered "y" to a few "does this look > reasonable to you" questions. How could I check this? Do you have: local_unbound_enable=3D"YES" in /etc/rc.conf? >> 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 Europe. >=20 > Right, I've tried first with dig: >=20 > $ dig IN SRV _http._tcp.pkg.freebsd.org > dig: not found Heh. Yes, dig is no longer in the base system in 10.x. I reflexively install bind-tools nowadays. > and then with drill: >=20 > $ drill IN SRV _http._tcp.pkg.freebsd.org > Warning: Could not create a resolver structure: Could not open the > files ((null)) Try drill @localhost if you have a resolver running on > your machine. OK, this isn't good. I suspect this is the cause of your problems. Try this. # sysrc local_unbound_enable=3DYES # service local_unbound setup # service local_unbound start and try again with drill(1). If there is still no joy, let us know what the contents of /etc/resolv.conf and /var/unbound/forward.conf are. > Repositories: > FreeBSD: {=20 > url : > "pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/latest", enabled := > yes, priority : 0, > mirror_type : "SRV", > signature_type : "FINGERPRINTS", > fingerprints : "/usr/share/keys/pkg" > } Apart from the line wrapping having gone a bit wonky (cut'n'paste error?) this looks fine. Cheers, Matthew --4NLxoaKaIgv2gXDc4w7VSle04CHfXm5TO-- --eE28h6gjdpOCQrl7AJ3vDr30gXj9aVbQs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQJ8BAEBCgBmBQJYVs6ZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATwV4QAIEwc6pPi4atIb7qrmIoAud7 qch7xLCW73hsw+DRzfkpyWJSUjYRtuez6Jc4ZMdB7ChVvKXQ0/PATOYSNuo2Qyn2 7+2INL2fp8226oMg7rWh+mUOouClckksQzzz8IAwt26kysbCeqEM+SRLo30Qy+Fw nsOxKIiL+/zVnPxOUYYpecqKqXS3rQaawpiokaNpxQkCRWUE4/ZmoZwB6G4Z0fxS spw2Tmf5inS9Isk+NW43w6iBUS8uz7rm5u6CgvUq7losDwqpC8UmcSYFR6KTndzN 8zmBZJxln1ahbuMnELN9Dyy3dNOvxZGfkLHRFcmcHSXO2NTHSgw3302u15Ey0eGw 91Pq8loYCxeT7oCzKArLvzVy8p3a8rDvr0h2lUZT+WgEvJplNpiAOlP2jDB7PwWM 3uGjiXxUn5eFj7mN8rBpssQz0OAfobY+CF4Z/X/0Ix8qvH7HXyWXtQBPi3Af6dSM /v8EG6ZGyVqEDbOFj+ATNM6uItkEikI0prErhnnynPlBl3g2DLz8achgAO8VfkzT JV/t7ppoSGtuK2h7sobVVwkwCJeKxn0YsLQN07LTSbwx9kR1aoeXTcR/DFFVeo4I Tuh7sqhY+ibuoBik0ETYS3waqHbiDN0HQS6OR/lqRY5g3CoiSahQV9ul4SO4PByQ 6ZcDfJH+j2k5/GTVRKsk =tBMr -----END PGP SIGNATURE----- --eE28h6gjdpOCQrl7AJ3vDr30gXj9aVbQs--