From owner-freebsd-x11@FreeBSD.ORG Mon Oct 22 23:31:11 2007 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A96F16A41A for ; Mon, 22 Oct 2007 23:31:11 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) by mx1.freebsd.org (Postfix) with ESMTP id 02E0D13C480 for ; Mon, 22 Oct 2007 23:31:10 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.1/8.14.1) with ESMTP id l9MNV8Af023296; Tue, 23 Oct 2007 09:31:09 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200710222331.l9MNV8Af023296@drugs.dv.isc.org> To: "Neil Munro" From: Mark Andrews In-reply-to: Your message of "Mon, 22 Oct 2007 18:40:52 +0100." Date: Tue, 23 Oct 2007 09:31:08 +1000 Sender: marka@isc.org Cc: freebsd-x11@freebsd.org Subject: Re: Xorg upgrade to 7.2 always failing X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2007 23:31:11 -0000 > I am new to freebsd, i have been using Linux for a number of years now, and > being the chairman of the opensource society at uni i am always trying to > increase my knowledge. So any help would be appreciated. > > I am trying to upgrade to modular X, so i can get all the fancy 3D desktop > graphics i am used to, so i followed the instructions in /usr/ports/UPDATING > for upgrading from 6.9 to 7.2, i have also tried building from ports neither > of which has worked. > > Attached are the script files /usr/ports/UPDATING told me to record. > > Thanks > Neil Munro Your ports subsystem is out of date. You need to fix that first. Look through UPDATING for changes related to portupgrade and ruby. e.g. 20060703: AFFECTS: users of sysutils/portupgrade AUTHOR: sem@FreeBSD.org Because portupgrade had a problem with detecting Berkley DB version 2 or newer, and the default database format is now set to use these versions, you can end up with a portupgrade that does not work with older databases. A quick fix is to remove the databases, type: 'rm /var/db/pkg/pkgdb.db /usr/ports/INDEX*.db'. portupgrade will recreate them automatically. It does absolutely no harm. If you do not want remove the databases, you should detect what database type do you use, and set the port options for portupgrade accordingly. Follow these instructions: - run 'pkgdb -fu' *before* upgrading and take a look on the output. You can see database format there as: format:XXX, where XXX is your current database format. - Go to portupgrade port directory and configure the port with `make config' command. If you have bdb_* format, then turn on the BDB4 option. If you have bdb1_* format, then turn off BDB4 and turn on the BDB1 option. If you have dbd_hash format, then turn off all options. - Upgrade portupgrade. Note: if you change database format with changing port options, you should remove the ruby-bdb* port that you don't need anymore. Alternatively, you can hard code database format in your pkgtools.conf. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org