Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Oct 2006 00:39:23 -0700
From:      Doug Barton <dougb@FreeBSD.org>
To:        Indigo 23 <indigo23@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: How to fix corrupt package info?
Message-ID:  <4540662B.2030404@FreeBSD.org>
In-Reply-To: <6f50eac40610252351y341d61e5hc3f4518311366fd8@mail.gmail.com>
References:  <6f50eac40610252351y341d61e5hc3f4518311366fd8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4540662B.2030404>