From owner-freebsd-questions@FreeBSD.ORG Wed Jul 5 11:47:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 F1B5916A4E8 for ; Wed, 5 Jul 2006 11:47:25 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [195.115.46.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id B18BE43D79 for ; Wed, 5 Jul 2006 11:47:16 +0000 (GMT) (envelope-from bsd@todoo.biz) Received: from localhost (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id 4CBE128A00; Wed, 5 Jul 2006 13:47:12 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.4.1 (20060508) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by localhost (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LxBbCxOobV-r; Wed, 5 Jul 2006 13:47:12 +0200 (CEST) Received: from [172.16.1.201] (me.todoo.biz [82.66.93.242]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by newmail.rmm.fr (Postfix) with ESMTP id 4DB42289FC; Wed, 5 Jul 2006 13:47:05 +0200 (CEST) In-Reply-To: References: <6364F144-0287-41E2-90F0-D97B45C02493@todoo.biz> <44A8D9CB.1080400@xs4all.nl> <1CACB80D-C326-4C00-A14B-87D944F1C341@todoo.biz> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: bsd Date: Wed, 5 Jul 2006 13:46:48 +0200 To: illoai@gmail.com X-Mailer: Apple Mail (2.752.2) Cc: Liste FreeBSD Subject: Re: Portupgrade ruby problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 11:47:26 -0000 I still have the same problem : root 12:35 /var/db/pkg # portsdb -fuU Updating the ports index ... Generating INDEX.tmp - please =20 wait..Warning: Duplicate INDEX entry: djvulibre-nox11-3.5.17_1 Warning: Duplicate INDEX entry: ocaml-nox11-3.09.2 Warning: Duplicate INDEX entry: ploticus-nox11-2.32_1 Warning: Duplicate INDEX entry: cvsup-without-gui-16.1h_2 Warning: Duplicate INDEX entry: ghostscript-afpl-nox11-8.54,1 Warning: Duplicate INDEX entry: ghostscript-gnu-nox11-7.07_15 Warning: Duplicate INDEX entry: ghostscript-gpl-nox11-8.15_2 Warning: Duplicate INDEX entry: ssh2-nox11-3.2.9.1_5 Warning: Duplicate INDEX entry: mod_rpaf-0.5 Done. done [Updating the portsdb in /usr/ports ... - 15079 =20 port entries found portsdb: uninitialized constant PortsDB::BDB: =20 Cannot update the portsdb! (/usr/ports/INDEX-5.db)] Any idea ? Le 4 juil. 06 =E0 18:20, illoai@gmail.com a =E9crit : > On 7/3/06, bsd wrote: >> Mmmh... >> >> I have followed your instructions and am still facing a problem : >> >> root 0:34 ~ # portversion -l "<" >> [Rebuilding the pkgdb in /var/db/pkg ... >> [Rebuilding the pkgdb in /var/db/pkg ... >> uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] >> Command failed [exit code 1]: /usr/local/sbin/pkgdb -aFQ >> >> I can not rebuild the database using pkgdb -fu >> >> root 0:37 ~ # pkgdb -fu >> ---> Updating the pkgdb >> [Rebuilding the pkgdb in /var/db/pkg ... >> uninitialized constant PkgDB::BDB: Cannot update the pkgdb!] >> >> >> ?? Any idea. > > What worked for me: > > rm /var/db/pkg/pkgdb.db && pkgdb -Ffu > > I also had to run > > portsdb -fu (or maybe it was -fuU, which takes a painfully > long time) > > I hope this helps. > > --=20 > -- ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF