John Borwick’s blog

Neat stuff John likes.

November 2nd, 2003

Atkins diet alerts

Some of the Slashdot geeks are talking about the Atkins Diet. I really don’t know how such logical people can think it’s a good idea to eat slabs of meat.

Atkins diet rebuttals:

update: I posted on Slashdot for the first time.

November 2nd, 2003

fink: how to remove all packages/uninstall fink

Upon deciding to install Apple’s X11, I wanted to remove all my existing fink X11 packages… just because.

The problem was that you can’t just say “fink purge x11” or “fink remove x11“, because x11 has a bunch of dependencies. So then I thought, “hey, why not just erase everything and start all over?”

The difficulty in just erasing fink’s directory (”rm -rf /sw“) is that occasionally files *are* deposited elsewhere, like /usr/X11R6. So I ended up running essentially the following:

fink list | perl -lne '/^s*is+(S+)/ and print $1' | xargs fink purge

This will return a few errors like “dpkg: error processing gzip (--purge): This is an essential package...“, but just ignore them. If you want, you could erase /sw at that point, I’m pretty sure.

November 2nd, 2003

Disturbing Auctions

Rob pointed me to Disturbing Auctions, which is the funniest thing I have seen in a long while.

|