Sorry, missed including the rest of the list in this response:

Hi Rafael,

I believe a working/functional definition of a pkg authority is the repository(s) you trust to provide you with packages. When you do pkg image-create, you'll need to provide an authority for it to use. I think that using http://localhost:12000 as the url for your authority will let you access a local repo.

I hope that helps,
Brock

Rafael Vanoni wrote:
Hi everyone

I'm working on creating an IPS package for PowerTOP (http://opensolaris.org/os/project/tesla/Work/Powertop/), and I've followed Michal Pryc's presentation on how to set up a local repository but am running into a little problem.

/sandbox/ips/pkg/src :  pkg list -av

Traceback (most recent call last):
   File "/usr/bin/pkg", line 1440, in ?
     ret = main_func()
   File "/usr/bin/pkg", line 1402, in main_func
     return list_inventory(img, pargs)
   File "/usr/bin/pkg", line 153, in list_inventory
     img.load_catalogs(progress.NullProgressTracker())
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 849, in load_catalogs
     for auth in self.gen_authorities():
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 239, in gen_authorities
     raise RuntimeError, "no defined authorities"
RuntimeError: no defined authorities
/sandbox/ips/pkg/src :

This is on snv88 with a clone of today's pkg source.

What's the definition of a pkg authority and how would I set it for a local repo ?

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


--- Begin Message ---
Hi Rafael,

I believe a working/functional definition of a pkg authority is the repository(s) you trust to provide you with packages. When you do pkg image-create, you'll need to provide an authority for it to use. I think that using http://localhost:12000 as the url for your authority will let you access a local repo.

I hope that helps,
Brock

Rafael Vanoni wrote:
Hi everyone

I'm working on creating an IPS package for PowerTOP (http://opensolaris.org/os/project/tesla/Work/Powertop/), and I've followed Michal Pryc's presentation on how to set up a local repository but am running into a little problem.

/sandbox/ips/pkg/src :  pkg list -av

Traceback (most recent call last):
   File "/usr/bin/pkg", line 1440, in ?
     ret = main_func()
   File "/usr/bin/pkg", line 1402, in main_func
     return list_inventory(img, pargs)
   File "/usr/bin/pkg", line 153, in list_inventory
     img.load_catalogs(progress.NullProgressTracker())
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 849, in load_catalogs
     for auth in self.gen_authorities():
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 239, in gen_authorities
     raise RuntimeError, "no defined authorities"
RuntimeError: no defined authorities
/sandbox/ips/pkg/src :

This is on snv88 with a clone of today's pkg source.

What's the definition of a pkg authority and how would I set it for a local repo ?

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



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

Reply via email to