From owner-freebsd-questions Tue Jan 16 10:11:38 2001 Delivered-To: freebsd-questions@freebsd.org Received: from be-well.ilk.org (lowellg.ne.mediaone.net [24.147.184.128]) by hub.freebsd.org (Postfix) with ESMTP id 7029337B401 for ; Tue, 16 Jan 2001 10:11:21 -0800 (PST) Received: (from lowell@localhost) by be-well.ilk.org (8.11.1/8.11.1) id f0GIBJh32740; Tue, 16 Jan 2001 13:11:19 -0500 (EST) (envelope-from lowell) To: freebsd-questions@freebsd.org Subject: Re: cvsup ports: Error: your port uses an old layout. References: <20010115101340.A75203@gateway.livens.net> <20010115230223.A31183@northernbrewer.com> From: Lowell Gilbert Date: 16 Jan 2001 13:11:16 -0500 In-Reply-To: chris@northernbrewer.com's message of "16 Jan 2001 06:03:00 +0100" Message-ID: <44d7dn5pvf.fsf@lowellg.ne.mediaone.net> Lines: 29 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG chris@northernbrewer.com (Christopher Farley) writes: > From a search of the archives, the "your port uses an old layout" > incident is common. I personally had this problem after installing > a FreeBSD 4.1-RELEASE CD and then cvsupping the latest ports. A > commonly offered solution, and one which worked for me, is to delete > your old ports tree and re-cvsup. > > The problem is that cvsup -- even with "default delete" enabled in the > supfile -- does not delete files unknown to the server. This means if > you have an old tree, one installed off a CD for example, cvsup will not > perfectly synchronize the trees! Stale directories are left in > /usr/ports, and to to the best of my knowledge the most convenient way > to clean up the problem is with brute force: delete the entire > /usr/ports heirarchy and cvsup again. > > (I suppose you might be able to checkout the ports using cvs -P instead > of cvsup; I've never tried this.) This problem really only applies at the first cvsup. If a file is deleted from the repository after your first cvsup run, your cvsup client will recognize this and delete the local copy (assuming that you are using "default delete"). One approach you could use is to make your first cvsup run with a tag corresponding to the release you installed from CD; that way the local sup database would be in synch with your original install. Good luck. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message