Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2005 10:09:04 +0100
From:      Ashley Moran <work@ashleymoran.me.uk>
To:        freebsd-questions@freebsd.org
Subject:   Re: portsdb & portsnap
Message-ID:  <432FD1B0.1000901@ashleymoran.me.uk>
In-Reply-To: <14804094.1127206352804.JavaMail.root@pswm18.cp.tin.it>
References:  <14804094.1127206352804.JavaMail.root@pswm18.cp.tin.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Vittorio wrote:
> I'm having a go at using portsnap on my fbsd 5.4 notebook  instead of 
> cvsup to update the ports. With the latter under the /usr/ports dir I 
> issue "make update" and "portsdb -uU" and finally "portupgrade -arR".
> Now, using portsnap it seems to me that after "update" the program 
> itself refreshes the db. In fact if I issue "portversion -l "<" " a 
> list of upgradable packages pops up. Therefore I'm concluding that 
> after portsnap fetch, update, there's no  need for a "portsdb -uU".
> Am 
> I right or missing something (which is actually my feeling!)?
> Ciao
> Vittorio


portsdb -u updates the ports database, but this is done whenever you 
access the db anyway (running portversion will do this)

portsdb -U updates the index, but that portsnap takes care of that

I've never needed to do this with portsnap- I'm pretty sure it's redundant.

Ashley



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