updating pkg and ports database
Noah
admin2 at enabled.com
Sat Aug 7 17:46:13 PDT 2004
On Sun, 8 Aug 2004 02:43:45 +0300, Ion-Mihai Tetcu wrote
> 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.
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions
mailing list