From owner-freebsd-stable Thu Jul 12 15:40:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from web13502.mail.yahoo.com (web13502.mail.yahoo.com [216.136.175.81]) by hub.freebsd.org (Postfix) with SMTP id 90D7E37B403 for ; Thu, 12 Jul 2001 15:40:21 -0700 (PDT) (envelope-from dacia_icarus@yahoo.com) Message-ID: <20010712224021.95596.qmail@web13502.mail.yahoo.com> Received: from [64.81.179.68] by web13502.mail.yahoo.com via HTTP; Thu, 12 Jul 2001 15:40:21 PDT Date: Thu, 12 Jul 2001 15:40:21 -0700 (PDT) From: abram olson Subject: Re: mass uninstall all ports? To: parv Cc: freebsd-stable@FreeBSD.org In-Reply-To: <20010712182844.A26646@moo.holy.cow> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have updated the ports using cvsup. So, this: cd /var/db/pkg && pkg_delete -fd * will remove all the packages and ports that are installed? I really want to understand what I'm doing here ;-) Another person suggested I do: pkg_info | cut -d\ -f1 | xargs pkg_delete what is the difference between what these two commands will do? Abe --- parv wrote: > on Jul 12 18:19, i got this from abram... > > I just updated from 4.3 release to 4.3 stable. My > > entire system is built via ports. I want to make > some > > updates but I keep running into endless dependency > > chains. I'm doing a > > make clean in /usr/ports right now to see if > that > > helps. > > if you haven't updated your /usr/ports tree since > you have installed > software from there, the you need to do... > > # cd /usr/ports && make deinstall # inplace of > 'clean' > > > > > If it doesn't, is there a way to remove every > package > > that isn't part of the base system at one go? I'm > > happy to start over especially since I've got much > > better compiler optimizations now then when I > first > > built this system ;-) > > > > > > if you have updated your ports tree or added > packages via pkg_add, > then you may try this... > > # cd /var/db/pkg && pkg_delete -fd * > > ...to force (-f) removal & deletion of empty > directories (-d). if you > are running 4.3*, then you should be able to use the > wildcard. > > > -- > so, do you like word games or scrabble? > - parv ===== Jesus saves. Allah forgives, Cthulu thinks you'd make a nice sandwich. ------------------------------------------ See my digital art at: http://www.foramenmagnum.net/images.html __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message