Subject: Re: Rebuilding all installed packages
To: Martin Husemann <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 03/03/2000 18:16:36
On Fri, 3 Mar 2000, Martin Husemann wrote:

> > That would be neat. I've used *_SPECIFIC_PKGS to update a whole bunch
> > at a time (see the top level Makefile), but the list of
> > category/package's had to be constructed by hand. I don't see an easy
> > way to get the category where the package actually lives out of the
> > package database, which you would need to construct the list automatically.
> What I'm thinking about is a small perl script using "pkg_info -qf", "tsort" 
> and "make update".
> I'll try that...

Don't see the category subdirectory in the output of "pkg_info -qf".
"-b" has it. You would still lose if the package has moved, but your
script could always check that the directory actually exists.