From owner-freebsd-questions@FreeBSD.ORG Tue Sep 14 13:04:36 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 76CAA16A4CF for ; Tue, 14 Sep 2004 13:04:36 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id A270343D53 for ; Tue, 14 Sep 2004 13:04:35 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i8ED4Ukt046034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Sep 2004 14:04:30 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)i8ED4UEg046033; Tue, 14 Sep 2004 14:04:30 +0100 (BST) (envelope-from matthew) Date: Tue, 14 Sep 2004 14:04:30 +0100 From: Matthew Seaman To: Petre Bandac Message-ID: <20040914130430.GF43574@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Petre Bandac , pryan@singnet.com.sg, freebsd-questions@freebsd.org References: <20040914132917.7c1396e5@xxl.rdsbv.ro> <200409141135.i8EBZV9H004919@northgate.starhub.net.sg> <20040914155654.0dbec9a6@xxl.rdsbv.ro> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qp4W5+cUSnZs0RIF" Content-Disposition: inline In-Reply-To: <20040914155654.0dbec9a6@xxl.rdsbv.ro> User-Agent: Mutt/1.4.2.1i X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.6 (smtp.infracaninophile.co.uk [IPv6:::1]); Tue, 14 Sep 2004 14:04:30 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040904, clamav-milter version 0.75l on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk 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: Tue, 14 Sep 2004 13:04:36 -0000 --qp4W5+cUSnZs0RIF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Sep 14, 2004 at 03:56:54PM +0300, Petre Bandac wrote: > conclusion:=20 >=20 > rm -rf /usr/ports > mkdir /usr/ports && cvsup -g -L 2 ports-supfile > make index > portsdb -Uu > pkgdb -Fvu >=20 > is it the right method ? =20 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 --=20 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 --qp4W5+cUSnZs0RIF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBRuxeiD657aJF7eIRAjCIAJ9hozzXN8EU/QDnn1z1/vMwST/k/ACgr/8i q04mKsf6azCrW2HYCWMeZSM= =a2Bk -----END PGP SIGNATURE----- --qp4W5+cUSnZs0RIF--