Date: Mon, 15 Jan 2001 23:02:23 -0600 From: Christopher Farley <chris@northernbrewer.com> To: Lanny Baron <lnb@FreeBSDsystems.COM> Cc: Wim Livens <wim@livens.net>, freebsd-questions@FreeBSD.ORG Subject: Re: cvsup ports: Error: your port uses an old layout. Message-ID: <20010115230223.A31183@northernbrewer.com> In-Reply-To: <01011521170200.51730@panda.FreeBSDsystems.COM>; from lnb@FreeBSDsystems.COM on Mon, Jan 15, 2001 at 09:17:02PM -0500 References: <20010115101340.A75203@gateway.livens.net> <20010115192149.A30698@northernbrewer.com> <01011521170200.51730@panda.FreeBSDsystems.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
Lanny Baron (lnb@FreeBSDsystems.COM) wrote: > Hi, > Get the ports back. #/stand/sysinstall > What you have below in your cvsup file (assuming this is your ports-supfile) > seems ok. After you have your ports back again, in an xterm window or in > plain text mode, and as root, type this; > cvsup -g -L 2 /usr/share/examples/cvsup/ports-supfile > That will get you up to date in the ports. > > Just a suggestion, next time don't rm -rf /usr/ports 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.) -- Christopher Farley Northern Brewer / 1150 Grand Avenue / St. Paul, MN 55105 www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010115230223.A31183>