Portmanager 0.3.9 asserting

Michael C. Shultz ringworm01 at gmail.com
Sat Nov 26 03:05:05 GMT 2005


On Friday 25 November 2005 18:49, Wes Santee wrote:
> Just updated to portmanager 0.3.9 from 0.3.7 and now every command
> (except --help) is causing an assert:
>
> $ sudo portmanager --version
>
> rParseCommandLine 0.3.9_1
>
> $ sudo portmanager --status
> MGdbRead error: unable to open file
> /usr/local/share/portmanager/pkgtools.db system message: No such file or
> directory
> Assertion failed: (0), function MGdbRead, file MGdbRead.c, line 65.
> Abort trap: 6 (core dumped)
>
> Sure enough, there is no pkgtools.db.  Since this doesn't get installed
> with the port, I'm assuming it's supposed to be dynamically created.
>
> Just using the default pm-020.conf file installed with the updated port:
>
> $ sudo cp pm-020.conf.SAMPLE pm-020.conf
>
> Anyone else having problems?  I'm on 6.0-RELEASE, BTW.
>
> Cheers,
> -Wes

0.3.9_1 is trying to load pkgtools.conf, its not supposed to if ruby isn't 
installed or pkgtools.conf is missing so looks like you found a bug.
Will check it out and post a patch asap.

-Mike


More information about the freebsd-questions mailing list