[arch-dev-public] Problem with web dashboard: massive orphaning of packages

Aaron Griffin aaronmgriffin at gmail.com
Sat Sep 13 18:53:37 EDT 2008

On Sat, Sep 13, 2008 at 10:24 AM, Dusty Phillips <buchuki at gmail.com> wrote:
> Hey guys,
> I tracked down the problem and fixed it. The basic problem is that
> there are two packages in i686 right now that have their arch set to
> x86_64:
> texlive-core
> texlive-htmlxml

Looks like the little "hack" of renaming files instead of rebuilding
them bit us in the ass here.
The DB scripts currently look for the arch in the filename, but don't
validate the PKGINFO.

> ATTENTION: The dbscripts should be updated to ensure that this doesn't
> happen. The only valid arches for any db.tar.gz file are the name of
> the arch and 'any'.

Please see this (untested) patch which validates the PKGINFO for the
correct architecture:

In the future, perhaps I'll validate more before adding it to the DB.

More information about the arch-dev-public mailing list