Date: Tue, 23 Jan 2001 15:08:26 -0800 (PST) From: John Polstra <jdp@polstra.com> To: stable@freebsd.org Cc: CGiordano@ids.net Subject: Re: preventing cvsup from replacing /usr/ports symlink? Message-ID: <200101232308.f0NN8QT25018@vashon.polstra.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <3A6C5E6C.3E84EAC0@ids.net>, Christopher M. Giordano
<CGiordano@ids.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101232308.f0NN8QT25018>
