Sponsored Content
Operating Systems Solaris How to remove pkg from zone in newly created boot environment? Post 303035450 by samthewildone on Friday 24th of May 2019 11:23:27 AM
Old 05-24-2019
[SOLVED] How to remove pkg from zone in newly created boot environment?

fyi, I already have SR opened with Oracle.

We are looking to upgrade from S11.3 to S11.4 with the latest SRU.

Create new BE; success
Mount new BE; success
Code:
 pkg -R /mnt update

the updating of the global went fine until it touched local zone.

Code:
pkg: update failed (linked image exception(s)):

 

A 'sync-linked' operation failed for child 'zone:XYZ with an unexpected

return value of 1 and generated the following output:

 

pkg sync-linked: Package 'release/constraint/solaris-11.3' must be uninstalled or upgraded if the requested operation is to be performed.

  Reject:  pkg://solaris/release/constraint/solaris-11.3@0

  Reason:  No version matching 'incorporate' dependency entire@0.5.11,5.11-0.175.3 can be installed

    ----------------------------------------

    Reject:  pkg://solaris/entire@0.5.11-0.175.3.35.0.6.0

    Reason:  Global zone has a newer version: pkg://solaris/entire@11.4,5.11-11.4.8.0.1.5.0:20190409T171550Z

I already attempted to uninstall the package from the newly created
boot environment but that didn't work. I did it with the command below;
Code:
 pkg -R /mnt uninstall /release/constraint/solaris-11.3

Any suggestions, I'll give you a piece of candySmilie

Last edited by samthewildone; 05-24-2019 at 01:53 PM.. Reason: Solved
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to keep appending a newly created file based on some keywords

Hi Friends, I have to create a new log file everyday and append it with content based on some keywords found in another log file. Here is what I have tried so far... grep Error /parentfolder/someLogFile.log >> /parentfolder /Archive/"testlogfile_error_`date '+%d%m%y'`.txt" grep error... (6 Replies)
Discussion started by: supreet
6 Replies

2. Solaris

Update single zone in alternate boot environment.

I 'm having a weired situation my system has 8 zones, running fine on solaris x86_u4. I installed the live upgrade bundle patch and did a live upgrade. The new BE was created but it missed one of the zone and now if i mount the new BE i do not see that zone in the environment so my question is how... (3 Replies)
Discussion started by: fugitive
3 Replies

3. Shell Programming and Scripting

How to find the newly created directory

Hi, I need to create new directory by increasing the number by 1 of extracted lastly created directory. e.g. Log\out_log_1\ Log\out_log_2\ Log\out_log_3\ become Log\out_log_1\ Log\out_log_2\ Log\out_log_3\ Log\out_log_4\ Can anyone help how to do it in c-shell... (3 Replies)
Discussion started by: Andre_2008
3 Replies

4. Shell Programming and Scripting

sftp - get newly created files on incremental basis

Hi, We have a sftp server which creates files daily and keeps 6 months of files on the server. We are creating a daily job to get the files and load into database. My problem is "how to get ONLY those files which got created after my last get". Let me provide some more details to it. Below... (15 Replies)
Discussion started by: ravi.videla
15 Replies

5. UNIX for Advanced & Expert Users

default size of a newly created folder

Hi all, In linux how to create a directory with specified size, so that it can be used only up to the mentioned size. Actually my question is, whether we can do directory quota in linux. mounting the directory in a partiton will do that, but do we have any other option... (1 Reply)
Discussion started by: anishkumarv
1 Replies

6. Solaris

Can't see Newly created LUN by SAN admin

hello, i am an oracle DBA and trying to scan a newly created LUN of 200 GB on fiber channel by SAN admin.we have solaris 10 and SANtoolkit is installed.i tried following to get the new LUN at my machine. go /opt/Netapp/Santoolkit/bin and then ./sanlun lun show but i see only the existing... (12 Replies)
Discussion started by: janakors
12 Replies

7. Shell Programming and Scripting

Copy an array to a newly created directory

hello everyone, I am new to perl script and trying to develop a script as follows. I am trying to Create an array for storing all file names. I am trying to copy $libs into "scratch". however i am unable to do so. Please suggest.. #!/usr/bin/perl use File::Copy; #use... (5 Replies)
Discussion started by: Rashid Khan
5 Replies

8. Hardware

Formatting a newly created lun

Hi , I have created one new lun in my SAN storage and make it visible to my HP servers , but the fdisk -l output is somehow confusing. Do not know what to do next ---------- fdisk -l /dev/sdo1 Disk /dev/sdo1 (Sun disk label): 64 heads, 32 sectors, 10238 cylinders Units =... (7 Replies)
Discussion started by: mishra.sankar
7 Replies

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

10. AIX

No iscsi available in newly created AIX wpar

AIX 7.1 New to WPAR, hopefully just missing something simple here. Creating the WPAR like this..... (The box where the WPAR is hosted does have an iscsi protocol device) mkwpar -h wpar08 -l -n wpar08 -N interface=en0 address=xxx.xx.xx.xxx netmask=255.255.255.0 -D devname=/dev/iscsi0 -D... (0 Replies)
Discussion started by: TomR
0 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 03:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy