I published a package named temppkg to the repository:
FMRI: pkg:/[email protected],5.11:20100609T102803Z

Then created an image and installed the package:
pkg set-publisher -P -O http://localhost:10009 dummypublisher
pkg image-create -F -p dummypublisher=http://localhost:10009 /opt/subru/
spa...@opensolaris:~# pkg refresh dummypublisher
spa...@opensolaris:~# pkg -R /opt/subru/ install temppkg
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1         2/2     0.00/0.00

PHASE                                        ACTIONS
Install Phase                                    6/6
PHASE                                          ITEMS
Reading Existing Index                           8/8
Indexing Packages                                1/1
spa...@opensolaris:~#

spa...@opensolaris:~# ls /opt/subru/testpackage/
file1  file2
spa...@opensolaris:~#


Then updated the package(added a new file) and published it to repository.
FMRI: pkg:/[email protected],5.11:20100609T105310Z

Then again executed "pkg install" command to update the package, but its
prompting "No updates available for this image".
spa...@opensolaris:~# pkg set-publisher -P -O
http://localhost:10009dummypublisher
spa...@opensolaris:~# pkg refresh dummypublisher
spa...@opensolaris:~# pkg -R /opt/subru/ install temppkg
No updates available for this image.
spa...@opensolaris:~#

I think it should update the package(i.e. add the newly added file). Please
suggest why the update is not performed? Am I missing any steps?
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to