updating pkg and ports database

Ion-Mihai Tetcu itetcu at apropo.ro
Sat Aug 7 16:43:55 PDT 2004


On Sat, 7 Aug 2004 14:43:27 -0800
"Noah" <admin2 at enabled.com> wrote:

> 
> 
> Hi there,
> 
> I have a cron job that auto-cvs-updates the /usr/ports directories.
> 
> I want to update the portsdb and pkgdb as soon as cvsup has completed its
> work.  I am using the following two commands to do this.  am I doing the right
> thing?

Yes, but you could optimize it by using sysutils/portindex instead of
portsdb -U and run portsdb -u after it finishes. Except on the first run
you will see a *big* speed improvement.

> 
> ---- snip ---
> 
> /usr/local/sbin/portsdb -uU
> /usr/local/sbin/pkgdb -Fa
> 
> --- snip ---


-- 
IOnut
Unregistered ;) FreeBSD "user"



More information about the freebsd-questions mailing list