From owner-freebsd-questions@FreeBSD.ORG Wed Jun 13 14:20:34 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74CEC16A400 for ; Wed, 13 Jun 2007 14:20:34 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 417E613C46E for ; Wed, 13 Jun 2007 14:20:34 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from localhost (jn@ns1 [69.55.238.237]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id l5DEKWLR094509 for ; Wed, 13 Jun 2007 10:20:33 -0400 (EDT) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Wed, 13 Jun 2007 10:19:25 -0400 User-Agent: KMail/1.9.6 References: <20070612085543.02C8.GERARD@seibercom.net> <200706121047.24805.lists@jnielsen.net> In-Reply-To: <200706121047.24805.lists@jnielsen.net> X-Face: #X5#Y*q>F:]zT!DegL3z5Xo'^MN[$8k\[4^3rN~wm=s=Uw(sW}R?3b^*f1Wu*.<=?utf-8?q?of=5F4NrS=0A=09P*M/9CpxDo!D6?=)IY1w<9B1jB; tBQf[RU-R<,I)e"$q7N7 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200706131019.26099.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Subject: Re: Installing FreeBSD-6.2 & Xorg-7.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Jun 2007 14:20:34 -0000 On Tuesday 12 June 2007 10:47:24 am John Nielsen wrote: > On Tuesday 12 June 2007 08:55:54 am Gerard wrote: > > I have had nothing but grief since updating to the new Xorg-7.2 > > version on my PC. Unexplained crashes, lockups, etc. No doubt, some of > > the problems are my fault; however I cannot seem to get them corrected. > > > > Now, I was wondering how this would work. > > > > 1) Download a fresh ISO of FreeBSD-6.2 on to another PC > > 2) Erase my HDs on the PC presently running FBSD > > 3) Reformat the HDs > > 4) Install the fresh copy of FBSD > > > > Will that give me a system that I can directly install Xorg-7.2 on to > > or do I still have to go through the procedure shown in the "UPDATING" > > file? Suppose I install Xorg-7.2 doing the actual install of FBSD; > > will that make any difference? In any case, I would build a new kernel > > ASAP after the new install. > > That should work fine, as long as you remember to run mergebase.sh on the > new system. It's counterintuitive and won't have much work to do, but it > will do useful things like create the /usr/X11R6 -> /usr/local symlink and > change some defaults in /etc so (e.g.) rc.d and periodic scripts won't run > twice. > > If it's just your ports you're trying to refresh and don't have any worries > about your base system, you could also try something like this: > > 0) Back up your entire system. Also make a note of what packages you have > installed (pkg_info > /root/pkg-list.txt, for example). > > 1) Delete ALL ports from your system. I find it's most efficient to do > something like this: > a) make backups, esp of files in /usr/local/etc > b) # pkg_info | awk -F ' ' '{print $1}' | xargs pkg_delete -f For the archives, this works better with "xargs -n 1" in place of "xargs" above. JN > c) review remaining files under /usr/X11R6 and /usr/local, if any > d) # rm -r /usr/X11R6/* /usr/local/* > > 2) Update your base system. csup, buildworld, etc. > > 3) Update your ports tree. portsnap, etc. > > 4) Run mergebase.sh > # sh /usr/ports/Tools/scripts/mergebase.sh > > 5) Reinstall everything you want installed.