From nobody Sat Aug 12 17:18:31 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 4RNS6x39nqz4qJy1 for ; Sat, 12 Aug 2023 17:18:33 +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 4RNS6x2lLnz3V8X; Sat, 12 Aug 2023 17:18:33 +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 8063F36EC3; Sat, 12 Aug 2023 17:18:32 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.10.3 mail0.glenbarber.us 8063F36EC3 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: <6A60A119-FA7E-4815-96A2-ACD11CADA348@yahoo.com> Date: Sat, 12 Aug 2023 13:18:31 -0400 Cc: bob prohaska , FreeBSD ARM List Message-Id: References: <6A60A119-FA7E-4815-96A2-ACD11CADA348@yahoo.com> To: Mark Millard X-Mailer: iPhone Mail (20G75) X-Rspamd-Queue-Id: 4RNS6x2lLnz3V8X 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] This is semi-expected, but will take a closer look. Thank you for the repor= t. Glen Sent from my phone. Please excuse my brevity and/or typos. > On Aug 12, 2023, at 1:00 PM, Mark Millard wrote: >=20 > =EF=BB=BFOn Aug 12, 2023, at 09:36, bob prohaska wrot= e: >=20 >> A fresh setup of FreeBSD-14.0-ALPHA1-arm-armv7-GENERICSD-20230811-136fc49= 5615f-264678.img >> boots correctly from a mechanical USB hard disk but can't seem to bootstr= ap 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/quarte= rly, please wait... >> pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/Lat= est/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/pk= g'. >> # >> 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=20 > # $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.con= f > # >=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