I want to install EMCpower (EMC Powerpath package) in Solaris 11. At most of the places, I can see procedure to install packages which comes with repository.
This is third party tool, I have downloaded it to /var/tmp. How should I install it ?
root@orapdps11 # pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///export/reposolaris11/
root@orapdps11 # ls -l /var/tmp/EMCpower
total 5
-rw-r--r-- 1 29080 43093 85 Jun 18 2012 pkg5.repository
drwxr-xr-x 3 29080 43093 3 Jun 18 2012 publisher
root@orapdps11 #
root@orapdps11 # ls -l /var/tmp/EMCpower/publisher/
total 3
drwxr-xr-x 7 29080 43093 7 Jun 18 2012 emc.com
root@orapdps11 # ls -l /var/tmp/EMCpower/publisher/emc.com/
total 19
drwxr-xr-x 2 29080 43093 7 Jun 18 2012 catalog
drwxr-xr-x 142 29080 43093 142 Jun 18 2012 file
drwxr-xr-x 3 29080 43093 3 Jun 18 2012 pkg
drwxr-xr-x 2 29080 43093 3 Jun 18 2012 tmp
drwxr-xr-x 2 29080 43093 2 Jun 18 2012 trans
root@orapdps11 # pkg set-publisher -g file:/var/tmp/EMCpower/publisher emcpower
pkg set-publisher: The origin URIs for 'emcpower' do not appear to point to a valid pkg repository.
Please verify the repository's location and the client's network configuration.
Additional details:
Unable to contact valid package repository
Encountered the following error(s):
Transport errors encountered when trying to contact repository.
Reported the following errors:
file protocol error: code: 22 reason: The path '/var/tmp/EMCpower/publisher' does not contain a valid package repository.
Repository URL: 'file:///var/tmp/EMCpower/publisher'.
root@orapdps11 #
Added part:
Just for clarification.
I wasn't sure the exact path to repo, because I didn't have access to server.
But I've checked and the shorter path should work too.
It looks like the directory with pkg5.publisher file should be used. That file describes repository.
With argument - p there is no need to write prefix in command line. System probably reads that information from pkg5.publisher.