Subject: Re: Ruminations on pkg_chk...
To: Tomasz Luchowski <tomasz@luchowski.com>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-pkg
Date: 12/31/2003 14:08:54
On Wed, 31 Dec 2003, Tomasz Luchowski wrote:

> On Wed, Dec 31, 2003 at 12:07:38PM +0000, Gavan Fantom wrote:
> >
> > How feasible would it be for pkg_chk to have a flag which caused it to use
> > something like pkg_comp to build all the new packages in a sandbox before
> > deinstalling anything, and then only deinstall and upgrade when it knows
> > it has successfully built enough binary packages that the system won't be
> > left with any missing packages? I would consider that a very useful
> > feature.
> This would be *extremely* useful, I think it would be one of the best improvements
> ever.

Looking a little more closely at this, it would appear that you could
almost do this now by getting pkg_chk to list all the packages that needed
building, building them with pkg_comp and then running pkg_chk again
specifying that it should use binary packages. With appropriate error
checking in the middle, of course.

But I think pkg_chk itself ought to be able to make a better job of it if
it were aware of pkg_comp directly.

-- 
Gillette - the best a man can forget