I am reproducing it now.

root@x4470a:/opt# pkgadd -d .

The following packages are available:
  1  SUNWj7cfg              JDK 7.0 Host Config. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  2  SUNWj7dev              JDK 7.0 Dev. Tools (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  3  SUNWj7dmo              JDK 7.0 Demo Programs (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  4  SUNWj7jmp              JDK 7.0 Man Pages: Japan (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  5  SUNWj7man              JDK 7.0 Man Pages (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  6  SUNWj7rt               JDK 7.0 Runtime Env. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  7  SUNWjavadb-client      Java DB client
                            (i386) 10.6.2,REV=2010.10.29
  8  SUNWjavadb-common      Java DB common files
                            (i386) 10.6.2,REV=2010.10.29
  9  SUNWjavadb-core        Java DB core
                            (i386) 10.6.2,REV=2010.10.29
 10  SUNWjavadb-demo        Java DB demo
                            (i386) 10.6.2,REV=2010.10.29

... 3 more menu choices to follow;
<RETURN> for more choices, <CTRL-D> to stop display:

 11  SUNWjavadb-docs        Java DB documentation
                            (i386) 10.6.2,REV=2010.10.29
 12  SUNWjavadb-javadoc     Java DB javadoc
                            (i386) 10.6.2,REV=2010.10.29
 13  SUNWjavadb-service     Java DB service management
                            (i386) 10.6.2,REV=2010.10.29

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: q
root@x4470a:/opt#
root@x4470a:/opt# script addpkg-jdk7
Script started, file is addpkg-jdk7
root@x4470a:/opt# pkgadd -d .

The following packages are available:
  1  SUNWj7cfg              JDK 7.0 Host Config. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  2  SUNWj7dev              JDK 7.0 Dev. Tools (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  3  SUNWj7dmo              JDK 7.0 Demo Programs (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  4  SUNWj7jmp              JDK 7.0 Man Pages: Japan (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  5  SUNWj7man              JDK 7.0 Man Pages (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  6  SUNWj7rt               JDK 7.0 Runtime Env. (1.7.0)
                            (i386) 1.7.0,REV=2011.06.27.03.37
  7  SUNWjavadb-client      Java DB client
                            (i386) 10.6.2,REV=2010.10.29
  8  SUNWjavadb-common      Java DB common files
                            (i386) 10.6.2,REV=2010.10.29
  9  SUNWjavadb-core        Java DB core
                            (i386) 10.6.2,REV=2010.10.29
 10  SUNWjavadb-demo        Java DB demo
                            (i386) 10.6.2,REV=2010.10.29

... 3 more menu choices to follow;
<RETURN> for more choices, <CTRL-D> to stop display:

 11  SUNWjavadb-docs        Java DB documentation
                            (i386) 10.6.2,REV=2010.10.29
 12  SUNWjavadb-javadoc     Java DB javadoc
                            (i386) 10.6.2,REV=2010.10.29
 13  SUNWjavadb-service     Java DB service management
                            (i386) 10.6.2,REV=2010.10.29

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance <SUNWj7cfg> from </opt>

JDK 7.0 Host Config. (1.7.0)(i386) 1.7.0,REV=2011.06.27.03.37
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
Using </> as the package base directory.
## Processing package information.
## Processing system information.
   1 package pathname is already properly installed.
## Verifying package dependencies.
WARNING:
    The <SUNWmfrun> package "Motif RunTime Kit" is a
    prerequisite package and should be installed.

Do you want to continue with the installation of <SUNWj7cfg> [y,n,?]
-----Original Message-----
From: Johnny Liu
Sent: Thursday, January 24, 2013 6:57 PM
To: 'Jordan Brown'
Subject: RE: [smf-discuss] Oracle smf bootadm gurus please help me

Let me reproduce it now.


root@x4470a:/# beadm list
BE               Active Mountpoint Space  Policy Created
--               ------ ---------- -----  ------ -------
solaris          -      -          18.29G static 2012-08-03 09:03
solaris-backup-1 -      -          48.15M static 2012-08-03 09:44
solaris-backup-2 -      -          8.42M  static 2012-08-03 10:05
solaris-backup-3 -      -          2.06G  static 2013-01-22 16:06
solaris-backup-4 NR     /          5.32G  static 2013-01-23 18:46
root@x4470a:/#
root@x4470a:/#
root@x4470a:/# beadm mount solaris-backup-3 /mnt root@x4470a:/# cd /mnt 
root@x4470a:/mnt# cd opt root@x4470a:/mnt/opt# ls -l jdk-7-solaris-i586.tar
-rw-r--r--   1 root     root     269544960 Jan 23 17:24 jdk-7-solaris-i586.tar
root@x4470a:/mnt/opt# cp jdk-7-solaris-i586.tar /opt/.
root@x4470a:/mnt/opt# cd /
root@x4470a:/# cd opt
root@x4470a:/opt# ls
jdk-7-solaris-i586.tar
root@x4470a:/opt# beadm unmount solaris-backup-3 tar -xvf ...

root@x4470a:/opt# ls -l
total 527584
-r--r--r--   1 10       143         3339 Jun 27  2011 COPYRIGHT
-rw-r--r--   1 root     root     269544960 Jan 24 19:03 jdk-7-solaris-i586.tar
-r--r--r--   1 10       143           40 Jun 27  2011 LICENSE
-r--r--r--   1 10       143        22272 Jun 27  2011 README.html
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7cfg
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7dev
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7dmo
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7jmp
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7man
drwxr-xr-x   4 10       143            6 Jun 27  2011 SUNWj7rt
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-client
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-common
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-core
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-demo
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-docs
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-javadoc
drwxr-xr-x   4 10       143            6 Oct 28  2010 SUNWjavadb-service
-r--r--r--   1 10       143       172135 Jun 27  2011 
THIRDPARTYLICENSEREADME.txt
root@x4470a:/opt#




-----Original Message-----
From: Jordan Brown [mailto:[email protected]]
Sent: Thursday, January 24, 2013 6:42 PM
To: Johnny Liu
Cc: [email protected]; [email protected]; 
[email protected]
Subject: Re: [smf-discuss] Oracle smf bootadm gurus please help me

On 01/24/13 11:42, Johnny Liu wrote:
> Surprisingly the smf seems to be quite fragile in this respect.

 From the errors you're reporting, major parts of your system are missing.
  I don't blame SMF in the slightest for complaining.  I'm not saying that 
something isn't *very* wrong... only that it doesn't look like SMF is the 
problem.

sh: /boot/solaris/bin/extract_boot_filelist:  not found

/usr/sbin/sh[1]: exec: /lib/svc/method/manifest-import: not found

root@:~# pkg verify core-os
pkg: No image rooted at '/'

/lib/svc/method/fs-usr[62]: /usr/sbin/swapadd: not found [No such file or 
directory]




________________________________

This message and any attached documents contain information from QLogic 
Corporation or its wholly-owned subsidiaries that may be confidential. If you 
are not the intended recipient, you may not read, copy, distribute, or use this 
information. If you have received this transmission in error, please notify the 
sender immediately by reply e-mail and then delete this message.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to