Sponsored Content
Operating Systems Solaris Solaris 11 pkg update question Post 302911821 by BG_JrAdmin on Sunday 3rd of August 2014 05:51:19 PM
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.
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
pkg::create(n)						       Tcl Built-In Commands						    pkg::create(n)

__________________________________________________________________________________________________________________________________________________

NAME
pkg::create - Construct an appropriate 'package ifneeded' command for a given package specification SYNOPSIS
::pkg::create -name packageName -version packageVersion ?-load filespec? ... ?-source filespec? ... _________________________________________________________________ DESCRIPTION
::pkg::create is a utility procedure that is part of the standard Tcl library. It is used to create an appropriate package ifneeded com- mand for a given package specification. It can be used to construct a pkgIndex.tcl file for use with the package mechanism. OPTIONS
The parameters supported are: -name packageName This parameter specifies the name of the package. It is required. -version packageVersion This parameter specifies the version of the package. It is required. -load filespec This parameter specifies a binary library that must be loaded with the load command. filespec is a list with two elements. The first element is the name of the file to load. The second, optional element is a list of commands supplied by loading that file. If the list of procedures is empty or omitted, ::pkg::create will set up the library for direct loading (see pkg_mkIndex). Any num- ber of -load parameters may be specified. -source filespec This parameter is similar to the -load parameter, except that it specifies a Tcl library that must be loaded with the source com- mand. Any number of -source parameters may be specified. At least one -load or -source parameter must be given. SEE ALSO
package(n) KEYWORDS
auto-load, index, package, version Tcl 8.3 pkg::create(n)
All times are GMT -4. The time now is 04:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy