Bug 238003 - freebsd-update fetch metadata failed
Summary: freebsd-update fetch metadata failed
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 12.0-RELEASE
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-05-20 18:37 UTC by Jason Mader
Modified: 2021-03-09 12:30 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (cperciva)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mader 2019-05-20 18:37:03 UTC
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update4.freebsd.org... failed.
Fetching metadata signature for 12.0-RELEASE from update2.freebsd.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... failed

fstatat(AT_FDCWD,"718e971f16c45eb004aa2efcddab005c59a0aff000904911eae589db332f4c61.gz",0x7fffffffd918,0x0) ERR#2 'No such file or directory'
failed.
write(1,"failed.\n",8)				 = 8 (0x8)
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2019-05-21 00:01:40 UTC
Thank you for the report Jason

What version of FreeBSD is currently installed (uname -a) and what was/is the exact/full command used to invoke freebsd-update?
Comment 2 Jason Mader 2019-05-21 11:20:35 UTC
(In reply to Kubilay Kocak from comment #1)

FreeBSD safe 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 GENERIC  amd64

/usr/sbin/freebsd-update fetch
Comment 3 Jason Mader 2019-05-23 19:51:34 UTC
Figured out why. /etc/services did not contain the "http" tcp service.

35968: execve("/usr/libexec/phttpget",0x800644c40,0x7fffffffea88) = 0 (0x0)
35968: write(2,"phttpget: ",10)			 = 10 (0xa)
35968: write(2,"host = update1.freebsd.org, port = http: servname not supported for ai_socktype",79) = 79 (0x4f)