Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 15:30:33 -0400
From:      David Schultz <das@FreeBSD.ORG>
To:        Vladimir Grebenschikov <vova@fbsd.ru>
Cc:        freebsd-stable <freebsd-stable@FreeBSD.ORG>, "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de>, Thomas Backman <serenity@exscape.org>, Olivier SMEDTS <olivier@gid0.org>, FreeBSD current <freebsd-current@FreeBSD.ORG>, Steve Kargl <sgk@troutmask.apl.washington.edu>, Ken Smith <kensmith@cse.buffalo.edu>
Subject:   Re: HEADS-UP: Shared Library Versions bumped...
Message-ID:  <20090722193033.GA83848@zim.MIT.EDU>
In-Reply-To: <1248277420.8644.70.camel@localhost>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090722193033.GA83848>