From owner-freebsd-questions@FreeBSD.ORG Fri Apr 20 21:14:25 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 A3C4816A409 for ; Fri, 20 Apr 2007 21:14:25 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by mx1.freebsd.org (Postfix) with ESMTP id 314AF13C487 for ; Fri, 20 Apr 2007 21:14:24 +0000 (UTC) (envelope-from fatman.uk@gmail.com) Received: by mu-out-0910.google.com with SMTP id g7so1220427muf for ; Fri, 20 Apr 2007 14:14:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=hEw9QczjfpVemP/oVYmouz+W2FybgMJWtOxbwXlshPBSSGkYxwU6G9bJ0azGRLWEjCxSIRYfp/Uk4a/GH/bnesqKD1HC2KL0XgIphPZfYOi2DgV+4+kPeoU+hO5OXCW6QRK3AQuP8PYL5M1sCewx+PcoTQRk4jeCeN0w+GJWbvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:reply-to:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:from; b=Jr51NLIYuRC1VDXvSD8XhaWDeI/BcqRaG8WOZSoVH9NDaaXnS4jSK7++KfN6MVMyWiWqcu2mgXMeumRBAJTk4lt0+a9rYsUcdv3KqQLNOeFzH/GznxDty3LeW8712jcT8UnC7c+ZV6Tvzi8jWkOfr7C7WXoOgJwZibTOnecCAhs= Received: by 10.82.107.15 with SMTP id f15mr5398320buc.1177103663035; Fri, 20 Apr 2007 14:14:23 -0700 (PDT) Received: from ?10.22.8.117? ( [86.18.88.217]) by mx.google.com with ESMTP id b30sm463191ika.2007.04.20.14.14.21; Fri, 20 Apr 2007 14:14:22 -0700 (PDT) Message-ID: <46292D2E.30606@crackmonkey.us> Date: Fri, 20 Apr 2007 22:14:22 +0100 User-Agent: Thunderbird 1.5.0.10 (X11/20070405) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20070420200744.E6E6B16A47D@hub.freebsd.org> In-Reply-To: <20070420200744.E6E6B16A47D@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit From: Adam J Richardson Subject: Re: freebsd-questions Digest, Vol 174, Issue 15 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fatman@nospam.crackmonkey.nospam.us List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Apr 2007 21:14:25 -0000 > Message: 7 > Date: Fri, 20 Apr 2007 10:51:58 -0500 > From: Drew Sanford > Subject: portupgrade failing, portsdb error > To: questions@freebsd.org > Message-ID: <4628E19E.405@wilderness.homeip.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > I get the following error: > > root@drew(/usr/ports)# portupgrade gnome-vfs > [Updating the portsdb in /usr/ports ... - 16885 port > entries found > .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000........ > ..... done] > [missing key: categories] [Updating the portsdb in > /usr/ports ... - 16885 port entries found > .........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000.........12000.........13000.........14000.........15000.........16000........ > ..... done] > missing key: categories: Cannot read the portsdb! Hi Drew, I've had this and the cause in my case was that portupgrade is out of date. In February the ports tree maintainers moved portupgrade from sysutils to ports-mgmt. That's the cause of "missing key: categories". Anyway, do this and see if it fixes the problem: cd /usr/ports/ports-mgmt/portupgrade make all install clean Hope this helps, Adam J Richardson