Pkg update 11.2


 
Thread Tools Search this Thread
Operating Systems Solaris Pkg update 11.2
# 1  
Old 04-10-2018
Pkg update 11.2

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?
# 2  
Old 04-11-2018
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.

Code:
/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
# 3  
Old 04-12-2018
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 :
Code:
pkg list -af entire

And issuing
Code:
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.
This User Gave Thanks to Peasant For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

# pkg publisher gives bash: pkg: command not found

This is the operating system im using Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC I need to install some packages by setting local repository While i run the below command # pkg publisher command returns bash: pkg: command not found while looking for /usr/bin/pkg i get bash:... (2 Replies)
Discussion started by: babinlonston
2 Replies

2. Solaris

Pkg update: No solution was found to satisfy constraints

I have an x86 Solaris box running 11.2 and have run into the following issue when attempting to run a package update. Has anyone else come across this issue and resolved it successfully, or am I waiting on Oracle to release other updated packages? uname -a SunOS <hostname> 5.11 11.2... (13 Replies)
Discussion started by: nova_cyclist
13 Replies

3. Solaris

Solaris 11 pkg update question

Hi, I am trying to update my Solaris 11 system's Java 7 version to 1.7.0.65. I tried to do a pke update, and it only updated it to version 60. When I do a pkg list or search, i can see 65 is available but it wont update to it. I am getting this error, and I do not know how to get... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

4. Solaris

Pkg update from a local repos

I have a local repos on my dev/tst server. pkg server is online and I can query against it on the local server and any LDOMS and zones hosted on the same server. I have another identical Solaris server that should be accessing the pkg repos via the local network. showmount -e from the local (but... (0 Replies)
Discussion started by: os2mac
0 Replies

5. Solaris

Pkg problem, one zone trying pkg.Oracle.com on port 1008

Hi Solaris Experts, The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies

6. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

7. Solaris

137481-02 pkg

can anyone download this solaris pkg and email to me, it wont let me download it anymore from sunsolve. 137481-02 (1 Reply)
Discussion started by: dan7225
1 Replies

8. Solaris

pkg-get errors

To day i installed boltpkg, hiow ever when i run either a pkg-get install or a pkg-get -u pkg-get re turns the following errors. pkg-get -u WARNING: no catalog file for site ftp.sunfreeware.com Updating catalog file first Getting catalog... ld.so.1: wget: fatal: libssl.so.0.9.8: open... (3 Replies)
Discussion started by: FloridaBSD
3 Replies

9. Solaris

pkg - updateable packages

Hello, I'm creating some installation packages for Solaris 9 and I wonder whether or not the Solaris pkg system support update operation. Creating Solaris Packages says But I havent found out how update works. Like in debian packages, I'd like to detect in the "preinstall" script that... (0 Replies)
Discussion started by: Tex-Twil
0 Replies

10. Solaris

pkgadd pkg to an new directory

hi guys, I am wondering instead installing to the default directory, how can I install a package using pkgadd command to a specified directory? I am using solaris 9, thanks (1 Reply)
Discussion started by: fedora
1 Replies
Login or Register to Ask a Question