Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 2009 15:52:44 -0400
From:      "Alexandre \"Sunny\" Kovalenko" <gaijin.k@gmail.com>
To:        David Schultz <das@FreeBSD.ORG>
Cc:        freebsd-stable <freebsd-stable@FreeBSD.ORG>, Vladimir Grebenschikov <vova@fbsd.ru>, "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:  <1248292364.1479.16.camel@RabbitsDen>
In-Reply-To: <20090722193033.GA83848@zim.MIT.EDU>
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> <20090722193033.GA83848@zim.MIT.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2009-07-22 at 15:30 -0400, David Schultz wrote:
> 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.  
ports-mgmt/pkg_cutleaves does not quite do that, but IMHO is pretty
close. I does not detect build-time dependencies, though.

> Then it would be possible to garbage collect ports
> that are no longer needed.
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"

-- 
Alexandre Kovalenko (Олександр Коваленко)





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