From owner-freebsd-questions@FreeBSD.ORG Wed Jan 4 16:25:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E001C16A41F; Wed, 4 Jan 2006 16:25:23 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16DD743D58; Wed, 4 Jan 2006 16:25:15 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (pi.iib.unsam.edu.ar [192.168.10.11]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k04GPLFZ033853; Wed, 4 Jan 2006 13:25:24 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from pi.iib.unsam.edu.ar (localhost [127.0.0.1]) by pi.iib.unsam.edu.ar (8.13.1/8.13.1) with ESMTP id k04GOsN7007965; Wed, 4 Jan 2006 13:25:00 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by pi.iib.unsam.edu.ar (8.13.1/8.13.1/Submit) id k04GOh34007964; Wed, 4 Jan 2006 13:24:43 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: pi.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Wed, 4 Jan 2006 13:24:42 -0300 From: Fernan Aguero To: FreeBSD Questions Message-ID: <43B3F22D.5070601@freebsd.org> Mail-Followup-To: Fernan Aguero , FreeBSD Questions , Colin Percival , Mark Ovens , Kent Stewart , eoghan Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43B3EEF9.3010004@freebsd.org> User-Agent: Mutt/1.5.9i Cc: eoghan , Mark Ovens , Colin Percival , Kent Stewart Subject: Re: pkgdb format X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 16:25:24 -0000 +-----[ | | I had exactly the same problem during portupgrading after a 5.4->6.0 | base system upgrade until I did a `portupgrade -fR portupgrade`, at | which point it stopped (and has been fine ever since). I have no idea | what the problem is or why this would fix it, but you might like to | try this and see if it helps. | | Colin Percival | +-----] Just to add to the thread, though a little bit late. I had also the same problem, during a 'portupgrade -af' after upgrading to 6.0. So I stopped the process, removed the pkgdb.db file, and started it again. The pkgdb.db file got rebuild the first time, and then everything worked right until portupgrade reinstalled databases/ruby-bdb1. From this point on, the rebuilding of pkgdb.db started, alternating between bdm_hash and dbd1_btree, as described before in this thread. Anyway, I just wanted to add that I've been unable to find documentation on the format of the pkgdb.db file ... 'man -k pkgdb' turns up pkgdb(1), but there is nothing there regarding the alternative formats (hash/btree) or how to set them explicitly. Fernan