Date: Sun, 8 May 2011 16:37:54 +0400 From: Yuri Pankov <yuri.pankov@gmail.com> To: Dino Vliet <dino_vliet@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: remove all ports Message-ID: <20110508123754.GC18573@procyon.xvoid.org> In-Reply-To: <810820.50619.qm@web113604.mail.gq1.yahoo.com> References: <810820.50619.qm@web113604.mail.gq1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, May 08, 2011 at 05:05:19AM -0700, Dino Vliet wrote: > Hi freebsd people, > just to make sure I don't end up with a unworkable system I want to > ask the list if I'm on the right track. > > I have this workstation running FreeBSD 8.1 and have used it as an > application/database server for most of the last 2 years. Do to my > assignment being finished I want to rearrange stuff, without going > to a re-install as everything has been setup to my liking (gmirror > etc etc). > > Over time a few ports were installed, for which I have no use now. > I figured out the alternatives I have are: > > A) remove all ports Except the ones I would like to keep Try using ports-mgmt/pkg_cutleaves (with the recursive option). > B) remove all ports and then > reinstall the ports that I would like to keep > > What are the commands for option A en B (assuming bash, weka, > postgresql*, screen, gawk, rsync, jdk would have to stay?) > > For option A I tried pkg_deinstall -r xorg-minimal-7.5.1 but only > that port got removed and not the ports I found after I did > pkg_info -r xorg-minimal-7.5.1 HTH, Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110508123754.GC18573>