My system: ----------- FreeBSD xxxx.zzzz.org 5.4-STABLE FreeBSD 5.4-STABLE #0: Mon Aug 15 19:06:46 EDT 2005 root@xxxx.zzzz.org:/usr/obj/usr/src/sys/GENERIC i386 The problem: ------------ I ran cvsup with no problems. But then I ran portsdb and I get these warnings: root@xxxx~# portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait.. Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 Done. done [Updating the portsdb <format:bdb1_hash> in /usr/ports ... - 13301 port entries found .........1000. ........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9 000.........10000.........11000.........12000.........13000... ..... done] root@xxxx~# How can I fix this and why does this keep happening? I had the same problems a year ago with freeciv on a 4.11 system. I'm not sure how the problem went away before. I think that I might have changed the <format:> to a different method. I didn't have this problem when I ran this same procedure two days ago. thanks, Bob
> -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of bob self > Sent: Thursday, August 18, 2005 08:05 > To: freebsd-stable@freebsd.org > Subject: portsdb (Warning: Duplicate INDEX) > > > My system: > ----------- > > FreeBSD xxxx.zzzz.org 5.4-STABLE FreeBSD 5.4-STABLE #0: > Mon Aug 15 19:06:46 EDT 2005 > root@xxxx.zzzz.org:/usr/obj/usr/src/sys/GENERIC i386 > >Have you ever tried portsnap? I find it MUCH more efficient and a lot faster than what you are using now. Give it a try, its good stuff. It doesn't have dependencies like portupgrade (which I think is what you are using now, no?) It lives at /usr/ports/sysutils/portsnap/ NAME portsnap -- fetch and extract compressed snapshots of the ports tree DESCRIPTION The portsnap tool is used to fetch and update compressed snapshots of the FreeBSD ports tree, and extract and update an uncompressed ports tree. Eric
You can try downloading a new index: cd /usr/ports make fetchindex Then run portsdb again. Cheers Benjamin -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 186 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050818/6d476194/signature.bin
On Thu, Aug 18, 2005 at 09:04:38AM -0400, bob self wrote:> > My system: > ----------- > > FreeBSD xxxx.zzzz.org 5.4-STABLE FreeBSD 5.4-STABLE #0: > Mon Aug 15 19:06:46 EDT 2005 > root@xxxx.zzzz.org:/usr/obj/usr/src/sys/GENERIC i386 > > > > The problem: > ------------ > I ran cvsup with no problems. But then I ran portsdb and I get these > warnings: > > root@xxxx~# portsdb -Uu > Updating the ports index ... Generating INDEX.tmp - please wait.. > > Warning: Duplicate INDEX entry: freeciv-gtk2-2.0.2 > Warning: Duplicate INDEX entry: mod_frontpage2-5.0.2.2635 > Warning: Duplicate INDEX entry: mod_jk2-apache2-2.0.4 > Warning: Duplicate INDEX entry: mod_rpaf-ap2-0.5 > Done. > done > [Updating the portsdb <format:bdb1_hash> in /usr/ports ... - 13301 port > entries found .........1000. > ........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9 > 000.........10000.........11000.........12000.........13000... ..... done] > root@xxxx~# > > > How can I fix this and why does this keep happening? I had the sameThis is not an error, see the archives for discussion of why. Kris -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050818/f28c19b6/attachment.bin