Skip site navigation (1)Skip section navigation (2)
Date:      16 Jan 2001 13:11:16 -0500
From:      Lowell Gilbert <lowell@world.std.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: cvsup ports: Error: your port uses an old layout.
Message-ID:  <44d7dn5pvf.fsf@lowellg.ne.mediaone.net>
In-Reply-To: chris@northernbrewer.com's message of "16 Jan 2001 06:03:00 %2B0100"
References:  <20010115101340.A75203@gateway.livens.net> <20010115230223.A31183@northernbrewer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44d7dn5pvf.fsf>