Patching from 10.1-RELEASE-p5 to 10.1-RELEASE-p6, I get the output # freebsd-update install Installing updates...install: ///usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or directory done. mkbuildinf.pl is the sole item in the `files will be added as part of updating' list. I've managed to reproduce this on two systems running -p5, and another running -p4. All are amd64 and 10.1-RELEASE. Steps to reproduce: freebsd-update fetch -- Behaves as normal. freebsd-update install -- Shows warning above. Thanks.
I've found the same bug, running 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401
Same error for me FreeBSD 10.1-RELEASE-p6 (GENERIC) I didnt have the error in the morning, then I built another machine for testing later in the day from the same 10.1 amd64 ISO and then had this error now not able to apply patches.
After fresh installation of FreeBSD 10.1-RELEASE-p6 (amd64), I tried to run 'freebsd-update fetch'. After this I got following (end) message: "The following files will be added as part of updating to 10.1-RELEASE-p6: /usr/src/crypto/openssl/util/mkbuildinf.pl" After that I runned command 'freebsd-update install' and got following message: "Installing updates... install: ////usr/src/crypto/openssl/util/mkbuildinf.pl: No such file or directory done." Thanks
Same problem here in 2 boxes! % uname -a FreeBSD cloud01.***.com.br 10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 19:00:21 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 % uname -a FreeBSD web01.***.com.br 10.1-RELEASE-p6 FreeBSD 10.1-RELEASE-p6 #0: Tue Feb 24 19:00:21 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
(In reply to Victor Volpe from comment #4) Oh! I think that I know why... Is that because I removed/not installed /usr/src as I use GENERIC kernel. =)
(In reply to Victor Volpe from comment #5) I don't think that it is the usr src. I got it on two near identical VMs (in setup, completely different packages). Both without src. One runs the update just fine. The other fails.
Merely add directory "util" in /usr/src/crypto/openssl/ then freebsd-update install it will work
(In reply to Bob Gibson from comment #7) It works for me too :)
(In reply to Bob Gibson from comment #7) Thanks Bob :)
Confirmed.
If src is not installed, you can simply change the following line in /etc/freebsd-update.conf: Components src world kernel ..to: Components world kernel then this would go without problems.
(In reply to horus.li from comment #11) Thanks this does work, do I need (src) adding back if I install ports
(In reply to Peter from comment #12) You won't need src unless you are installing ports like emulators/virtualbox-ose-kmod, so in most cases, it's safe to not adding that back.
*** Bug 199002 has been marked as a duplicate of this bug. ***
Confirmed still an issue on: $ uname -a FreeBSD <redacted> 10.1-RELEASE-p9 FreeBSD 10.1-RELEASE-p9 #0: Tue Apr 7 01:09:46 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 $ freebsd-version -uk 10.1-RELEASE-p9 10.1-RELEASE-p9 $ ls -l /usr/src/ total 0 (This machine intentionally does not have the src distribution installed)
I have the same problem on most of my 10.1-RELEASE servers (w/o dep on patchlevel).
This should already be solved in the most recent release as per: base r284425
Believed fixed per comment #17
MARKED AS SPAM