From owner-freebsd-questions Wed Jan 31 15:10:29 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nbrewer.com (unknown [208.42.68.70]) by hub.freebsd.org (Postfix) with ESMTP id 8E38C37B491 for ; Wed, 31 Jan 2001 15:10:12 -0800 (PST) Received: by mail.nbrewer.com (Postfix, from userid 1009) id D0EE5590; Wed, 31 Jan 2001 17:10:11 -0600 (CST) Date: Wed, 31 Jan 2001 17:10:11 -0600 From: Christopher Farley To: "Geoffrey Crompton (RMIT Guest)" Cc: freebsd-questions@freebsd.org Subject: Re: getting ports to work Message-ID: <20010131171011.C6064@northernbrewer.com> Mail-Followup-To: Christopher Farley , "Geoffrey Crompton (RMIT Guest)" , freebsd-questions@freebsd.org References: <20010201093204.A23055@gecko.eric.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010201093204.A23055@gecko.eric.net.au>; from ghcrompton@gecko.eric.net.au on Thu, Feb 01, 2001 at 09:32:04AM +1100 Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Geoffrey Crompton (RMIT Guest) (ghcrompton@gecko.eric.net.au) wrote: > I've got a machine here that was recently upgraded from 4.1.1 to 4.2. > That went fine, but now the ports collection don't work. On > any port I get: > Error: your port uses an old layout. Please update it to match this bsd.port.mk. The ports system changed, I believe, between 4.1 and 4.2. You can install an 'upgrade kit' - see http://www.freebsd.org/ports > I also have a 4.2 machine which has a working ports collection. (This > machine I built from scratch). So I tar'd and bzip'd /usr/ports > and sent it over to the other machine, and extracted it over the > /usr/ports collection. I figured that as I got the ports collection from > a working machine, it should work. But it doesn't. This probably would work if you rm'd or mv'd your existing /usr/ports directory. You are actually not missing any files from the current distribution, you have certain directories that are no longer used. If you simply untar the new ports collection over the old one, it doesn't resolve the problem. Nor does cvsupping the new ports tree. -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message