From owner-freebsd-questions Mon Jul 23 14:40:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 7B48537B401 for ; Mon, 23 Jul 2001 14:40:15 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 794 invoked by uid 100); 23 Jul 2001 21:40:14 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15196.39358.741954.628565@guru.mired.org> Date: Mon, 23 Jul 2001 16:40:14 -0500 To: Wayne Lubin Cc: questions@freebsd.org Subject: Re: Upgrading from 4.2 to 4.3 In-Reply-To: <40440550@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wayne Lubin types: > How does one upgrade from 4.2 to 4.3 and keep all > config files and all installed ports etc... Or is the > only way to do this simply to install 4.3 from scratch > and thus loose everything done with 4.2. I have looked > in the documentation but can't seem to find a > definitive answer to this question. Thanks in advance > for your help. Sysinstall includes a "upgrade an existing system" option. That won't upgrade the configuration files, but puts the new ones in /etc/upgrade. The upgrade option won't let you install source - or wouldn't last time I tried it. If you want to do that, remove the old source first. If you do install the new source, I'd recommend mergemaster instead of using the /etc/upgrade files. Upgrading doesn't clean out old files, which can be a problem. Especially if the old files are config files, as you may wind up trying to change something using a file that is no longer used by the system. Because of that, the best upgrade path is to do a clean install and restore the config files by hand. With good admin practices, the restore should be straightforward. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message