Lacking Natural Simplicity

Random musings on books, code, and tabletop games.

NetBSD: pkg_add: Error: package `emacs-24.0.50.20110821' was built with a newer pkg_install version

I did a fresh install of NetBSD 5.1.2 and tried to install emacs:

# pkg_add emacs
pkg_add: Error: package `emacs-24.0.50.20110821' was built with a newer pkg_install version
pkg_add: 1 package addition failed

So I installed pkgsrc and did a make install in /usr/pkgsrc/pkgtools/pkg_install.

Then I added /usr/pkg/sbin:/usr/pkg/bin to the front of my path, and tried again. That seemed to work.

Print Friendly and PDF

Comments

Comments powered by Disqus