From owner-freebsd-questions Wed Sep 25 10:25:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BABF537B401 for <freebsd-questions@freebsd.org>; Wed, 25 Sep 2002 10:25:32 -0700 (PDT) Received: from dargo.gwi.net (dargo.gwi.net [207.5.142.21]) by mx1.FreeBSD.org (Postfix) with SMTP id D973543E77 for <freebsd-questions@freebsd.org>; Wed, 25 Sep 2002 10:25:31 -0700 (PDT) (envelope-from jcoombs@gwi.net) Received: (qmail 2691 invoked by uid 117); 25 Sep 2002 17:25:31 -0000 Date: Wed, 25 Sep 2002 13:25:31 -0400 From: Joshua Coombs <jcoombs@gwi.net> To: Kent Stewart <kstewart@owt.com> Cc: freebsd-questions@freebsd.org Subject: Re: cvsup failure Message-ID: <20020925132531.D27238@dargo.gwi.net> References: <20020925112314.B27238@dargo.gwi.net> <3D91F052.2090701@owt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3D91F052.2090701@owt.com>; from kstewart@owt.com on Wed, Sep 25, 2002 at 10:20:18AM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: <freebsd-questions.FreeBSD.ORG> List-Archive: <http://docs.freebsd.org/mail/> (Web Archive) List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions) List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions> List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions> X-Loop: FreeBSD.ORG On Wed, Sep 25, 2002 at 10:20:18AM -0700, Kent Stewart wrote: > > > Joshua Coombs wrote: > > cyrix-dlc# cvsup -L2 /etc/ports-supfile && portsdb -Uu > > Parsing supfile "/etc/ports-supfile" > > Connecting to cvsup7.FreeBSD.org > > Connected to cvsup7.FreeBSD.org > > Server software version: SNAP_16_1e > > Negotiating file attribute support > > Exchanging collection information > > Establishing multiplexed-mode data connection > > Running > > Updating collection ports-all/cvs > > TreeList failed: Error in "/usr/sup/ports-all/checkouts.cvs:.": 49575: > > File is not sorted properly. Delete it and try again. > > Did you do what it told you do to, i.e., delete checkouts.cvs: and try > again. > > Kent I did, and it's working. My main beef however is that is a pretty nasty way to handle the error. CVSup should not puke debug info and then core when a datafile has errors that it can detect. It should be handled gracefully, alert the user to the error, either offer to correct the issue (delete the file or invalid entry) or gracefully exit at that point. Joshua Coombs To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message