On Mon, Jan 31, 2011 at 13:29, <tra...@subspacefield.org> wrote: > Hey all, > > I have a script to sort of kickstart an installation after doing a > bare install of OpenBSD, and it's designed to be idempotent (won't > hurt to run it several times). > > Currently I install some packages, but that's a bit of a time-waster > in that it will reinstall. B Is there a way I can test for whether a > package has been installed already, given only the package name, and > not necessarily the executable name (if there is one)? B I tried > pkg_info and the exit code is zero even if the package isn't > installed. > > Also, I've noticed that if I don't have X11 installed, I can't seem to > install certain packages (such as subversion) and certain ports > (EMACS, and even if I set FLAVOR=no_x11). B What's up with that?
You still need xbase for some instances, even if you specify no_x11. I seem to remember that python needs some libs that are in xbase, even if X is not used.