Subject: Re: tar files and such things...
To: SamMaEl <rimsky@teleport.com>
From: Todd Vierling <tv@pobox.com>
List: port-mac68k
Date: 01/19/1998 11:23:32
On Mon, 19 Jan 1998, SamMaEl wrote:

: 	I think what he is asking is, is there or could there be a way to
: uninstall the system tarballs (base.tgz, comp.tgz etc.) That is, without
: having to go through and delete every file one at a time ;-) And, I think
: this could be a handy thing... but of course it would need to know what
: files are installed and where. I know that I accidentally installed X on a
: machine that I was going to run headless, and had to go in and delete the
: /usr/X11R6 files, but I didn't know if there were any OTHER files outside
: of that hierarchy, and didn't want to take the time to list every single
: file in the x tarballs...
: 
: 	Feasibility?

Here's a hacky way of doing it, but it works!

ftp to ftp.netbsd.org, go to /pub/NetBSD/NetBSD-current/src/distrib/sets/lists

cd into the set you want to delete (comp, text, ...)

get both the "mi" and "md.mac68k" filed (the md file may or may not be
there)

when you exit ftp, cd to / and run:
    rm `cat DIR/mi DIR/md.mac68k`

where DIR is where you downloaded the files.  These two distribution files
contain lists of all the files in each distribution set, but they are pulled
from NetBSD-current, not 1.3, so they may try to delete files that aren't in
the 1.3 release (not too big of a deal).

This works, but it is by no means an official way of doing it.

=====
===== Todd Vierling (Personal tv@pobox.com) =====
== "There's a myth that there is a scarcity of justice to go around, so
== that if we extend justice to 'those people,' it will somehow erode the
== quality of justice everyone else receives."  -- Maria Price