From nobody Sun Aug 13 14:28:35 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RP0JP3B5Wz4Trgh for ; Sun, 13 Aug 2023 14:28:37 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [208.86.227.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail0.glenbarber.us", Issuer "Gandi Standard SSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RP0JP2fHrz3Vbk; Sun, 13 Aug 2023 14:28:37 +0000 (UTC) (envelope-from gjb@freebsd.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (50.29.233.174.res-cmts.swb2.ptd.net [50.29.233.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 8ADC43673F; Sun, 13 Aug 2023 14:28:36 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail0.glenbarber.us 8ADC43673F Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: ARMV7 alpha-1 pkg not installing From: Glen Barber In-Reply-To: Date: Sun, 13 Aug 2023 10:28:35 -0400 Cc: Mark Millard , bob prohaska , FreeBSD ARM List Message-Id: References: To: Ronald Klop X-Mailer: iPhone Mail (20G75) X-Rspamd-Queue-Id: 4RP0JP2fHrz3Vbk X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36236, ipnet:208.86.224.0/22, country:US] Hmm, well that is indeed unexpected. Are you accessing it via ipv4 or ipv6? Glen Sent from my phone. Please excuse my brevity and/or typos. > On Aug 13, 2023, at 3:35 AM, Ronald Klop wrote: >=20 > =EF=BB=BFOn 8/12/23 19:18, Glen Barber wrote: >> This is semi-expected, but will take a closer look. Thank you for the re= port. >> Glen >> Sent from my phone. >> Please excuse my brevity and/or typos. >=20 >=20 > How does a non-existing quarterly generate "No route to host" error? >=20 > pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/Late= st/pkg.txz: No route to host >=20 > Are SRV records generated on deploy of the repo? >=20 > Regards, > Ronald. >=20 >=20 >>>> On Aug 12, 2023, at 1:00 PM, Mark Millard wrote: >>>=20 >>> =EF=BB=BFOn Aug 12, 2023, at 09:36, bob prohaska wr= ote: >>>=20 >>>> A fresh setup of FreeBSD-14.0-ALPHA1-arm-armv7-GENERICSD-20230811-136fc= 495615f-264678.img >>>> boots correctly from a mechanical USB hard disk but can't seem to boots= trap pkg: >>>> # pwd >>>> /usr >>>> # git >>>> su: git: not found >>>> # git-lite >>>> su: git-lite: not found >>>> # pkg >>>> The package management tool is not yet installed on your system. >>>> Do you want to fetch and install it now? [y/N]: y >>>> Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:14:armv7/quar= terly, please wait... >>>> pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/L= atest/pkg.txz: No route to host >>>> A pre-built version of pkg could not be found for your system. >>>> Consider changing PACKAGESITE or installing it from ports: 'ports-mgmt/= pkg'. >>>> # >>>> There's nothing obvious wrong with the network connection: >>>> # ping 8.8.8.8 >>>> PING 8.8.8.8 (8.8.8.8): 56 data bytes >>>> 64 bytes from 8.8.8.8: icmp_seq=3D0 ttl=3D116 time=3D27.549 ms >>>> 64 bytes from 8.8.8.8: icmp_seq=3D1 ttl=3D116 time=3D26.108 ms >>>> 64 bytes from 8.8.8.8: icmp_seq=3D2 ttl=3D116 time=3D26.195 ms >>>> ^C >>>>=20 >>>> # ping www.zefox.org >>>> PING www.zefox.org (50.1.20.28): 56 data bytes >>>> 64 bytes from 50.1.20.28: icmp_seq=3D0 ttl=3D63 time=3D2.891 ms >>>> 64 bytes from 50.1.20.28: icmp_seq=3D1 ttl=3D63 time=3D2.479 ms >>>> 64 bytes from 50.1.20.28: icmp_seq=3D2 ttl=3D63 time=3D2.449 ms >>>> 64 bytes from 50.1.20.28: icmp_seq=3D3 ttl=3D63 time=3D2.350 ms >>>> ^C >>>>=20 >>>> Did I forget something? >>>=20 >>> I had to adjust: /etc/pkg/FreeBSD.conf >>>=20 >>> The issue was the http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly >>> reference, instead of using /latest . FreeBSD:14:armv7 does not >>> have quarterly yet. See: >>>=20 >>> https://pkg.freebsd.org/FreeBSD:14:armv7/ >>>=20 >>> that only lists latest/ not quarterly/ . >>>=20 >>> Have /etc/pkg/FreeBSD.conf look like: >>>=20 >>> more /etc/pkg/FreeBSD.conf >>> # $FreeBSD$ >>> # >>> # 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.c= onf >>> # >>>=20 >>> FreeBSD: { >>> url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", >>> mirror_type: "srv", >>> signature_type: "fingerprints", >>> fingerprints: "/usr/share/keys/pkg", >>> enabled: yes >>> } >>>=20 >>> I did not have to do this for the rock64 or rpi-arm64 snapshots, as >>> I remember, just the armv7 snapshot. >>>=20 >>>=20 >>> =3D=3D=3D >>> Mark Millard >>> marklmi at yahoo.com >>>=20 >=20