Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Sep 2007 22:58:35 +0100
From:      Adam J Richardson <fatman@crackmonkey.us>
To:        Mel <fbsd.questions@rachie.is-a-geek.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /usr/ports & portupgrade when only using packages
Message-ID:  <46E31B0B.5070802@crackmonkey.us>
In-Reply-To: <200709052055.04414.fbsd.questions@rachie.is-a-geek.net>
References:  <46DECE7F.3000909@fid4.com> <46DEF6D0.8010108@crackmonkey.us> <200709052055.04414.fbsd.questions@rachie.is-a-geek.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Mel wrote:
> On Wednesday 05 September 2007 20:34:56 Adam J Richardson wrote:
> 
>> Well, that's easy...
>>
>> # rm -R /usr/ports
>>
>> Saves you a load of disk space, too. The only downside is you get
>> slightly older versions of software with packages.
>>
>> Oh, and don't use portsnap, it'll undo that "rm -R" for you. Using
>> "portupgrade -PP" works perfectly well on those rare occasions when I
>> want to install a package rather than a port.
> 
> I'm really interested in seeing the output of portupgrade -PP after 
> rm -R /usr/ports && mkdir /usr/ports.

Yes, that might be interesting. I've never tried it.

I wonder though, is portupgrade the tool for this? Would not "pkg_add -r 
whatever" be more appropriate?

HtH,
Adam J Richardson



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