From owner-freebsd-questions@FreeBSD.ORG Wed Sep 15 09:40:48 2004 Return-Path: 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 4D4F416A4CE for ; Wed, 15 Sep 2004 09:40:48 +0000 (GMT) Received: from xxl.rdsbv.ro (xxl.rdsbv.ro [82.77.46.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 072E943D39 for ; Wed, 15 Sep 2004 09:40:48 +0000 (GMT) (envelope-from petre.bandac@rdsnet.ro) Received: from localhost (unknown [127.0.0.1]) by xxl.rdsbv.ro (Postfix) with ESMTP id EA43C60CF; Wed, 15 Sep 2004 12:41:57 +0300 (EEST) Received: from xxl.rdsbv.ro ([127.0.0.1]) by localhost (xxl.rdsbv.ro [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 56128-01; Wed, 15 Sep 2004 12:41:55 +0300 (EEST) Received: from xxl.rdsbv.ro (localhost.rdsbv.ro [127.0.0.1]) by xxl.rdsbv.ro (Postfix) with SMTP; Wed, 15 Sep 2004 12:41:55 +0300 (EEST) Date: Wed, 15 Sep 2004 12:41:55 +0300 From: Petre Bandac To: Matthew Seaman Message-Id: <20040915124155.35a281ed@xxl.rdsbv.ro> In-Reply-To: <20040914130430.GF43574@happy-idiot-talk.infracaninophile.co.uk> References: <20040914132917.7c1396e5@xxl.rdsbv.ro> <200409141135.i8EBZV9H004919@northgate.starhub.net.sg> <20040914155654.0dbec9a6@xxl.rdsbv.ro> <20040914130430.GF43574@happy-idiot-talk.infracaninophile.co.uk> Organization: Romania Data Systems - Brasov Branch X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.1) Y-Originating-Environment: a place full of shit Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at xxl.rdsbv.ro cc: freebsd-questions@freebsd.org cc: pryan@singnet.com.sg Subject: Re: error after cvsup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 09:40:48 -0000 THANK YOU, it works petre On Tue, 14 Sep 2004 14:04:30 +0100 Anno Domini, the honourable Matthew Seaman wrote using one of his keyboards: > On Tue, Sep 14, 2004 at 03:56:54PM +0300, Petre Bandac wrote: > > > conclusion: > > > > rm -rf /usr/ports > > mkdir /usr/ports && cvsup -g -L 2 ports-supfile > > make index > > portsdb -Uu > > pkgdb -Fvu > > > > is it the right method ? > > No. > > You don't need to completely delete and redownload the whole ports > tree. And running 'portsdb -U' does exactly the same thing as running > 'make index' -- no need to do it twice. And 'portsdb -u' will crash > in exactly the same way as you've seen before. > > Just do this: > > # cvsup -g -L 2 ports-supfile > # make index > # setenv PORTS_DBDRIVER bdb1_hash > # portsdb -u > > The 'portsdb -u' command is where the crash usually occurs. Once > you've got past that stage, you're home and dry. Run > portupgrade/portversion/pkgdb as usual. > > The bug is in the base system. A fix has been committed to 6-CURRENT: > it should percolate down to 4-STABLE and 5-STABLE in the next few > days. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH > UK > -- Petre Bandac Network Engineer Romania Data Systems - Brasov Branch Tel: +4068474134 Fax: +4068474135 Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail.