portupgrade crash on 4.9-stable
Ricardo Oliva
ricardo at zoology.ubc.ca
Wed Nov 17 15:22:47 PST 2004
portsdb -Uu is the command.
You have a few files involved:
/var/db/pkg/pkgdb.db
/usr/ports/INDEX
/usr/ports/INDEX.db
Don't really know which is which.....
Cheers
--
Ricardo Oliva
Core Systems Administrator
Zoology Department
University of British Columbia
Ph.: 604-822-3882
E-mail: ricardo at zoology.ubc.ca
On 17-Nov-04, at 3:14 PM, Doug White wrote:
> On Wed, 17 Nov 2004, Ricardo Oliva wrote:
>
>> Hi Brian,
>>
>> Just add:
>>
>> ENV['PORTS_DBDRIVER'] = 'bdb1_hash'
>>
>> to your /usr/local/etc/pkgtools.conf.
>>
>> Ran into that yesterday and came across a page on the web that helped
>> me.
>
> This probably causes the db files to get regenerated -- the segfault
> comes
> because the file is corrupted. I don't remember the command to force a
> rebuild and also don't rememeber where the db files are stored :)
>
> --
> Doug White | FreeBSD: The Power to Serve
> dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-stable
mailing list