Re: How do uninstall a package and all it's dependencies ?
Low Kian Seong wrote: The problem about the -R option is that normally that takes off stuff like xorg-server and friends too ! Really not nice, or am I doing something wrong ? On 4/20/06, *Patrick Bowen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Seong; I do that fairly often when I'm just looking at packages. Try pkg_deinstall -R package-name, where package-name is replaced with the name of the package you want to delete, in your case xfce4. pkg_deinstall -R xfce4. Patrick ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] If the dependancy pkg is required by something else, then pkg_deinstall will tell me that it can't delete the dependancy pkg because its used by another pkg. Works like a charm. Patrick -- Patrick Bowen [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: How do uninstall a package and all it's dependencies ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Bowen wrote: Low Kian Seong wrote: The problem about the -R option is that normally that takes off stuff like xorg-server and friends too ! Really not nice, or am I doing something wrong ? On 4/20/06, *Patrick Bowen* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Seong; I do that fairly often when I'm just looking at packages. Try pkg_deinstall -R package-name, where package-name is replaced with the name of the package you want to delete, in your case xfce4. pkg_deinstall -R xfce4. Patrick ___ freebsd-questions@freebsd.org mailto:freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] If the dependancy pkg is required by something else, then pkg_deinstall will tell me that it can't delete the dependancy pkg because its used by another pkg. Works like a charm. Patrick I use a program called pkg_cutleaves. It's located in /usr/ports/sysutils/pkg_cutleaves. You run it as root and basically you select the main program(s) you want to deinstall. If the program you deinstall has any dependencies it will give you the option to deinstall them as well. Hope this helps. Drew -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.3rc2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBREqQZ3Q3fmUuGnJBAQLf/wgAkrAaYHw96kkt6UQvVyNW1ZZdLeuA5pCU OPwqHTbwlXov0HXilYyCRl/oExbOGsrvP0zoOdVzNV4Np7z8+LeFGhecDP9U080X CA8oWkQO3vKZaN5sl9sHCij0AkwTs0jBDbmdF/Ao77xncoYu6laW1Lvw7Ewa7YwD PMOuePuOU6LhTph7NgRI8bLpJOhcvwqFRyF5z2DxWYT89mPvuhh6Qo18aWKIwDda Hk3SMIU+spIo80DUPagao2xE79uo5QhaVGTzUlwhY+gxPBhGmZCT3FZQVxFhJ+es uMFbri7SkqugZlrvXu0wPOVvID0d/FEHWfUvHFFJ4AHrcgqZPrNbsA== =OJju -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do uninstall a package and all it's dependencies ?
Dont know or care about the version? Try #pkg_delete -xr 'xfce*' #man pkg_delete Bryan On 4/18/06, Low Kian Seong [EMAIL PROTECTED] wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- -- Bryan bc3910 'at' gmail 'dot' com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do uninstall a package and all it's dependencies ?
Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ You may want to check out sysutils/pkg_rmleaves. -- cso ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do uninstall a package and all it's dependencies ?
Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Seong; I do that fairly often when I'm just looking at packages. Try pkg_deinstall -R package-name, where package-name is replaced with the name of the package you want to delete, in your case xfce4. pkg_deinstall -R xfce4. Patrick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How do uninstall a package and all it's dependencies ?
The problem about the -R option is that normally that takes off stuff like xorg-server and friends too ! Really not nice, or am I doing something wrong ? On 4/20/06, Patrick Bowen [EMAIL PROTECTED] wrote: Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Seong; I do that fairly often when I'm just looking at packages. Try pkg_deinstall -R package-name, where package-name is replaced with the name of the package you want to delete, in your case xfce4. pkg_deinstall -R xfce4. Patrick ___ 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]
Re: How do uninstall a package and all it's dependencies ?
On 4/20/06, Patrick Bowen [EMAIL PROTECTED] wrote: Low Kian Seong wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Seong; I do that fairly often when I'm just looking at packages. Try pkg_deinstall -R package-name, where package-name is replaced with the name of the package you want to delete, in your case xfce4. pkg_deinstall -R xfce4. Patrick On Wednesday 19 April 2006 19:23, Low Kian Seong wrote: The problem about the -R option is that normally that takes off stuff like xorg-server and friends too ! Really not nice, or am I doing something wrong ? Add the -i flag. From the man: -i --interactive Request confirmation before attempting to delete each package, regardless whether or not the standard input device is a terminal. A little more hands on, but it'll keep you from nuking something you want to keep. Beech -- --- Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | Mangohealth \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - XanGo - http://www.mangohealth.org --- pgpo7auzHcGKr.pgp Description: PGP signature
Re: How do uninstall a package and all it's dependencies ?
--- Low Kian Seong [EMAIL PROTECTED] wrote: Dear all, Been digging around but never really found the answer to this one, say if i install xfce4 package and then later I want to uninstall xfce4 and *all* it's dependencies, how do i do it ? Thank you all in advance. Try man pkg_delete. Last option is -r. Give pkg_delete -r and the name of the pkg to delete. Hope that helps. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]