Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jan 2003 17:40:51 -0600
From:      Stephen Hilton <nospam@hiltonbsd.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 15 Jan 2003 12:37:13 -0800
Kent Stewart <kstewart@owt.com> wrote:

> On Wednesday 15 January 2003 11:46 am, Stephen Hilton wrote:
> > On Wed, 15 Jan 2003 10:54:14 -0800
> >
> > "Kevin Oberman" <oberman@es.net> wrote:
> > > > Date: Sun, 12 Jan 2003 13:12:35 +0100
> > > > From: Pierrick Brossin <pbrossin@swissgeeks.com>
> > > > Sender: owner-freebsd-stable@FreeBSD.ORG
> > > >
> > > > Belphoebe Niressi wrote:
> <snip unrelated messages>
> 
> >
> > 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"
> 
> <many error messages>
> /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 <format:bdb1_btree> in /usr/ports ... - 8009 port 
> entries found 
> .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000 
> ..... done]
> 
> Running "portsdb -Uu I get
> 
> <lots of error messages>
> 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 <format:bdb1_btree> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030115174051.2d3ce171.nospam>