From owner-freebsd-questions@FreeBSD.ORG Fri Jul 18 23:02:01 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D0CE776E for ; Fri, 18 Jul 2014 23:02:01 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 772A3296D for ; Fri, 18 Jul 2014 23:02:01 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s6IN1wTJ032356 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 18 Jul 2014 17:01:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s6IN1vwb032353; Fri, 18 Jul 2014 17:01:58 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 18 Jul 2014 17:01:57 -0600 (MDT) From: Warren Block To: Doug Hardie Subject: Re: Freebsd-update to 9.3 from 9.2 In-Reply-To: <7154054C-47D0-454C-8601-3F17095476EC@lafn.org> Message-ID: References: <4CA0146F-BD4E-4613-9050-DB0C1FDB7EA4@lafn.org> <53C8B7A2.1060504@my.hennepintech.edu> <494D0D9E-ED60-4187-ABCF-8E18CDEAB911@lafn.org> <53C8E2A7.6000000@my.hennepintech.edu> <7154054C-47D0-454C-8601-3F17095476EC@lafn.org> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 18 Jul 2014 17:01:58 -0600 (MDT) Cc: Andrew Berg , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2014 23:02:02 -0000 On Fri, 18 Jul 2014, Doug Hardie wrote: > > On 18 July 2014, at 14:37, Doug Hardie wrote: > >> >> On 18 July 2014, at 02:02, Andrew Berg wrote: >> >>> On 2014.07.18 03:40, Doug Hardie wrote: >>>> This gets even more interesting. Unfortunately I do need to makeworld as sendmail needs SMTP-AUTH and that requires a rebuild. >>> Then there is no reason to use freebsd-update at at all. >>> >>>> That is the date/time when I did the buildworld/buildkernel. kern.osrelease and kern.version show the same thing. So, now I don't know if I am running 9.2, 9.3, or a 9.2 kernel and 9.3 world. There must be some way to tell. >>> The best thing to do since you need to build world and kernel is to just use >>> svn and do all updates via source. freebsd-update does nothing for you. Grab a >>> completely new copy of the 9.3 source with svn and then build and install it. >>> I'd recommend rolling back to whatever you had before the update before doing so. >>> >>> freebsd-version may have been backported to 9 with 9.3. If so, you can use it. >>> Also, 9.2 kernel with 9.3 world is not likely to be functional since kernels >>> have no guarantee of forward-compatibility (9.3 kernel and 9.2 world would >>> probably be fine, though). >>> >> >> >> svn doesn't work either: >> >> svn checkout https://svn0.us-west.FreeBSD.org/base/release/9.3.0 /usr/src >> >> The latest version of UPDATING I get is from 20130705. The web repository shows the latest entry as 20140716. I have used FreeBSD since 2.5.4 and it used to be easy to manage. Now its virtually impossible. Complete reinstalls on production systems are just not viable. We need a working way to upgrade. I haven't found it yet. > > > I finally deleted all of /usr/src and /usr/obj and ran the above svn > checkout again. This time the UPDATING file shows the 20140716 entry. > I have started building the system again. We will see what we get > this time. Its fascinating to see that in order to upgrade you have > to delete everything and then reload it all across the internet > multiple times? It's not necessary to delete the source every time. But /usr/src should be empty before the initial svn checkout, or there will be files in there that are unmanaged and can cause problems. The Subversion instructions mention this. (Or at least some of them do, we have a fair amount of similar sections in different chapters and sections that need to be combined.)