From owner-freebsd-questions@FreeBSD.ORG Fri Apr 6 21:19:20 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5687216A404 for ; Fri, 6 Apr 2007 21:19:20 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from p28.ich-19.com (fa.ea.5646.static.theplanet.com [70.86.234.250]) by mx1.freebsd.org (Postfix) with ESMTP id 263D913C448 for ; Fri, 6 Apr 2007 21:19:20 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from [89.122.145.219] (helo=Unknown-00-13-d4-de-87-6f.lan) by p28.ich-19.com with esmtpa (Exim 4.63) (envelope-from ) id 1HZvq0-0006yA-6H for freebsd-questions@freebsd.org; Fri, 06 Apr 2007 16:19:16 -0500 Date: Sat, 7 Apr 2007 00:20:12 +0300 From: Ghirai X-Mailer: The Bat! (v3.98.4) Professional X-Priority: 3 (Normal) Message-ID: <8710021839.20070407002012@ghirai.com> To: freebsd-questions@freebsd.org In-Reply-To: <05853548.20070406234829@ghirai.com> References: <72510155.20070406225919@ghirai.com> <8cb6106e0704061308nae754afj662b855b762aacc2@mail.gmail.com> <05853548.20070406234829@ghirai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - p28.ich-19.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ghirai.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re[3]: Problem with portupgrade - SOLVED X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ghirai List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 21:19:20 -0000 Hello Ghirai, Friday, April 6, 2007, 11:48:29 PM, you wrote: > Hello Josh, > Friday, April 6, 2007, 11:08:02 PM, you wrote: >>> deimos# portupgrade -PR libmpeg2 >>> [Updating the portsdb >format:bdb_btree> in /usr/ports ... - 16851 >>> port entries found >>> {lines cut} ..... done] >>> [missing key: categories: Cannot read the portsdb! >>> database file error >>> >>> {following some ruby errors regarding the fact that the db can't be >>> read?!} >> Try removing (or moving so you have a backup) your >> /var/db/pkg/pkgdb.db file, then running pkgdb -u to update/create it. >> Josh > I did that, it recreated the file w/o errors, but i get the same error > message. I did a "make deinstall" and a "make reinstall" for portupgrade, which bumped the version mumber. It works now. Compiling new versions, hopefully everything will turn out ok. I'll report back. -- Best regards, Ghirai.