From owner-freebsd-questions@FreeBSD.ORG Fri Apr 6 20:08:03 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 7381D16A406 for ; Fri, 6 Apr 2007 20:08:03 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by mx1.freebsd.org (Postfix) with ESMTP id 3311B13C457 for ; Fri, 6 Apr 2007 20:08:03 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by an-out-0708.google.com with SMTP id c24so1126754ana for ; Fri, 06 Apr 2007 13:08:02 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Iq9EknRv2i2kdqBUbOBz2wmdwgz91+/seJDOV5Va+ymOBZgM1P08H7v159gN5vM/lAxmL5qAmooN8jaDHBj167baNvQCvrqDS1kg8QFkC2D92pC29/VzguTrMglAFs/JsKD+8JrrVKsfdoViFJvIAmdcmUMESdIS6Nlg4q5g1eM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=d/9YlSuYpXEwAZuPXKe6F4WEwroFQgsRH7uAyGoWSUg94ZdH4QIkD1cQS3ykMiPtnhxEGWGocADuFI+bZxFJ8TolbfAmdUuf21I80Ouq6nhCJEfFs5RYmjYNQyDKK1TVcagwW8Wv5wKzd0NoncsmTcuINz0iIDju49HnhjFwe1o= Received: by 10.100.111.16 with SMTP id j16mr2319796anc.1175890082230; Fri, 06 Apr 2007 13:08:02 -0700 (PDT) Received: by 10.100.59.18 with HTTP; Fri, 6 Apr 2007 13:08:02 -0700 (PDT) Message-ID: <8cb6106e0704061308nae754afj662b855b762aacc2@mail.gmail.com> Date: Fri, 6 Apr 2007 13:08:02 -0700 From: "Josh Carroll" To: Ghirai In-Reply-To: <72510155.20070406225919@ghirai.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <72510155.20070406225919@ghirai.com> Cc: freebsd-questions@freebsd.org Subject: Re: Problem with portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Apr 2007 20:08:03 -0000 > 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