From owner-freebsd-stable Wed Jan 15 16:15:33 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB40C37B401 for ; Wed, 15 Jan 2003 16:15:30 -0800 (PST) Received: from hermes.pressenter.com (hermes.pressenter.com [209.224.20.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 95C7643F3F for ; Wed, 15 Jan 2003 16:15:27 -0800 (PST) (envelope-from nospam@hiltonbsd.com) Received: from [198.31.224.67] (helo=daggar.sbgnet.net) by hermes.pressenter.com with smtp (Exim 3.16 #1) id 18Yx9P-000802-00; Wed, 15 Jan 2003 17:40:51 -0600 Date: Wed, 15 Jan 2003 17:40:51 -0600 From: Stephen Hilton To: freebsd-stable@FreeBSD.ORG Cc: kstewart@owt.com Subject: Re: Portversion - Portupgrade Message-Id: <20030115174051.2d3ce171.nospam@hiltonbsd.com> In-Reply-To: <200301151237.13627.kstewart@owt.com> References: <3E215BB3.9020400@swissgeeks.com> <20030115185414.B11235D04@ptavv.es.net> <20030115134635.5dccd929.nospam@hiltonbsd.com> <200301151237.13627.kstewart@owt.com> X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i386-portbld-freebsd4.7) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 15 Jan 2003 12:37:13 -0800 Kent Stewart wrote: > On Wednesday 15 January 2003 11:46 am, Stephen Hilton wrote: > > On Wed, 15 Jan 2003 10:54:14 -0800 > > > > "Kevin Oberman" wrote: > > > > Date: Sun, 12 Jan 2003 13:12:35 +0100 > > > > From: Pierrick Brossin > > > > Sender: owner-freebsd-stable@FreeBSD.ORG > > > > > > > > Belphoebe Niressi wrote: > > > > > > Is the "portsdb -Uu" working properly now? I have been using: > > > > #> cd /usr/ports > > #> rm INDEX* > > #> make index > > #> pkgdb -Fv > > #> portsdb -u > > > I think they are both broken in some respect right now because what I am > seeing is the following using "make index" and then run "portsdb -u" > > > /man7/des_modes.7.gz /nonexistentlocal/man/""/man7/Modes.7.gz > /nonexistentlocal/man/""/man7/des_modes.7.gz > /nonexistentlocal/man/""/man7/of.7.gz | /usr/bin/awk '{for (i=2; i<=NF; > i+=2) print $i}'" returned non-zero status > Done. > > [Updating the portsdb in /usr/ports ... - 8009 port > entries found > .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000 > ..... done] > > Running "portsdb -Uu I get > > > make_index: no entry for: /usr/ports/net/p5-Net-DNS > make_index: no entry for: /usr/ports/net/p5-Net-DNS > Warning: Duplicate INDEX entry: freeciv-imlib-1.13.0 > done > ruby# portsdb -u > [Updating the portsdb in /usr/ports ... - 8002 port > entries found > .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000 > ..... done] > > There are 7 ports that portsdb -U can't account for. Regarding this error: "Warning: Duplicate INDEX entry: freeciv-imlib-1.13.0" is this an "inside joke" or just a real tough problem to fix? been seeing this error for ages (I would fix this if I could, but I couldn't code myself out of a brown paper bag :-) > I also don't see why you are doing more than > > cd /usr/ports > make index > portsdb -u Thanks for the correction Kent, I was doing a couple of unnecessary steps. I would usually rm my /usr/ports/INDEX /usr/ports/INDEX.db and /usr/ports/INDEX.txt files because they were going to be recreated anyways (I do refuse the INDEX file when cvsuping to save bandwidth). > > Everything else is something I would do if your installed based gets > messed up. For example, portsdb -Fv doesn't have anything to do with > making your INDEX* files. When you run "make index", it always wipes > INDEX. I never referenced the command "portsdb -Fv" I said "pkgdb -Fv", and I picked up this step from a message thread started by Stacey Roberts in December 2002 that you had responded to, so I assumed (ya I know) that this was OK or even a "good thing" to do during the INDEX's generation process. As I understand "pkgdb -Fv" it is an interactive check/repair of your installed ports/packages as referenced by the /var/db/pkg entries (package registry database) and _Yes_ it has no bearing on generation of the INDEX/db files. Thanks again Kent for your willingness to share your expertise and all the great pointers and background information I pick up just reading yours and others contributions to the mailing lists. Regards, Stephen Hilton nospam@hiltonbsd.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message