How to fix corrupt package info?

Doug Barton dougb at FreeBSD.org
Thu Oct 26 07:40:14 UTC 2006


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


More information about the freebsd-ports mailing list