Subject: Re: removal of base packages
To: m0rph <jheath@istrength.net>
From: Greg A. Woods <woods@weird.com>
List: port-sparc
Date: 09/19/2000 12:06:59
[ On Tuesday, September 19, 2000 at 14:54:46 (+0200), Manuel Bouyer wrote: ]
> Subject: Re: removal of base packages
>
> On Mon, Sep 18, 2000 at 05:46:50PM -0500, m0rph wrote:
> > Hi, I am new to NetBSD and BSD in general. I would like to remove some
> > packages that I installed during the NetBSD installation e.g. sendmail.
> > I have seen FreeBSD has a util under /stand called sysinst. I cannot
> > find such a util on NetBSD. Can someone tell me how I can accomplish
> > this? Any help is appreciated. Thanks.
> 
> If it's part of the base install then the only way is to remove the binaries
> you don't need by hand (e.g. rm /usr/libexec/sendmail/*)

The trick is in finding the list of files to be removed.  However so
long as a copy of the original .tgz file is available then it's very
easy to create such a list and use it to remove the unwanted files.
Something like the following should do it:

	rm $(pax -zf games.tgz | sed 's|^\.||')

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>