From owner-freebsd-questions@FreeBSD.ORG Tue Aug 14 17:55:25 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F401E16A4E7 for ; Tue, 14 Aug 2007 17:55:24 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 8158613C457 for ; Tue, 14 Aug 2007 17:55:23 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-10-135.bredband.comhem.se ([83.253.10.135]:60842 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1IL0by-0003Em-6x for freebsd-questions@freebsd.org; Tue, 14 Aug 2007 19:55:22 +0200 Received: (qmail 67838 invoked from network); 14 Aug 2007 19:55:18 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 14 Aug 2007 19:55:18 +0200 Received: (qmail 69697 invoked by uid 1001); 14 Aug 2007 19:55:18 +0200 Date: Tue, 14 Aug 2007 19:55:18 +0200 From: Erik Trulsson To: Andreas Davour Message-ID: <20070814175518.GA69546@owl.midgard.homeip.net> Mail-Followup-To: Andreas Davour , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.10.135 X-Scan-Result: No virus found in message 1IL0by-0003Em-6x. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1IL0by-0003Em-6x 6474de12dcc16734c206fa62b98a852c Cc: freebsd-questions@freebsd.org Subject: Re: Upgrading Xorg from 6 to 7 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: Tue, 14 Aug 2007 17:55:25 -0000 On Tue, Aug 14, 2007 at 07:13:57PM +0200, Andreas Davour wrote: > > I have just read the UPDATING file and realized that this is something that > have so many possibilities of going horribly wrong that it most certanly > will. Thus I want another option. > > Would it be possible to deinstall every port that relates to Xorg 6 and > install Xorg 7 as if X never existed? Yes, that is certainly possible, but you should make sure to get *every* port that relates to X.org 6. > > Anyone care to tell me if pkg_delete xorg* would do, or if there's a better > way? No, that is not enough. That misses a few ports. (E.g. dri, libdrm, imake, xterm and probably a couple of others.) What I did recently when I finally decided to switch over from X.org 6.x to 7.x was to delete *all* installed ports. (It was quite a while since I updated my installed ports so more than half of them was in need of updating anyway.) I also made sure to do a 'rm -fr /usr/X11R6' to remove any trace of X.org 6. (This step is important since with X.org 7 /usr/X11R6 is changed to be just a compatibility symlink to /usr/local. If /usr/X11R6 already exists as a standard directory then X.org 7 will refuse to install.) Then I reinstalled everything from scratch from a newly-updated ports tree. It worked just fine. (Which is not surprising since the situation was equivalent to that of a brand-new install of FreeBSD from which one would expect an install of X.org to work fine.) (And if you already have a /etc/X11/xorg.conf you will probably need to adjust that. The "Files" and "Module" sections will almost certainly need to be updated to account for new search paths and the like. Easiest way to generate a new file to compare with the old is to run 'Xorg -configure'. Often things will also work fine without any xorg.conf file at all.) -- Erik Trulsson ertr1013@student.uu.se