Subject: Re: how to rebuild +REQUIRED_BY in pkgdb
To: Julio Merino <jmmv@menta.net>
From: None <collver1@attbi.com>
List: netbsd-help
Date: 02/08/2003 06:29:38
On Sat, Feb 08, 2003 at 03:00:35PM +0100, Julio Merino wrote:
> On Sat, 08 Feb 2003 22:25:53 +0900
> _?_R_?_j (Atsushi YOKOYAMA) <a.yokoyama@pobox.com> wrote:
> 
> >    1. pkg_delete -f a-1.0
> >    2. cd pkgsrc/somewhere/a
> >    3. make install            # this installs a-1.1
> 
> This should have been:
> 
>     1. cd pkgsrc/somewhere/a
>     2. make replace

If you have already destroyed +REQUIRED_BY and you need to rebuild it, here
is a quick and dirty hack to do just that:

http://backyard.homunix.net/~ben/pkgsrc/pkg-rebuild-required-by.sh

Ben