Date: Wed, 5 Jul 2006 13:46:48 +0200 From: bsd <bsd@todoo.biz> To: illoai@gmail.com Cc: Liste FreeBSD <freebsd-questions@freebsd.org> Subject: Re: Portupgrade ruby problem Message-ID: <A36DB55D-7A02-45DD-BF2A-486501BF5811@todoo.biz> In-Reply-To: <d7195cff0607040920t79cab6fcj3ea0248213cf6fed@mail.gmail.com> References: <6364F144-0287-41E2-90F0-D97B45C02493@todoo.biz> <44A8D9CB.1080400@xs4all.nl> <1CACB80D-C326-4C00-A14B-87D944F1C341@todoo.biz> <d7195cff0607040920t79cab6fcj3ea0248213cf6fed@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <format:bdb_btree> 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 <bsd@todoo.biz> wrote: >> Mmmh... >> >> I have followed your instructions and am still facing a problem : >> >> root 0:34 ~ # portversion -l "<" >> [Rebuilding the pkgdb <format:bdb_btree> in /var/db/pkg ... >> [Rebuilding the pkgdb <format:bdb_btree> 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 <format:bdb_btree> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A36DB55D-7A02-45DD-BF2A-486501BF5811>