From owner-freebsd-questions@FreeBSD.ORG Tue Mar 24 03:30:15 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A7F578CC for ; Tue, 24 Mar 2015 03:30:15 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 608EDD0A for ; Tue, 24 Mar 2015 03:30:14 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-81.adsl.hiwaay.net [216.180.19.81]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t2O3UCfE019982 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 23 Mar 2015 22:30:12 -0500 Message-ID: <5510DBBB.3040703@hiwaay.net> Date: Mon, 23 Mar 2015 22:36:27 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 CC: freebsd-questions@freebsd.org Subject: Re: freebsd-update question References: <5510A3AA.3020801@hiwaay.net> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2015 03:30:15 -0000 On 03/23/15 18:45, Jason Unovitch wrote: > On Mon, Mar 23, 2015 at 7:37 PM, William A. Mahaffey III 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@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@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@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@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@kabini1, /etc, 10:34:02pm] 352 % freebsd-update install No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. [root@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@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 10:34:38pm] 354 % which freebsd-update /usr/sbin/freebsd-update [root@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.