Thanks for the pointer to the 'host -t srv' command.
I found what happened.

Around April 11th my freebsd-rustdate updated the armv7 jail, but somehow it 
installed aarch64 binaries.

# file libcrypt.so.5
libcrypt.so.5: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (FreeBSD), 
dynamically linked, for FreeBSD 14.2, stripped
# file libcrypto.so.30
libcrypto.so.30: ELF 64-bit LSB shared object, ARM aarch64, version 1 
(FreeBSD), dynamically linked, for FreeBSD 14.2, stripped

Apparently I had enough good libs to start a jail, but not enough good libs to 
do networking.

Luckily it is on ZFS and I could easily rollback to a snapshot.

Regards,
Ronald.


Van: Baptiste Daroussin <[email protected]>
Datum: woensdag, 23 april 2025 12:01
Aan: Ronald Klop <[email protected]>
CC: [email protected], [email protected]
Onderwerp: Re: armv7 -> pkg: No SRV record found for the repo 'FreeBSD'

On Wed 23 Apr 11:53, Ronald Klop wrote:
> Hi,
>
> Since a while I get this error in my armv7 jail on aarch64.
>
> What can I do to debug this? Or is something missing on the pkg server?
>
> Regards,
> Ronald.
>
>
> [root@armv7 ~]# pkg upgrade -r FreeBSD -n
> Updating FreeBSD repository catalogue...
> pkg: No SRV record found for the repo 'FreeBSD'
> pkg: An error occured while fetching package: No error
> pkg: packagesite URL error for 
pkg+https://pkg.FreeBSD.org/FreeBSD:14:armv7/latest/meta.txz -- pkg+:// implies 
SRV mirror type
> repository FreeBSD has no meta file, using default settings
> pkg: packagesite URL error for 
pkg+https://pkg.FreeBSD.org/FreeBSD:14:armv7/latest/data.pkg -- pkg+:// implies 
SRV mirror type
> pkg: packagesite URL error for 
pkg+https://pkg.FreeBSD.org/FreeBSD:14:armv7/latest/data.txz -- pkg+:// implies 
SRV mirror type
> pkg: packagesite URL error for 
pkg+https://pkg.FreeBSD.org/FreeBSD:14:armv7/latest/packagesite.pkg -- pkg+:// 
implies SRV mirror type
> pkg: packagesite URL error for 
pkg+https://pkg.FreeBSD.org/FreeBSD:14:armv7/latest/packagesite.txz -- pkg+:// 
implies SRV mirror type
> Unable to update repository FreeBSD
> Error updating repositories!
>
> [root@armv7 ~]# cat /etc/pkg/FreeBSD.conf
> #
> # 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+https://pkg.FreeBSD.org/${ABI}/latest";,
>  mirror_type: "srv",
>  signature_type: "fingerprints",
>  fingerprints: "/usr/share/keys/pkg",
>  enabled: yes
> }
>
>

Sounds like an issue on your side, it seems you do fail at fetching the SRV
records: host -t srv _http._tcp.pkg.freebsd.org to test manually.

Best regards,
Bapt




Reply via email to