Re: ARMV7 alpha-1 pkg not installing
- Reply: Glen Barber : "Re: ARMV7 alpha-1 pkg not installing "
- Reply: bob prohaska : "Re: ARMV7 alpha-1 pkg not installing"
- In reply to: bob prohaska : "ARMV7 alpha-1 pkg not installing "
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Aug 2023 17:00:17 UTC
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