[OmniOS-discuss] Error attempting to switch to OpenSSH on r151014 or r151018

Eric Sproul eric.sproul at circonus.com
Mon Jun 13 17:35:40 UTC 2016


On Mon, Jun 13, 2016 at 1:23 PM, Volker A. Brandt <vab at bb-c.de> wrote:
> BTW my 151016 system has the file, and SUNWcs is properly installed,
> but "pkg search /etc/ftpd" or "pkg search /etc/ftpd/ftpusers" do not
> show any output, even after a "pkg rebuild-index".  Strange.

Paths are relative because packages are relocatable, so I usually
search for a basename if it's relatively unambiguous.  `pkg search
ftpusers` should work, and return both a file and a softlink.  Note
that "basename" is a virtual attribute that doesn't actually appear in
the pkg manifest, but is synthesized by the client, based on the last
element of the path value.

This is on my 014 install:

$ pkg search ftpusers
INDEX      ACTION VALUE             PACKAGE
basename   file   etc/ftpd/ftpusers pkg:/SUNWcs at 0.5.11-0.151014
basename   link   etc/ftpusers      pkg:/SUNWcs at 0.5.11-0.151014

Using the full set of search fields also works, though I've never
understood why I need the '*' at the beginning of the path value:

$ pkg search 'file:path:*etc/ftpd/ftpusers'
INDEX      ACTION VALUE             PACKAGE
path       file   etc/ftpd/ftpusers pkg:/SUNWcs at 0.5.11-0.151014

Eric


More information about the OmniOS-discuss mailing list