From owner-freebsd-current@FreeBSD.ORG Wed Jul 22 19:28:36 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B33C81065679 for ; Wed, 22 Jul 2009 19:28:36 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (ZIM.MIT.EDU [18.95.3.101]) by mx1.freebsd.org (Postfix) with ESMTP id 1FA318FC18 for ; Wed, 22 Jul 2009 19:28:35 +0000 (UTC) (envelope-from das@FreeBSD.ORG) Received: from zim.MIT.EDU (localhost [127.0.0.1]) by zim.MIT.EDU (8.14.3/8.14.2) with ESMTP id n6MJUZWi083895; Wed, 22 Jul 2009 15:30:35 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by zim.MIT.EDU (8.14.3/8.14.2/Submit) id n6MJUXtS083894; Wed, 22 Jul 2009 15:30:33 -0400 (EDT) (envelope-from das@FreeBSD.ORG) Date: Wed, 22 Jul 2009 15:30:33 -0400 From: David Schultz To: Vladimir Grebenschikov Message-ID: <20090722193033.GA83848@zim.MIT.EDU> Mail-Followup-To: Vladimir Grebenschikov , Steve Kargl , freebsd-stable , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Ken Smith References: <1248027417.14210.110.camel@neo.cse.buffalo.edu> <58F0204B-ECE6-479A-AAC2-7868E71ABB43@exscape.org> <367b2c980907200729s57eafbbfw83c8ae5a94f41ffc@mail.gmail.com> <4A6628F0.6080802@mail.zedat.fu-berlin.de> <20090721215201.GA61999@troutmask.apl.washington.edu> <1248277420.8644.70.camel@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1248277420.8644.70.camel@localhost> Cc: freebsd-stable , "O. Hartmann" , Thomas Backman , Olivier SMEDTS , FreeBSD current , Steve Kargl , Ken Smith Subject: Re: HEADS-UP: Shared Library Versions bumped... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jul 2009 19:28:37 -0000 On Wed, Jul 22, 2009, Vladimir Grebenschikov wrote: > В вт, 21/07/2009 в 14:52 -0700, Steve Kargl пишет: > > On Tue, Jul 21, 2009 at 10:45:36PM +0200, O. Hartmann wrote: > > > > > > I have another box (of many) running FreeBSD 8.0-BETA2/amd64 with 2 GB > > > RAM and a Athlon64 2,2GHz CPU having 800(!) ports installed. Can you > > > imagine how long this box will be occupied by 'portupgrade -af'? I guess > > > 'cherry-picking' is the only solution. > > > > How many of those 800 ports are actually necessary and used? > > It would be better to get generate a complete list of your > > installed ports, use pkg_deinstall or pkg_delete to remove > > all ports, and then selectively re-install ports that are > > actually used. > > I've found that much faster and cleaner way is to just remove > whole /usr/local (preserving /usr/local/etc), and /var/db/pkg > > and then just install required ports, such process goes much faster. > Also it removes all unused ports. I do the same thing. I wish the ports system kept track of which ports were installed explicitly by me, and which were only dependencies. Then it would be possible to garbage collect ports that are no longer needed.