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
which-pkg-broke(1)						  debian-goodies						which-pkg-broke(1)

NAME
which-pkg-broke - find which package might have broken another SYNOPSIS
which-pkg-broke package DESCRIPTION
The which-pkg-broke program will retrieve a list of the named package and all its dependencies sorted by the time they were installed on the system (as determined from the mtime information of /var/lib/dpkg/info/*.list . This tool makes it possible for a system admin to obtain information that might correlate installation of package dependencies with a pack- age breakage in order to find which package update might be responsible for the breakage. EXAMPLES
This tool can be useful determine which package dependencies were upgraded more recently and might be associated with the bug that is being observed. For example, if aptitude stops working properly, an administrator can run: $ which-pkg-broke aptitude Package <libapt-pkg-libc6.3-5-3.3> has no install time info libdb1-compat Fri Aug 8 03:02:11 2003 libsigc++-1.2-5c102 Fri Aug 8 05:15:58 2003 aptitude Sun Jan 11 17:38:06 2004 libncurses5 Sun Jan 18 08:11:05 2004 libc6 Thu Jan 22 07:55:10 2004 libgcc1 Tue Jan 27 07:37:22 2004 gcc-3.3-base Tue Jan 27 07:37:31 2004 libstdc++5 Tue Jan 27 07:37:32 2004 So depending on exactly when the misbehaviour started, there may be a reason to point the finger at a more-recently updated library like libstdc++ or libncurses, which are more-recently installed than aptitude itself. SEE ALSO
rc-alert(1) AUTHOR
which-pkg-broke was written by Bill Gribble <grib AT billgribble.com> This manual page was written by Javier Fernandez-Sanguino for the Debian GNU/Linux distribution. debian-goodies July 24 2006 which-pkg-broke(1)
All times are GMT -4. The time now is 04:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy