The problem here seems to be that fmri.get_pkg_stem includes the publisher.
I've filed this bug:
http://defect.opensolaris.org/bz/show_bug.cgi?id=10690
For now, the simple workaround is to throw a * in front of the pkg name
you're searching for.
Brock
Shawn Walker wrote:
Amanda waite wrote:
Thanks for the reply.
Shawn Walker wrote:
See bug 10338.
Ok, but what does that give me? I don't want to search for packages
by publisher name, I want to search for packages irrespective of
publisher
Sorry, I misunderstood.
name, this is something that works for all packages where IPS package
name is the same as the legacy_pkg name but not otherwise.
I don't know of a way to do that.
You shouldn't rely on the package name being the same as the
legacy_pkg name anyway as the packages will be renamed 'soon' which
will mean that no package will have a name that matches its legacy_pkg
name.
`pkg search -l SUNWruby18` works fine when the package is installed
from the preferred publisher, but not when it's installed from
another publisher. Is that the expected behaviour? The only reason
`pkg search
Due to how the indexer currently works, yes. Is that how it should
work? I don't know.
There are a few bugs about package names and indexing.
Cheers,
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss