Subject: Re: The well known patch problem
To: Alistair G. Crooks <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 07/07/1999 07:14:31
On Wed, 7 Jul 1999, Alistair G. Crooks wrote:

> > In article <>,
> > writes:
> > >  The patches are apparently out of sync with the sources.
> > 
> > Indeed, but only in your local copy of the package sources. Possible
> > reasons for this problem are:
> > 
> > - You sup without the "-d" or "delete" option.
> > - You download "pkgsrc.tar.gz" and did not remove the package source tree
> >   before extracting the new one.

Also, if you sup on top of a pkgsrc.tar.gz created tree, "delete" has
no effect on the first sup, as there is no list to compare against yet.

> I'm open to other suggestions, and/or other ways to avoid the
> problem which keeps cropping up.

Create the files /usr/sup/current/{last,when}.pkgsrc with a script,
and include them in the tar file.