Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2004 16:44:52 -0800
From:      "Noah" <admin2@enabled.com>
To:        Ion-Mihai Tetcu <itetcu@apropo.ro>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: updating pkg and ports database
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 8 Aug 2004 02:43:45 +0300, Ion-Mihai Tetcu wrote
> 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.


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"



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