freebsd-update metadata error / 12.0-RELEASE-p7
tech-lists
tech-lists at zyxst.net
Thu Jul 18 16:00:40 UTC 2019
On Wed, Jul 17, 2019 at 08:11:36PM +0100, tech-lists wrote:
>Hi,
>
>context:
># freebsd-version -ku
>12.0-RELEASE-p7
>12.0-RELEASE-p7
>
>freebsd-update fetch gives the following error:
>
># freebsd-update fetch
>Looking up update.FreeBSD.org mirrors... 2 mirrors found.
>Fetching metadata signature for 12.0-RELEASE from update1.freebsd.org...
>done.
>Fetching metadata index... done.
>Fetching 2 metadata files... failed.
>
>How to fix?
Turned on debugging and it seems the affected system is looking for
phttpget
root at redacted:/var/db # freebsd-update -v debug fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 12.0-RELEASE from update1.freebsd.org...
latest.ssl 512 B 2109 kBps
00s
done.
Fetching metadata index...
dda4201ec2d4d713950e80e03c1430475b47087bf9ad13 225 B 964 kBps
00s
done.
Fetching 2 metadata files...
/usr/libexec/phttpget update1.freebsd.org
12.0-RELEASE/amd64/m/08f94cc15d9fc9737da1f0866ccc826be7a4f5945718273a582f39a3cbf85184.gz
12.0-RELEASE/amd64/m/be338bb3947d92022912ad0e741ffa936ffc7008dd233ec81040cfbba11a66c9.gz
xargs: /usr/libexec/phttpget: No such file or directory
failed.
somehow it was missing, so got 12.0 sources, cd to
/usr/src/usr.sbin/portsnap/phttpget then make && make install and now
freebsd-update works as expected.
hopefully this will be of use to others
--
J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20190718/9da01c49/attachment.sig>
More information about the freebsd-questions
mailing list