Oooooops: make deinstall
Chuck Swiger
cswiger at mac.com
Sun Dec 26 17:48:46 PST 2004
Tom Vilot wrote:
> Is there an easy way to say, either with portupgrade or make or any
> other tool, the equivalent of:
>
> "what ports are installed? Are they *really* installed?
> What do they depend on? Are those installed? Are they *really* installed?"
pkg_info, pkg_info -ag, pkg_info -ar (or pkg_info -aR, depending on which way
you want to see the dependencies).
> Of course I can do portupgrade -l "<" -O, but I think my question is:
> does that tell me if my system is actually clean?
No, although running a "pkgdb -fu" and then a "portupgrade -a" would probably
solve most of your issues. A "portupgrade -af" would certainly do so,
although it would probably take a day or two to finish...
> Also --- is there some way of looking at an "audit trail" or some way
> that I can see what ports/packages I had previously installed before I
> accidentally did make deinstall?
If you created a /usr/ports/packages directory, portupgrade and such will
leave the precompiled binary packages you've created on your system there.
Otherwise, consult your backups.
--
-Chuck
More information about the freebsd-questions
mailing list