Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2023 13:18:31 -0400
From:      Glen Barber <gjb@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        bob prohaska <fbsd@www.zefox.net>, FreeBSD ARM List <freebsd-arm@freebsd.org>
Subject:   Re: ARMV7 alpha-1 pkg not installing 
Message-ID:  <C20D9810-734E-4DFE-9606-A4E650D56D92@freebsd.org>
In-Reply-To: <6A60A119-FA7E-4815-96A2-ACD11CADA348@yahoo.com>
References:  <6A60A119-FA7E-4815-96A2-ACD11CADA348@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <marklmi@yahoo.com> wrote:
>=20
> =EF=BB=BFOn Aug 12, 2023, at 09:36, bob prohaska <fbsd@www.zefox.net> 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 <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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C20D9810-734E-4DFE-9606-A4E650D56D92>