Date: Wed, 17 Nov 2004 15:22:43 -0800 From: Ricardo Oliva <ricardo@zoology.ubc.ca> To: Doug White <dwhite@gumbysoft.com> Cc: freebsd-stable@lists.freebsd.org Subject: Re: portupgrade crash on 4.9-stable Message-ID: <95420DA8-38EF-11D9-A859-0030657D2842@zoology.ubc.ca> In-Reply-To: <20041117151328.V25542@carver.gumbysoft.com> References: <2761.10.0.0.26.1100726478.squirrel@10.0.0.26> <A3E7E5D6-38E5-11D9-A859-0030657D2842@zoology.ubc.ca> <20041117151328.V25542@carver.gumbysoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail-58-19995783 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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@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@gumbysoft.com | www.FreeBSD.org --Apple-Mail-58-19995783--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95420DA8-38EF-11D9-A859-0030657D2842>