package server inconsistencies

Dominic Fandrey kamikaze at
Mon Feb 2 02:03:33 PST 2009

A friend and me are both working on tools for automated package
updates. We intended to rely on the INDEX file to be found on
the package repositories, however we came to recognize that
the data provided is not reliable.

Here's an example:
Yesterday the OOo-3 version listed was

However under
you already found

editors/ was a broken link at that

Today this has returned to a consistent state, however
yesterday relying on INDEX would have been fatal. Our
code would have attempted to update with the wrong version
and gracelessly failed.

Was this some kind of exception or do we have to add server/INDEX
consistency tests to our algorithms? Shouldn't old packages be
kept until they are no longer referenced by the INDEX?

More information about the freebsd-ports mailing list