HEADS UP for portmaster users: Mandatory upgrade

Mark Kane mark at mkproductions.org
Tue Aug 7 08:48:30 UTC 2007

On Sun, Aug 05, 2007, at 21:28:10 -0700, Doug Barton wrote:
> For the ones where there are still files in the pkg directory,
> "corrupted" usually means that the permissions are wrong on those
> files. Try this:
> chown -R root:wheel /var/db/pkg
> find /var/db/pkg -type d -exec chmod 755 {} \;
> find /var/db/pkg -type f -exec chmod 644 {} \;
> That should fix you up.
> For those ports I'm afraid the only way to reliably reproduce the pkg
> data is to rebuild and reinstall. If you don't use too many weird
> options you could probably get away with downloading the packages and
> using the pkg data from those. Then the next time you use portmaster
> to update those ports it will properly rebuild the pkgdep and
> +REQUIRED_BY stuff.
> hope this helps,
> Doug

The permissions change had no effect but reinstalling those ports seems
to have worked fine :).



Internet Radio:
Party107 (Trance/Electronic) - http://www.party107.com
Rock 101.9 The Edge (Rock) - http://www.rock1019.net

MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941)

More information about the freebsd-ports mailing list