freebsd-update question

William A. Mahaffey III wam at hiwaay.net
Tue Mar 24 03:30:15 UTC 2015


On 03/23/15 18:45, Jason Unovitch wrote:
> On Mon, Mar 23, 2015 at 7:37 PM, William A. Mahaffey III <wam at hiwaay.net> wrote:
>>
>> I just tried to do a freebsd-update from 9.3-RELEASE-p9 to 9.3-RELEASE-p12.
>> It only got as far as 9.3-RELEASE-p10, which I am running as I write this. I
>> was ruinning the update from the console, so I didn't catch most of the
>> output, but I can recreate the important parts here (I think):
>>
> uname(1) would still reflect the kernel version as -p10 as -p11 and
> -p12 were for the recent OpenSSL updates in SA-15:06 (link below).
> This is a reason for freebsd-version(1) being introduced in 10.0+ to
> reduce confusion on userland/kernel versions.
>
> https://www.freebsd.org/security/advisories/FreeBSD-SA-15:06.openssl.asc
>
>> [root at kabini1, /etc, 6:33:45pm] 323 % freebsd-update fetch
>> Looking up update.FreeBSD.org mirrors... 5 mirrors found.
>> Fetching metadata signature for 9.3-RELEASE from update5.freebsd.org...
>> done.
>> Fetching metadata index... done.
>> Inspecting system... done.
>> Preparing to download files... done.
>>
>> The following files will be added as part of updating to 9.3-RELEASE-p12:
>> /usr/src/contrib/tzdata/zone1970.tab
>> /usr/src/crypto/openssl/crypto/constant_time_locl.h
>> /usr/src/crypto/openssl/crypto/constant_time_test.c
>> /usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod
>> /usr/src/crypto/openssl/test/constant_time_test.c
>> /usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3
>>   whew !!!! that took (24.262 cpu + 8.140 sys) sec., 0:32.91 elapsed time
>> tot, 98.4% CPU efficiency
>>          (22 text, 531 data, 5332 max) KB, (2+72) io, 0 pfs + 0 swaps
>> [root at kabini1, /etc, 6:34:24pm] 324 % freebsd-update install
>> Installing updates...install: ///usr/src/contrib/tzdata/zone1970.tab: No
>> such file or directory
>> install: ///usr/src/crypto/openssl/crypto/constant_time_locl.h: No such file
>> or directory
>> install: ///usr/src/crypto/openssl/crypto/constant_time_test.c: No such file
>> or directory
>> install:
>> ///usr/src/crypto/openssl/doc/ssl/SSL_CTX_set_tlsext_ticket_key_cb.pod: No
>> such file or directory
>> install: ///usr/src/crypto/openssl/test/constant_time_test.c: No such file
>> or directory
>> install:
>> ///usr/src/secure/lib/libssl/man/SSL_CTX_set_tlsext_ticket_key_cb.3: No such
>> file or directory
>>   done.
>> [root at kabini1, /etc, 6:34:35pm] 325 %
>>
>> This is the last part of what I saw when updating p9 from the console (I
>> think) .... Whassup here ? Can I indeed go from p9 --> p12 (or p10 --> p12)
>> in 1 shot ? I am running only plain vanilla RELEASE & pkgs, what am I
>> missing ? Need anything else, just ask ....
>>
> It would appear there is nothing in /usr/src.  These errors would be
> expected since that doesn't exist.  You should remove the 'src'
> keyword current in the default 'Components src world kernel' line in
> /etc/freebsd-update.conf.  That would keep freebsd-update(8) from
> trying to maintain source and prevent the errors from happening again.
>
> Jason
>

Hmmmmm .... OK, give it a go:

[root at kabini1, /etc, 10:33:16pm] 351 % freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 9.3-RELEASE from update6.freebsd.org... 
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 9.3-RELEASE-p12.
  whew !!!! that took (23.643 cpu + 8.602 sys) sec., 0:32.67 elapsed 
time tot, 98.6% CPU efficiency
         (22 text, 524 data, 6644 max) KB, (0+43) io, 0 pfs + 0 swaps
[root at kabini1, /etc, 10:34:02pm] 352 % freebsd-update install
No updates are available to install.
Run '/usr/sbin/freebsd-update fetch' first.
[root at kabini1, /etc, 10:34:23pm] 353 % uname -a
FreeBSD kabini1.local 9.3-RELEASE-p10 FreeBSD 9.3-RELEASE-p10 #0: Tue 
Feb 24 21:28:03 UTC 2015 
root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
[root at kabini1, /etc, 10:34:38pm] 354 % which freebsd-update
/usr/sbin/freebsd-update
[root at kabini1, /etc, 10:34:59pm] 355 %


-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the freebsd-questions mailing list