Subject: Re: pkg_delete ALL how to do this pls?
To: Paul (NCC/CS). <>
From: John Klos <>
List: tech-pkg
Date: 02/23/2005 19:51:09

> Thanks for all your help guys, but I'm not getting far.
> None of this explains why it doesn't link to the correct
> libs when built from pkg_src?
> I don't want to build gnumeric from source by hand.

If stuff can't find libxml2, why not manually reinstall libxml2 and see if 
that fixes things? (pkgsrc/textproc/libxml2)

> Ok, what I want to do is delete all packages.
> And start again.
> How do I do this please?

pkg_delete -f `ls /var/db/pkg`?

> . How can I get pkg_info to show pkg names only
> without the description so I can pipe it to pkg_delete?

pkg_info | awk '{ print $1 }'

John Klos