[Bug 254497] pkg update fails with "no address record"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 23 10:19:05 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254497

            Bug ID: 254497
           Summary: pkg update fails with "no address record"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: tschweikle at gmail.com

pkg update fails with error "no address record", but name resolution works as
expected:
fbsd14# pkg update
Updating FreeBSD repository catalogue...
pkg: http://pkg.freebsd.org/FreeBSD:14:amd64/latest/meta.txz: No address record
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.freebsd.org/FreeBSD:14:amd64/latest/packagesite.txz: No address
record
Unable to update repository FreeBSD
Error updating repositories!

fbsd13# pkg update
Updating FreeBSD repository catalogue...
pkg: http://pkg.freebsd.org/FreeBSD:13:amd64/latest/meta.txz: No address record
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.freebsd.org/FreeBSD:13:amd64/latest/packagesite.txz: No address
record
Unable to update repository FreeBSD
Error updating repositories!

fbsd12# pkg update
Updating FreeBSD repository catalogue...
pkg: http://pkg.freebsd.org/FreeBSD:12:amd64/latest/meta.txz: No address record
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.freebsd.org/FreeBSD:12:amd64/latest/packagesite.txz: No address
record
Unable to update repository FreeBSD
Error updating repositories!

fbsd11# pkg update
Updating FreeBSD repository catalogue...
pkg: http://pkg.freebsd.org/FreeBSD:11:amd64/latest/meta.txz: No address record
repository FreeBSD has no meta file, using default settings
pkg: http://pkg.freebsd.org/FreeBSD:11:amd64/latest/packagesite.txz: No address
record
Unable to update repository FreeBSD
Error updating repositories!

On all hosts:
# host pkg.freebsd.org
pkg.freebsd.org is an alias for pkgmir.geo.freebsd.org.
pkgmir.geo.freebsd.org has address 213.138.116.73
pkgmir.geo.freebsd.org has address 139.178.72.201
pkgmir.geo.freebsd.org has address 139.178.72.201
pkgmir.geo.freebsd.org has IPv6 address 2001:41c8:112:8300::50:1
pkgmir.geo.freebsd.org has IPv6 address 2604:1380:2000:9501::50:2
pkgmir.geo.freebsd.org has IPv6 address 2604:1380:2000:9501::50:2

This is, since latest updates to
 * FreeBSD-CURRENT,
 * FreeBSD-13,
 * FreeBSD-12,
 * FreeBSD-11.

Updating sources or ports using git works. Looks like something wrong with pkg
unable to resolve names after upgrading base to
FreeBSD fbsd14.local 14.0-CURRENT FreeBSD 14.0-CURRENT #0
main-n245569-e54257d92a7a: Tue Mar 23 06:34:51 CET 2021    
root at fbsd14.local:/usr/obj/usr/src/amd64.amd64/sys/FBSD14  amd64

This is on all hosts:
# pkg --version
1.16.3

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list