I'm running my own repository of the on-ips stuff for the zfs-crypto project (internally to SWAN only at this time as opensolaris.org doesn't provide per project IPS repos yet).

pkg versio is the same on the client and server.

borg-nas# pkg version
6753a4a480ef

borg-nas# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
zfs-crypto (preferred) origin online http://portellen.sfbay:13000/ opensolaris.org origin online http://ipkg.sfbay/on-nightly/ opensolaris.org mirror online http://netinstall.sfbay:180/

Why do I have to explicitly refresh after publishing a new version of a package to my repo [ which is on a remove machine ] ?

borg-nas# pkg install SUNWzfs
No updates necessary for this image.

I don't see any thing in the pkg.depotd stdout log at this point and snoop doesn't show any traffic either.

borg-nas# pkg refresh

pkg.depotd shows a catalog being fetched.


However I need to actually restart pkg.depotd and again do 'pkg refresh'
before I get an install to work.

borg-nas# pkg install SUNWzfs
PHASE                                        ACTIONS
Update Phase                                     1/1
PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                                1/1

This is confusing since there is a --no-refresh option of 'pkg install' which implies that the refresh is implicit.

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

Reply via email to