Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Aug 2004 02:43:45 +0300
From:      Ion-Mihai Tetcu <itetcu@apropo.ro>
To:        "Noah" <admin2@enabled.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: updating pkg and ports database
Message-ID:  <20040808024345.6c388b39@it.buh.tecnik93.com>
In-Reply-To: <20040807224127.M18276@enabled.com>
References:  <20040807224127.M18276@enabled.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 7 Aug 2004 14:43:27 -0800
"Noah" <admin2@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"



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