Re: ARMV7 alpha-1 pkg not installing
- In reply to: Ronald Klop : "Re: ARMV7 alpha-1 pkg not installing"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Aug 2023 14:28:35 UTC
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 <ronald@freebsd.org> wrote: > > On 8/12/23 19:18, Glen Barber wrote: >> This is semi-expected, but will take a closer look. Thank you for the report. >> Glen >> Sent from my phone. >> Please excuse my brevity and/or typos. > > > How does a non-existing quarterly generate "No route to host" error? > > pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/Latest/pkg.txz: No route to host > > Are SRV records generated on deploy of the repo? > > Regards, > Ronald. > > >>>> On Aug 12, 2023, at 1:00 PM, Mark Millard <marklmi@yahoo.com> wrote: >>> >>> On Aug 12, 2023, at 09:36, bob prohaska <fbsd@www.zefox.net> wrote: >>> >>>> A fresh setup of FreeBSD-14.0-ALPHA1-arm-armv7-GENERICSD-20230811-136fc495615f-264678.img >>>> boots correctly from a mechanical USB hard disk but can't seem to bootstrap 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/quarterly, please wait... >>>> pkg: Error fetching http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly/Latest/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=0 ttl=116 time=27.549 ms >>>> 64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=26.108 ms >>>> 64 bytes from 8.8.8.8: icmp_seq=2 ttl=116 time=26.195 ms >>>> ^C >>>> >>>> # ping www.zefox.org >>>> PING www.zefox.org (50.1.20.28): 56 data bytes >>>> 64 bytes from 50.1.20.28: icmp_seq=0 ttl=63 time=2.891 ms >>>> 64 bytes from 50.1.20.28: icmp_seq=1 ttl=63 time=2.479 ms >>>> 64 bytes from 50.1.20.28: icmp_seq=2 ttl=63 time=2.449 ms >>>> 64 bytes from 50.1.20.28: icmp_seq=3 ttl=63 time=2.350 ms >>>> ^C >>>> >>>> Did I forget something? >>> >>> I had to adjust: /etc/pkg/FreeBSD.conf >>> >>> The issue was the http://pkg.FreeBSD.org/FreeBSD:14:armv7/quarterly <http://pkg.freebsd.org/FreeBSD:14:armv7/quarterly> >>> reference, instead of using /latest . FreeBSD:14:armv7 does not >>> have quarterly yet. See: >>> >>> https://pkg.freebsd.org/FreeBSD:14:armv7/ >>> >>> that only lists latest/ not quarterly/ . >>> >>> Have /etc/pkg/FreeBSD.conf look like: >>> >>> 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.conf >>> # >>> >>> FreeBSD: { >>> url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", >>> mirror_type: "srv", >>> signature_type: "fingerprints", >>> fingerprints: "/usr/share/keys/pkg", >>> enabled: yes >>> } >>> >>> I did not have to do this for the rock64 or rpi-arm64 snapshots, as >>> I remember, just the armv7 snapshot. >>> >>> >>> === >>> Mark Millard >>> marklmi at yahoo.com >>> >