Hi Travis,

On Mon, Jan 31, 2011 at 12:29 PM,  <[email protected]> wrote:
> 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.

Try "pkg_info | grep pkgname".

> 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?

Covered in the FAQ:
http://www.openbsd.org/faq/faq4.html#FilesNeededX

--
Anthony J. Bentley

Reply via email to