kutulu at kutulu.org
Thu May 20 07:22:51 PDT 2004
* Kris Kennaway <kris at obsecurity.org> [040520 03:26]:
> On Thu, May 20, 2004 at 03:14:02AM -0400, Adam McLaurin wrote:
> > On Thu, 20 May 2004 03:07:10 -0400
> > Adam McLaurin <adam.mclaurin at gmx.net> wrote:
> > > -# ls -al /usr/ports/INDEX*
> > > -rw-r--r-- 1 root wheel 5089899 May 1 08:57 /usr/ports/INDEX
> > > -rw-r--r-- 1 root wheel 4947853 Mar 15 18:20 /usr/ports/INDEX-5
> > > -rw-r--r-- 1 root wheel 10911744 Apr 6 01:21 /usr/ports/INDEX.db
> > >
> > > Looking at http://www.freshports.org/shells/zsh , the zsh port hasn't
> > > been modified since March 23rd, so I should be OK on that front.
> > >
> > >
> > > And portversion does also report that zsh is up-to-date:
> > >
> > > -# portversion -v |grep -i zsh
> > > zsh-4.2.0 = up-to-date with port
> > Hmm now I've got myself confused; is it INDEX or INDEX-5 I should be
> > looking at here?
> INDEX-5 is for 5.x.
> > In any case, even portversion reports zsh as up-to-date, so something
> > does appear to be wrong.
> Maybe portupgrade doesn't use the INDEX files any more. Try updating
> your INDEX-5 either with portsdb -uU or by downloading from
> www.freebsd.org/ports/INDEX-5 and retry.
I'm pretty sure it doesn't, as my INDEX files are way out of date (I
don't have Perl installed so 'make index' fails.) portversion hasn't
noticed any updates in months but portupgrade still works as expected.
(Of course, having the INDEXes online for download has solved this
problem for me :) portversion also uses the INDEX.db, which hasn't
been updated on Adam's machine since April 6. If you (Adam) run pkg_version
you will note that is has quite a lot more outdated ports than portversion
The fastest way to keep things updates is to download the new INDEX-5
entry then run 'portsdb -u', in that order. The -u will update INDEX.db
from the current INDEX file, and that's what portversion needs. I have
this stuff running in my periodic/daily scripts and it works like a
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20040520/3d051cfd/attachment.bin
More information about the freebsd-ports