From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 20:17:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E6731065673 for ; Fri, 4 Jun 2010 20:17:08 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by mx1.freebsd.org (Postfix) with ESMTP id 443CB8FC08 for ; Fri, 4 Jun 2010 20:17:08 +0000 (UTC) Received: from fledge.watson.org (localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.14.3/8.14.3) with ESMTP id o54KH7FW076202; Fri, 4 Jun 2010 16:17:07 -0400 (EDT) (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.14.3/8.14.3/Submit) with ESMTP id o54KH7PM076199; Fri, 4 Jun 2010 16:17:07 -0400 (EDT) (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Fri, 4 Jun 2010 16:17:07 -0400 (EDT) From: doug@safeport.com X-X-Sender: doug@fledge.watson.org To: User questions In-Reply-To: <20100604132906.G78595@qroenaqrq.6qbyyneqvnyhc.pbz> Message-ID: References: <20100604132906.G78595@qroenaqrq.6qbyyneqvnyhc.pbz> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (fledge.watson.org [127.0.0.1]); Fri, 04 Jun 2010 16:17:07 -0400 (EDT) Cc: Ross Penner Subject: Re: Alternate method for fetching source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: doug@fledge.watson.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2010 20:17:08 -0000 On Fri, 4 Jun 2010, Lars Eighner wrote: > On Fri, 4 Jun 2010, Ross Penner wrote: > >> I'm trying to update my system and when I run cvsup, the connection >> repeatedly has problems (TreeList failed: Network write failure: >> Connection closed). I'm wondering if anybody can suggest any other >> method to grab the current source files? > > You are talking about the system source, not the ports, right? > > Actually, the advice is not much different. In either case, cvsup does not > always work very well for big upgrades (such as across major version > numbers) and also (though it theoretically should) doesn't work well > creating a source tree from scratch. If you install source (or ports) from > the most recent release below your taget before, cvsup is much less likely > to crack under pressure. > > Also, consider changing your mirror. Network conditions may be better for > you with some mirrors than with others. And finally, make sure cvsup is > up-to-date with your current system. It's in ports/net . > > (Of course backup what you have before trying any of this.) > > You may get a more specific response if you include uname -a for your > current system and the tags you are trying to use with cvsup. I have almost exclusively used cvsup and now csup to update complete source trees since 1997 and other than having the mirror of my choice not be quite up-to-date have never had any issues. I would recommend using csup rather than cvsup as csup has the same syntax and is built into the base system. Assuming you are not tracking current, or are not updating to get a specific fix, the timing of mirror updates is rarely an issue. Another method of updating would be to use freebsd-update, see 24.2 in the handbook. If this would work for you, it would have the added advantage of having some extra build-in protection against network problems.