On Fri, Jan 22, 2010 at 05:27:39AM +0100, Song Li wrote: > Hi: > > I am really a newbie on OpenBSD. So my question might look stupid to you. > > I am using the current release 4.6 installed from the file > install46.iso on ftp://openbsd.ftp.fu-berlin.de/pub/OpenBSD/4.6/i386/ > > Have anyone encountered any problem using pkg_info, pkg_add, etc.? > They do not seem working to me. > > Take a simplest example, when I checked pkg_info, the man page says: > ... > -A Show information for all currently installed packages, > including internal packages > ... > but when I typed "pkg_info -A", it does not return anything. Just > silently back to the commond line prompt. Similarly, "-a" does not > work either. > > > I also tryed "pkg_info man46.tgz", "pkg_info -L man46.tgz" and none of > them gave me any response. (with man46.tgz in the current directory)
Base tarballs are not managed with the pkg_* tools. I can see why you made that assumption, but your assumption is incorrect; pkg_* only deals with precompiled 3rd-party software.