What packages can I deinstall?
I've got a bunch of packages installed on my machine and I'd like to know if I can deinstall any of them. I know what a lot of them do, and know what will happen if I deinstall them. Others, I'm not really sure. For example I've got a package named cclient (http://www.freshports.org/mail/cclient/) installed. If I run pkg_deinstall -n cclient, it says that it'd be removed without any problems. So evidently no other package is depending on this...perhaps it's just an artifact from a package I installed a while back but deinstalled? Basically I'd like to clear out any unused packages. Is it safe to just run on pkg_deinstall -n on any package I don't recognize, and if it isn't required as a dependency for another package go ahead and delete it? Thanks, Pat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What packages can I deinstall?
On Tue, Oct 25, 2005 at 12:24:25PM -0600, Pat Maddox wrote: I've got a bunch of packages installed on my machine and I'd like to know if I can deinstall any of them. I know what a lot of them do, and know what will happen if I deinstall them. Others, I'm not really sure. For example I've got a package named cclient (http://www.freshports.org/mail/cclient/) installed. If I run pkg_deinstall -n cclient, it says that it'd be removed without any problems. So evidently no other package is depending on this...perhaps it's just an artifact from a package I installed a while back but deinstalled? Basically I'd like to clear out any unused packages. Is it safe to just run on pkg_deinstall -n on any package I don't recognize, and if it isn't required as a dependency for another package go ahead and delete it? You probably want pkg_cutleaves. If you're not using portupgrade, it's possible that your dependency database may be inconsistent (e.g. if you've done pkg_delete -f or failed to uninstall old versions before installing new ones over the top). Run pkgdb -F to check consistency first. Kris pgpUkxZ8y1zHw.pgp Description: PGP signature
Re: What packages can I deinstall?
Pat Maddox wrote: I've got a bunch of packages installed on my machine and I'd like to know if I can deinstall any of them. I know what a lot of them do, and know what will happen if I deinstall them. Others, I'm not really sure. For example I've got a package named cclient (http://www.freshports.org/mail/cclient/) installed. If I run pkg_deinstall -n cclient, it says that it'd be removed without any problems. So evidently no other package is depending on this...perhaps it's just an artifact from a package I installed a while back but deinstalled? Basically I'd like to clear out any unused packages. Is it safe to just run on pkg_deinstall -n on any package I don't recognize, and if it isn't required as a dependency for another package go ahead and delete it? Thanks, Pat It should be safe to do as long as you are fairly sure you don't need it. There's a KDE program called gpkgdep (sysutils/gpkgdep) that let's you see what depends on a package. It also lets you simulate the deinstall of different packages. It might be quicker than the command line tools to find those packages, though you still have to pkg_deinstall manually. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What packages can I deinstall?
Pat Maddox wrote: Basically I'd like to clear out any unused packages. Is it safe to just run on pkg_deinstall -n on any package I don't recognize, and if it isn't required as a dependency for another package go ahead and delete it? Check out portmanager, specifically portmanager -slid (interactivly and safely delete leaf ports from the man page). Note that's leaf ports not just unused ports Chris Thanks, Pat ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]