On 06/14/11 10:52, Joe Higgins wrote:
On 06/14/2011 01:15 PM, Shawn Walker wrote:
On 06/13/11 17:59, [email protected] wrote:
Hi Folks,

I dont seem to be able to get all versions/variants of a pkg with the -g
option to specify a particular repository:

pkg list -af -g
/opsCenter/IPS/37f71a16-586c-48b7-b255-ef24a7a07388/data/ '*vidtune*'
NAME (PUBLISHER) VERSION STATE UFOXI
x11/xvidtune (solaris) 1.0.2-0.151 known u----


The repo seems to contain all the versions --

ls
/opsCenter/IPS/37f71a16-586c-48b7-b255-ef24a7a07388/data/publisher/solaris/pkg/*vidtune*


1.0.2%2C5.11-0.151%3A20101026T201502Z
1.0.2%2C5.11-0.160%3A20110226T124226Z
1.0.2%2C5.11-0.152%3A20101112T210742Z
1.0.2%2C5.11-0.161%3A20110315T111840Z
1.0.2%2C5.11-0.153%3A20101119T011658Z
1.0.2%2C5.11-0.162%3A20110325T235736Z
1.0.2%2C5.11-0.154%3A20101203T211952Z
1.0.2%2C5.11-0.163%3A20110410T135802Z
1.0.2%2C5.11-0.155%3A20101221T033931Z
1.0.2%2C5.11-0.164%3A20110422T235803Z
1.0.2%2C5.11-0.156%3A20101231T034655Z
1.0.2%2C5.11-0.165%3A20110510T131034Z
1.0.2%2C5.11-0.157%3A20110115T022634Z
1.0.2%2C5.11-0.166%3A20110522T205043Z
1.0.2%2C5.11-0.158%3A20110128T012612Z
1.0.2%2C5.11-0.167%3A20110605T085716Z
1.0.2%2C5.11-0.159%3A20110214T101143Z

Am I using this command incorrectly?

No, but this seems to be working just fine now with the same
repository you're using.
I had to relocate the repo this AM.

The one with the issue is at /opsCenter/data.

Please note when I run pkg list -af -g /opsCenter/data '*xvid*'

I am getting

File "/usr/lib/python2.6/vendor-packages/pkg/client/publisher.py", line
1476, in __refresh_v1
raise api_errors.MismatchedCatalog(self.prefix)
MismatchedCatalog: The content of the catalog for publisher 'solaris'
doesn't match the catalog's attributes. This is likely the result of a
mix of older and newer catalog files being provided for the publisher.


pkg: This is an internal error in pkg(5) version 759f5da48062. Please
let the
developers know about this problem by including the information above (and
this message) when filing a bug at:

https://defect.opensolaris.org/bz/enter_bug.cgi?product=pkg&component=cli

That suggests (as I mentioned earlier) a problem with the package catalog.

You'll have to rebuild it with a 167 system.  I don't need to inspect it.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to