Solaris 11 pkg update question


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris 11 pkg update question
# 1  
Old 08-03-2014
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 around it:

Code:
pkg update: No matching version of consolidation/java-7/java-7-incorporation can be installed:
  Reject:  pkg://solaris/consolidation/java-7/java-7-incorporation@1.7.0.65.17,5.11-0:20140625T004018Z
  Reason:  This version is excluded by installed incorporation pkg://solaris/entire@0.5.11,5.11-0.175.2.0.0.42.0:20140624T193832Z

I tried this, and this didn't appear to help:

Code:
~# pkg change-facet facet.version-lock.consolidation/java-7/java-incorporation=false
     Variants/Facets to change:  1
       Create boot environment: No
Create backup boot environment: No
Updating package state database                 Done
Updating package cache                           0/0
Updating image state                            Done
Creating fast lookup database                   Done
Reading search index                            Done
Updating search index                            0/0
Updating package cache                           1/1
root@DR1:~# pkg update -nv java-7-incorporation
No updates available for this image.

This is what I see what i do a pkg list, it shows 60 is installed, and 65 is available:

Code:
consolidation/java-7/java-7-incorporation         1.7.0.65.17-0              ---
consolidation/java-7/java-7-incorporation         1.7.0.60.19-0              i--

Any ideas? I'm updating right from the online repo from oracle, so i thought it would bring me up to the latest available version.

If anyone can provide some help it would be greatly appreciated.
# 2  
Old 08-14-2014
Hi

Try

Code:
pkg change-facet facet.version-lock.consolidation/java-7/java-7-incorporation=false

then it should work...

Regards.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

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 Replies)
Discussion started by: psychocandy
2 Replies

2. Solaris

How to install pkg lsof in Solaris 11?

hi downloaded the pkg and installed the pkg from root user .But still when i run command lsof and man lsof .No command found is the error. I tried by pkgadd -d (.pkg file). Please help me ---------- Post updated at 12:44 PM ---------- Previous update was at 12:41 PM ---------- This is what i... (8 Replies)
Discussion started by: chaithanyaa
8 Replies

3. Solaris

Recover Solaris 11 pkg database

Hi, I was messing with pkgsrc and wanted to start fresh so I manually deleted the /var/pkg directory on Solaris 11 :eek: (of course I was supposed to delete the /var/db folder instead)... Anyways... I've basically bricked the Solaris11 Package Manager. Do you know if there is any way to... (1 Reply)
Discussion started by: testers1717
1 Replies

4. 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

5. 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

6. 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

7. 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

8. 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

9. Solaris

Install Solaris pkg via web

here's a link shows how to install pkgs directly via http sat.lksf_sat_pkgweb.tex - Less known Solaris Features - wikis.sun.com (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies

10. UNIX for Dummies Questions & Answers

Question regarding Solaris 10 x86 Update.

:) I have question regarding Solaris 10 x86 Update ,does it require sunsolve account and if am using Solaris 10 x86 for learning ,how to get sunsolve account with out a contract number .i am very in need for this update . Please if any can help, help is highly appreciated :) (1 Reply)
Discussion started by: ibasit
1 Replies
Login or Register to Ask a Question