Binary package upgrade issue

I’ve noticed that if you have older pkgsrc packages installed, and install binary packages for pkgsrc-2010Q2, those packages will refuse to install if pkg_install is an older version than what they were built with.

I ended up force-deleting pkg_install and bmake, and reinstalling by running pkgtools/bootstrap/bootstrap.  There may be better solutions; I’m mentioning it now since it’s a known problem.

Update: “bmake replace USE_DESTDIR=yes” was suggested by Joerg Sonnenberger.  “pkg_add -u /path/to/newer/pkg_install” should also work (untested).

This will probably apply to the upcoming pkgsrc-2010Q3, too.  Building from source is a workaround for now.

Crater disk craters

A hard disk in crater.dragonflybsd.org, where the repo for DragonFly source is located, died last night.  The disk has been replaced, and the files should all be back in place later today.  Double-check if you committed something in the last 24 hours and make sure it’s there, just to be safe.

rpkgmanager, a want-list based pkgsrc manager

Some time ago, there was an application called pkgmanager, available in pkgsrc-wip.   It worked by tracking ‘wanted’ packages in pkgsrc, and upgrading based on that list.  It hasn’t been updated in some time, however, and may not even build.

‘Rumko’ has written a replacement, called rpkgmanager.   The Gitorious page linked in the previous sentence includes the URL to download the code via Git, so it’s available to try now even though it’s not yet in pkgsrc.

Lazy reading: toeplitz, forking, curating, Nethack

I totally meant to post this yesterday.  Oops!