From owner-freebsd-stable Tue Jan 23 15: 8:49 2001 Delivered-To: freebsd-stable@freebsd.org Received: from wall.polstra.com (rtrwan160.accessone.com [206.213.115.74]) by hub.freebsd.org (Postfix) with ESMTP id 2037537B400 for ; Tue, 23 Jan 2001 15:08:30 -0800 (PST) Received: from vashon.polstra.com (vashon.polstra.com [206.213.73.13]) by wall.polstra.com (8.11.1/8.11.1) with ESMTP id f0NN8Qj06713; Tue, 23 Jan 2001 15:08:26 -0800 (PST) (envelope-from jdp@wall.polstra.com) Received: (from jdp@localhost) by vashon.polstra.com (8.11.1/8.11.0) id f0NN8QT25018; Tue, 23 Jan 2001 15:08:26 -0800 (PST) (envelope-from jdp) Date: Tue, 23 Jan 2001 15:08:26 -0800 (PST) Message-Id: <200101232308.f0NN8QT25018@vashon.polstra.com> To: stable@freebsd.org From: John Polstra Cc: CGiordano@ids.net Subject: Re: preventing cvsup from replacing /usr/ports symlink? In-Reply-To: <3A6C5E6C.3E84EAC0@ids.net> References: <200101202028.f0KKSUr80758@saturn.home.ben.com> <20010121021117.A2300@snark.ptc.spbu.ru> <200101210047.f0L0lBq15592@vashon.polstra.com> <3A6C5E6C.3E84EAC0@ids.net> Organization: Polstra & Co., Seattle, WA Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In article <3A6C5E6C.3E84EAC0@ids.net>, Christopher M. Giordano wrote: > This happened to me two days ago (jan 20, 1030 AM), and it always > seems to occur when re-cvsup'ing following a failed cvsup. In > this case, the first attempt failed with a message like: "Updater > failed: unable to delete file archivers/arc/Makefile: no such file > or directory", which in itself seemed odd, since I was starting with > a full copy of the ports tree. I agree, that is very odd. It's especially odd since CVSup should have no reason to want to delete that particular file. It's alive and well in the CVS repository. :-} > Restarting cvsup then filled /usr/ports tree in my /usr filesystem > rather than the linked filesystem. I assume the link is deleted > upon the first failure, but I have no evidence of this. > > I know that's _very_ little to go on.... True, but it does help. Thanks to you and the others who sent information about this. Questions for those who have seen this happen: 1. You're using checkout mode, right? 2. Are you using "-s" on the cvsup command line? Finally, you can avoid any chance of this happening by making sure that CVSup's "prefix" setting points to the real parent directory of your ports tree -- not to a symlink that points there. Here's an easy way to find out, if there's any doubt: vashon$ cd /usr/ports vashon$ /bin/pwd /c/ports So in this case you should have "prefix=/c" in your supfile, either in a "*default" line or on the same line(s) as your ports collection(s). John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Disappointment is a good sign of basic intelligence." -- Chögyam Trungpa To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message