From owner-freebsd-questions@freebsd.org Fri Apr 13 04:56:23 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D248F8C156 for ; Fri, 13 Apr 2018 04:56:23 +0000 (UTC) (envelope-from srs0=es5m=hc=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BCAEB73148 for ; Fri, 13 Apr 2018 04:56:22 +0000 (UTC) (envelope-from srs0=es5m=hc=mail.sermon-archive.info=doug@sermon-archive.info) Received: by mailman.ysv.freebsd.org (Postfix) id 5AD87F8C154; Fri, 13 Apr 2018 04:56:22 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 287E7F8C153 for ; Fri, 13 Apr 2018 04:56:22 +0000 (UTC) (envelope-from srs0=es5m=hc=mail.sermon-archive.info=doug@sermon-archive.info) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 8685A73147 for ; Fri, 13 Apr 2018 04:56:21 +0000 (UTC) (envelope-from srs0=es5m=hc=mail.sermon-archive.info=doug@sermon-archive.info) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 40Mlq25NpMz2fjWY; Thu, 12 Apr 2018 21:56:14 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\)) Subject: Re: How To Update From 9.1? From: Doug Hardie In-Reply-To: Date: Thu, 12 Apr 2018 21:56:14 -0700 Cc: "questions@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <78A5D14F-3C96-4635-A6F8-2DA7D582039B@mail.sermon-archive.info> References: To: Drew Tomlinson X-Mailer: Apple Mail (2.3445.6.18) X-Virus-Scanned: clamav-milter 0.99.4 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2018 04:56:23 -0000 > On 11 April 2018, at 07:34, Drew Tomlinson = wrote: >=20 >=20 > On 4/10/2018 10:18 PM, Doug Hardie wrote: >>> On 10 April 2018, at 18:24, Drew Tomlinson = wrote: >>>=20 >>> I've got an old system I'm trying to get current. >>>=20 >>> # uname -a >>> FreeBSD vm.mykitchentable.net 9.1-RELEASE-p1 FreeBSD 9.1-RELEASE-p1 = #0: Tue May 9 09:19:33 PDT 2017 = drew@vm.mykitchentable.net:/usr/obj/usr/src/sys/GENERIC amd64 >>>=20 >>> So I consult the handbook and various list posts and find that I = should be able to use freebsd-update. Specifically I've done: >>>=20 >>> I've tried deleting /var/db/freebsd-update and doing the 'fetch = install' over. I've tried deleting /usr/src and downloading a new copy = of 9.3 source code. >>>=20 >>> Overall, I really don't know what I need to do as I've never done a = binary update before. I don't even know if 'src/src' looks reasonable = but I thought I'd give it a try. Can anyone point me in the right = direction? I'd appreciate the nudge. >> This is a common issue for 9 and earlier systems. I understand it = may also affect some 10s. Basically there are some patches available in = various postings to bug reports. If you find both of them, it should = work, but you have to manually update as line numbers are not = consistent. The easier approach is probably to get a copy of = freebsd-update from a newer system. It's a script so that works fine. = I have used the script from 11.0 to upgrade some 9.x systems. >>=20 >> -- Doug >=20 > Thank you for your reply. I grabbed a copy of freebsd-update from an = 11.1 system that I have and copied it to /usr/sbin/freebsd-update. = However, no joy. After deleting the contents of /var/db/freebsd-update, = I did the following: >=20 > ---BEGIN--- > # freebsd-update fetch install > src component not installed, skipped > Looking up update.FreeBSD.org mirrors... 3 mirrors found. > Fetching public key from update6.freebsd.org... done. > Fetching metadata signature for 9.1-RELEASE from = update6.freebsd.org... done. > Fetching metadata index... done. > Fetching 2 metadata files... done. > Inspecting system... done. > Preparing to download files... done. >=20 > No updates needed to update system to 9.1-RELEASE-p24. >=20 > WARNING: FreeBSD 9.1-RELEASE-p1 HAS PASSED ITS END-OF-LIFE DATE. > Any security issues discovered after Wed Dec 31 16:00:00 PST 2014 > will not have been corrected. >=20 > # freebsd-update -r 9.3-RELEASE upgrade > src component not installed, skipped > Looking up update.FreeBSD.org mirrors... 3 mirrors found. > Fetching metadata signature for 9.1-RELEASE from = update5.freebsd.org... done. > Fetching metadata index... done. > Fetching 1 metadata files... done. > Inspecting system... done. >=20 > The following components of FreeBSD seem to be installed: >=20 > The following components of FreeBSD do not seem to be installed: >=20 > Does this look reasonable (y/n)? y >=20 > Fetching metadata signature for 9.3-RELEASE from = update5.freebsd.org... done. > Fetching metadata index... done. > Fetching 1 metadata patches. done. > Applying metadata patches... done. > Fetching 1 metadata files... done. > Inspecting system... done. > Preparing to download files... done. >=20 > No updates needed to update system to 9.3-RELEASE-p53. > touch: = f465c3739385890c221dff1a05e578c6cae0d0430e46996d319db7439f884336-install/k= ernelfirst: No such file or directory > To install the downloaded upgrades, run "/usr/sbin/freebsd-update = install". >=20 > ---END--- >=20 > I got similar results when attempting to go to 10.4-RELEASE as well. = Any other ideas? Or is my best bet at this point to just build the = GENERIC kernel from source? If so, can I go straight to 11.1 and = recompile all my ports? Or should I take some intermediate steps? >=20 >=20 > Thanks for your help, >=20 >=20 > Drew I never tried to stay in 9. I went direct to 11. Going to 11.1 seems = to me to be the best approach at this point. =20 -- Doug