On Sun, 09 Nov 2008 05:38:53 -0800
Danek Duvall <Danek.Duvall at Sun.COM> wrote:

> On Sun, Nov 09, 2008 at 01:39:31AM -0800, Terence Ng wrote:
> 
> > I have just installed OpenSolaris 2008.05, and have
> > pfexec pkg refresh
> > pfexec pkg install SUNWipkg at 0.5.11-0.86
> > pfexec pkg install entire at 0.5.11-0.86
> > 
> > How come there is no response when I:
> > pfexec pkg search SUNWapch22
> > 
> > Do I have to install it to use the search command?
> > Do I have to image-update to get Apache2.2?
> 
> "pkg search" operates only on installed packages.  If you add the -r
> option, it will perform the search on the depots indicated by your
> authorities, so "pkg search -r SUNWapch22" should work.
> 
> Note that
> 
>   - "pkg search" (with or without -r) doesn't require privilege, so
> the pfexec is unnecessary
> 
>   - "pkg list -a" will tell you about all packages your authorities
> know about, and with an argument of one or more package names ("pkg
> list -a SUNWapch22"), it'll tell you what versions it's available
> under.


Hi Danek,
I haven't been able to figure this out for myself yet,
so quick question - can you set up an SXCE dvd as a
depot and upgrade from it?

thanks in advance,
James
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog

Reply via email to