On Sun, May 13, 2007 at 18:39:20 +0000, arnuld wrote:
i checked the manual page of prt-get and also the prt-get user manual at: http://jw.tks6.net/files/crux/prt-get_manual.html#install_remove
WANT: i have installed Xcfe4 package and it has somewhere around 12-15 dependencies of its own. i wan to remove all of those dependencies too. these dependencies are not shared by any other packages. i can't remember the whole list of dependencies.
GOT: "prt-get remove xfce4" removes only Xfce4 package not those 12 dependencies. how to remove all those together ?
Short answer: quickdep & dependent. Long answer: for p in `prt-get quickdep xfce4`; do \ d=$(prt-get dependent $p); \ if [ -z "$d" ]; then echo $p; fi ; done Replace 'echo' with 'pkgrm' if you want to directly remove them. HTH, Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch