Date: Sun, 26 Dec 2004 20:48:26 -0500 From: Chuck Swiger <cswiger@mac.com> To: Tom Vilot <tom@vilot.com> Cc: questions@freebsd.org Subject: Re: Oooooops: make deinstall Message-ID: <41CF69EA.6070002@mac.com> In-Reply-To: <41CF5C95.8060702@vilot.com> References: <41CF5C95.8060702@vilot.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41CF69EA.6070002>