Re: armv7 -> pkg: No SRV record found for the repo 'FreeBSD'

From: Baptiste Daroussin <bapt_at_freebsd.org>
Date: Wed, 23 Apr 2025 10:01:12 UTC
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