portsdb & portsnap

Ashley Moran work at ashleymoran.me.uk
Tue Sep 20 02:10:09 PDT 2005


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


More information about the freebsd-questions mailing list