From owner-freebsd-questions@FreeBSD.ORG Sun Aug 8 00:46:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9F9316A4CE for ; Sun, 8 Aug 2004 00:46:12 +0000 (GMT) Received: from typhoon.enabled.com (typhoon.enabled.com [216.218.220.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B5A2F43D45 for ; Sun, 8 Aug 2004 00:46:12 +0000 (GMT) (envelope-from admin2@enabled.com) Received: from enabled.com (localhost.enabled.com [127.0.0.1]) by typhoon.enabled.com (8.13.1/8.13.1) with ESMTP id i780iqwV021639; Sat, 7 Aug 2004 17:44:52 -0700 (PDT) (envelope-from admin2@enabled.com) From: "Noah" To: Ion-Mihai Tetcu Date: Sat, 7 Aug 2004 16:44:52 -0800 Message-Id: <20040808004303.M32523@enabled.com> In-Reply-To: <20040808024345.6c388b39@it.buh.tecnik93.com> References: <20040807224127.M18276@enabled.com> <20040808024345.6c388b39@it.buh.tecnik93.com> X-Mailer: Open WebMail 2.32 20040709 X-OriginatingIP: 67.161.56.189 (admin2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 cc: freebsd-questions@freebsd.org Subject: Re: updating pkg and ports database X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2004 00:46:13 -0000 On Sun, 8 Aug 2004 02:43:45 +0300, Ion-Mihai Tetcu wrote > On Sat, 7 Aug 2004 14:43:27 -0800 > "Noah" 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. okay the second run comes up with the follow: # /usr/local/bin/portindex Checking ports tree for changes. Abort with CTRL-C. Updating portinfo for /usr/ports/archivers/pear-Archive_Tar Master port is /usr/ports/devel/pear-PEAR pear-Archive_Tar-1.2: "/usr/ports/lang/php4-horde" non-existent -- dependency list incomplete Failed to extract describe information from /usr/ports/archivers/pear-Archive_Tar Updating portinfo for /usr/ports/archivers/pecl-zip pecl-zip-1.0: "/usr/ports/lang/php4-horde" non-existent -- dependency list incomplete Failed to extract describe information from /usr/ports/archivers/pecl-zip Updating portinfo for /usr/ports/archivers/php4-bz2 Master port is /usr/ports/lang/php4 php4-bz2-4.3.8_2: "/usr/ports/lang/php4-horde" non-existent -- dependency list incomplete Failed to extract describe information from /usr/ports/archivers/php4-bz2 Updating portinfo for /usr/ports/archivers/php4-zlib Master port is /usr/ports/lang/php4 php4-zlib-4.3.8_2: "/usr/ports/lang/php4-horde" non-existent -- dependency list incomplete Failed to extract describe information from /usr/ports/archivers/php4-zlib Updating portinfo for /usr/ports/archivers/php5-bz2 Master port is /usr/ports/lang/php5 ^CSaving status data ...^C also on another machine I am seeing this happening after running portindex then portsdb -u - I get hundreds of lines like this: /usr/ports/INDEX:1742:Port info line must consist of 10 fields. /usr/ports/INDEX:1743:Port info line must consist of 10 fields. /usr/ports/INDEX:1744:Port info line must consist of 10 fields. /usr/ports/INDEX:1745:Port info line must consist of 10 fields. /usr/ports/INDEX:1746:Port info line must consist of 10 fields. any clues why? cheers, Noah > > > > > ---- snip --- > > > > /usr/local/sbin/portsdb -uU > > /usr/local/sbin/pkgdb -Fa > > > > --- snip --- > > -- > IOnut > Unregistered ;) FreeBSD "user" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"