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]"

Reply via email to