freebsd-upgrade fails to find /usr/src/crypto/openssl/util/mkbuildinf.pl uname -a 10.1-RELEASE-p6 For upgrade to STABLE fails too - can't find metadata signature (fails to fetch
(In reply to mikhail.rokhin from comment #0) What does freebsd-version say? This is expected when /usr/src has not been installed. There are no files for freebsd-update(8) to maintain. If /usr/src is empty, then change /etc/freebsd-update.conf from this: # Components of the base system which should be kept updated. Components src world kernel To this to: # Components of the base system which should be kept updated. Components world kernel That will be the permanent fix to resolve the message you saw. Additionally, STABLE is not supported by the public freebsd-update servers so that would explain that issue.
(In reply to jason.unovitch from comment #1) root@router:/home/wella # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 10.1-RELEASE from update5.freebsd.org... done. Fetching metadata index... done. Fetching 2 metadata patches.. done. Applying metadata patches... done. Inspecting system... done. Preparing to download files... done. Fetching 5 patches... done. Applying patches... done. The following files will be added as part of updating to 10.1-RELEASE-p9: /usr/src/crypto/openssl/util/mkbuildinf.pl The following files will be updated as part of updating to 10.1-RELEASE-p9: /bin/freebsd-version /boot/kernel/kernel /boot/kernel/kernel.symbols /usr/libexec/bsdinstall/zfsboot /usr/sbin/ntpd
(In reply to jason.unovitch from comment #1) The error still exists preventing from update SRC-LESS installations...
Temporary solution for SRC-LESS installs: # mkdir -p /usr/src/crypto/openssl/util/ # touch /usr/src/crypto/openssl/util/mkbuildinf.pl
(In reply to jason.unovitch from comment #1) I guess freebsd-update may be more intellectual, whilst inspecting the system, it may find out SRC-LESS installation of FreeBSD...
(In reply to mikhail.rokhin from comment #4) I can replicate with freebsd-update fetch before changing /etc/freebsd-update.conf. I cannot replicate with freebsd-update fetch being run after changing /etc/freebsd-update.conf. Also, regarding the "prevent from update" comment, freebsd-update install should still work. It just can't handle that file for the reason mentioned before.
*** This bug has been marked as a duplicate of bug 198030 ***