Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jul 2019 17:00:34 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: freebsd-update metadata error / 12.0-RELEASE-p7
Message-ID:  <20190718160034.GA62081@mon.zyxst.net>
In-Reply-To: <20190717191136.GB58456@mon.zyxst.net>
References:  <20190717191136.GB58456@mon.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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@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...=20
latest.ssl                                             512  B 2109 kBps
00s
done.
Fetching metadata index...=20
dda4201ec2d4d713950e80e03c1430475b47087bf9ad13         225  B  964 kBps
00s
done.
Fetching 2 metadata files...=20
/usr/libexec/phttpget update1.freebsd.org
12.0-RELEASE/amd64/m/08f94cc15d9fc9737da1f0866ccc826be7a4f5945718273a582f39=
a3cbf85184.gz
12.0-RELEASE/amd64/m/be338bb3947d92022912ad0e741ffa936ffc7008dd233ec81040cf=
bba11a66c9.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

--=20
J.

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAl0wl5kACgkQs8o7QhFz
NAUHzhAAl8uwxAH2BtQ+ISdGicPPBdv6f4EAkYc/1qYg4Vxf69FQ220Ymu/cSs2k
rHIDY8rW39ZjN/6LIak9QO2YqHlC4soTzz5NI3kRmhJrq17ziBWwlBOfzQFGBOf7
OUyrb0EgZH5AUqGQemxYpkWY45Y0ckIxTCkdxnx8DpVX+qJJQjKLiSOkRoI/oHHK
FrBgMwC/QyGWuiDASZPJclYKz3UH6Wthaq1GSsZgXV8F+UUI9bcJF5QDtkVeKHTw
SwkJgiSQRHmq/1bgxUTio9cFW4oU42DhnO++DDXhMT1m9EQVQy3CJv/BKFHzQIiY
oB7mpInZqiZW6bFvqMTik1ue+E4Czl8l/WAuIHxXstZ2sNEzPt2VZOHHxnF+MER2
UMV4Mw91You299VK/rcNsI+wm/wObBhAC2Xa7tNF9AQyCI1aTgbumBg2CzdW57Go
Jmc+N90GzTeRr62JZs8OXywx0174W3wQkl2LQju9NXEN0XcEF14CacviN3G8YuhP
Iz6GjjBE8rWB5IyTG7IE3h2BHGbZCkzniZT6C/xWtvZdQf8CxrVKU4oZU2dk49Si
3hSgi0xkJVev7vCepA+iyniqb5wjZ49RMLbqFguzFYNwYRo7H5xEzo+g2odg+wlw
mjycdqM/yXF/HqrFS8qoz8lfUyjd84HUnwLDAp7hP9++BOZY2TQ=
=Tiz7
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190718160034.GA62081>