pkdgb and corrupted record(s)

Kurt Buff kurt.buff at
Fri Aug 12 19:15:31 UTC 2011

On Fri, Aug 12, 2011 at 11:15, Warren Block <wblock at> wrote:
> On Fri, 12 Aug 2011, Kurt Buff wrote:
>> This seems fairly benign so far, but I find it happening on several
>> machines after switching from portupgrade to portmaster. Don't know if
>> that switch is actually part of the issue or not, though I'm really
>> liking portmaster.
> I'd never seen it with portupgrade, either.  Don't know the cause, but it
> can be a problem.  portmaster --check-depends might fix it.  A more
> brute-force way is to figure out which are the problems with
> find /var/db/pkg -name "+CONTENTS" -exec egrep -B1 -H 'pkgdep $' {} \;
> Then rebuild all of them by feeding the list to portmaster, which will sort
> them and rebuild in the right order to fix it.

I did a 'make deinstall clean' and 'make install' on those packages,
and all is happy now.



More information about the freebsd-questions mailing list