From owner-freebsd-ports@FreeBSD.ORG Thu Oct 26 07:40:14 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7152716A412 for ; Thu, 26 Oct 2006 07:40:14 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.FreeBSD.org (Postfix) with SMTP id C25E143D49 for ; Thu, 26 Oct 2006 07:40:13 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 14439 invoked by uid 399); 26 Oct 2006 07:40:12 -0000 Received: from localhost (HELO ?192.168.0.8?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 26 Oct 2006 07:40:12 -0000 Message-ID: <4540662B.2030404@FreeBSD.org> Date: Thu, 26 Oct 2006 00:39:23 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: Indigo 23 References: <6f50eac40610252351y341d61e5hc3f4518311366fd8@mail.gmail.com> In-Reply-To: <6f50eac40610252351y341d61e5hc3f4518311366fd8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: How to fix corrupt package info? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 07:40:14 -0000 Indigo 23 wrote: > I was recently running portupgrade after my computer locked up twice > (and both times I did fsck), and I noticed some errors about package > info being corrupt. find /var/db/pkg -type d -exec chmod 755 {} \; find /var/db/pkg -type f -exec chmod 644 {} \; That should fix it up for you. If it doesn't, you have much bigger problems. hth, Doug -- This .signature sanitized for your protection