RE: Remove a Port and All Dependencies
Jeff, 'pkg_deinstall -R portname' should work in this case. -- Babak Farrokhi [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Cross Sent: Friday, February 24, 2006 9:59 PM To: [EMAIL PROTECTED]; freebsd-questions@freebsd.org Subject: Remove a Port and All Dependencies -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to know if it is possible to remove a port/package and all of the dependencies it installed that are not needed by other applications. Example: I installed Nautilus and some Gnome games but don't want them installed any longer. However, if I remove the package itself, doesn't it leave all of the other dependencies out there? Upgrading my system takes forever now that there are a ton of libs and such installed by these applications. So, if anyone can point me in the right direction for doing this I would greatly appreciate it. Jeff Cross -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD/1A/jEeRttyBLroRAjMyAJ94CqOeKoo0BPpqGjw9GCeatB6EewCfRRdh SOnrTu3rRT+iUoQpQQIwJOw= =Xbcd -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports 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]
Re: Remove a Port and All Dependencies
Jeff Cross wrote: I would like to know if it is possible to remove a port/package and all of the dependencies it installed that are not needed by other applications. Example: I installed Nautilus and some Gnome games but don't want them installed any longer. However, if I remove the package itself, doesn't it leave all of the other dependencies out there? Upgrading my system takes forever now that there are a ton of libs and such installed by these applications. So, if anyone can point me in the right direction for doing this I would greatly appreciate it. Jeff Cross sysutils/pkg_cutleaves. __ Frank Laszlo System Administrator The VonOstin Group Email: [EMAIL PROTECTED] WWW:http://www.vonostingroup.com Mobile: 248-863-7584 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove a Port and All Dependencies
Jeff Cross wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to know if it is possible to remove a port/package and all of the dependencies it installed that are not needed by other applications. Example: I installed Nautilus and some Gnome games but don't want them installed any longer. However, if I remove the package itself, doesn't it leave all of the other dependencies out there? Upgrading my system takes forever now that there are a ton of libs and such installed by these applications. So, if anyone can point me in the right direction for doing this I would greatly appreciate it. pkg_deinstall -R portname pkg_deinstall is part of the sysutils/portupgrade package. -- Aaron Dalton [EMAIL PROTECTED] FreeBSD Ports Committer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove a Port and All Dependencies
Jeff Cross wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to know if it is possible to remove a port/package and all of the dependencies it installed that are not needed by other applications. Example: I installed Nautilus and some Gnome games but don't want them installed any longer. However, if I remove the package itself, doesn't it leave all of the other dependencies out there? Upgrading my system takes forever now that there are a ton of libs and such installed by these applications. So, if anyone can point me in the right direction for doing this I would greatly appreciate it. Oh, and sysutils/pkg_cutleaves is also an excellent utility to clean stuff up. $ pkg_cutleaves -l -- Aaron Dalton [EMAIL PROTECTED] FreeBSD Ports Committer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove a Port and All Dependencies
Jeff Cross wrote: I would like to know if it is possible to remove a port/package and all of the dependencies it installed that are not needed by other applications. Example: I installed Nautilus and some Gnome games but don't want them installed any longer. However, if I remove the package itself, doesn't it leave all of the other dependencies out there? Upgrading my system takes forever now that there are a ton of libs and such installed by these applications. So, if anyone can point me in the right direction for doing this I would greatly appreciate it. There is a menu-ish version of pkg_cutleaves called pkg_rmleaves. I use this to clean up any ports that don't aren't depended upon anymore and that I don't need anymore. When new leaf-packages (packages that arent depended upon) are created by doing so it will show them again and allow you to remove these too (and so on, recursively). I found this to be a really easy way to clean up an entire system in a matter of minutes. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove a Port and All Dependencies
--- Aaron Dalton [EMAIL PROTECTED] wrote: Jeff Cross wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to know if it is possible to remove a port/package and all of the dependencies it installed that are not needed by other applications. Example: I installed Nautilus and some Gnome games but don't want them installed any longer. However, if I remove the package itself, doesn't it leave all of the other dependencies out there? Upgrading my system takes forever now that there are a ton of libs and such installed by these applications. So, if anyone can point me in the right direction for doing this I would greatly appreciate it. pkg_deinstall -R portname Wouldn't this remove all ports that depend on the port in question (its dependants)? The OP wants to remove all ports that are *required* by the port (its dependencies). But furthermore, he wants to remove those that AREN'T NEEDED BY ANY OTHER PORTS. -- Peter __ Find your next car at http://autos.yahoo.ca ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove a Port and All Dependencies
Peter wrote: --- Aaron Dalton [EMAIL PROTECTED] wrote: Jeff Cross wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I would like to know if it is possible to remove a port/package and all of the dependencies it installed that are not needed by other applications. Example: I installed Nautilus and some Gnome games but don't want them installed any longer. However, if I remove the package itself, doesn't it leave all of the other dependencies out there? Upgrading my system takes forever now that there are a ton of libs and such installed by these applications. So, if anyone can point me in the right direction for doing this I would greatly appreciate it. pkg_deinstall -R portname Wouldn't this remove all ports that depend on the port in question (its dependants)? The OP wants to remove all ports that are *required* by the port (its dependencies). But furthermore, he wants to remove those that AREN'T NEEDED BY ANY OTHER PORTS. pkg_deinstall won't remove ports that are required by other ports. pkg_deinstalling a Perl (p5-) port, for example, won't forcefully deinstall lang/perl itself (unless you're removing the very last port that requires lang/perl). 'man pkg_deinstall' will tell you how to accomplish what you want. There are a number of other port mgmt utilities as well. (sysutils/portmaster comes to mind.) Good luck! -- Aaron Dalton [EMAIL PROTECTED] FreeBSD Ports Committer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]