Date: Sat, 24 Mar 2007 20:05:42 -0500 From: Jonathan Horne <freebsd@dfwlp.com> To: freebsd-questions@freebsd.org Subject: Re: auto-removal of earlier package?? Message-ID: <20070324200542.dafafe49.freebsd@dfwlp.com> In-Reply-To: <20070325003758.GA812@thought.org> References: <20070325003758.GA812@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Mar 2007 16:37:58 -0800 Gary Kline <kline@tao.thought.org> wrote: > > Guys, > > Can anybody suggest ascript means to rm -i a whole slew of > packages I am collection in /usr/ports/packages/All/? > > On some of my i686's I have collected as many as three versions > of some *tbz files. Other than doing this by-hand on four > boxens, I'd have automate. pkgdb -F will ask if the user wants > to delete (the earlier) of two packages with an [n]. I'd rather > not reinvent the wheel. > > (I *thought* I was nearly finished updating this machine; > suddenty I've got 50 new ones!! ) > > tia, > > gary > > > > -- > Gary Kline kline@thought.org www.thought.org Public Service Unix > out of curiosity, whats stopping from 'rm -rf /usr/ports/*' , and pulling down a whole new ports tree? otherwise, check into 'portsclean -C' and 'portsclean -D'. the -D should do the trick for you, but the -C might also be of use to you too. cheers, jonahtan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070324200542.dafafe49.freebsd>