Installing / applying an IDR Pkg(patch) Using a .p5p in Solaris 11.x
First we need to get the list of packages included in the p5p
1 2 3 |
pkg list -g file:////var/tmp/idr793.1.p5p NAME (PUBLISHER) VERSION IFO idr793 1 --- |
Then install the patch / package
1 |
pkg install -g file:////var/tmp/idr793.1.p5p idr793 |
If the above steps is not working, then you might need to unset the soalris publisher and set the p5p s as your publisher, an example is below.
First unset the solaris repo
1 |
pkg unset-publisher -g "*" solaris |
Then set the IDR .p5p as your publisher
1 |
pkg set-publisher -p /var/tmp/idr793.1.p5p solaris |
Now you are ready to install / apply the IDR.
1 |
pkg install idr793 |
Note: Some times un-setting the Solaris repo is not necessary, then the below process will also work (especially if its not a solaris repo)
You might still need to Disable the publishers that are not reachable as package install may fail if any of the already added repositories are unreachable.
Adding a file-based repository on the Solaris system.
1 |
pkg set-publisher -p /tmp/install/idr931.1.p5p idr931.1 |
Then, install the required packages.
1 |
pkg install idr793 |
Once done, unset the temporarily publisher.
1 |
pkg unset-publisher idr931 |
Leave a Reply