Got a repo server with a combined 11.2/11.3 repository.
I want to update latest security patches on server A (which is 11.2). I dont want to upgrade to 11.3 (app reasons).
If I do pkg update all - is there any danger this will happen? If so, how to proceed?
gull04
April 11, 2018, 6:21am
2
Hi,
When you say a combined repo, do you mean that you have both sets of packages in the repo directory?
As far as I can see (I'm currently in the process of setting up a repo) you would have a directory structure with individual repo's at the end of it like.
/var/share/pkg/repositories/sol-11_3-repo
/var/share/pkg/repositories/sol-11_2-repo
And under each of them you would have the packages in a standard directory structure.
Regards
Gull04
You can have all the releases in one repository.
Personaly, i keep repository per one release (as gull mentioned)
Select the entire release number from the output of command :
pkg list -af entire
And issuing
pkg update --accept entire@<release from list above you wish to upgrade to>
Will update your Solaris release to that specific release.
A regular pkg update --accept
will update to the latest version present in the repository.
Hope that helps
Regards
Peasant.
1 Like