Operating System - HP-UX
1832281 Members
1924 Online
110041 Solutions
New Discussion

swinstall problem in installing OS-Core.CORE2-KRN

 
Yusuf Batterywala
Occasional Contributor

swinstall problem in installing OS-Core.CORE2-KRN

Hi,

I'm trying to install OS-Core.CORE2-KRN in an alternate root on an HPIA 64 machine. I was able to install OS-Core.CORE-KRN but am getting the following error while install OS-Core.CORE2-KRN:

$ swinstall -s /HPmedia/BASIC/11.23IA/11.23IA_Sept2007_DVD1/ -r -X .swopts OS-Core.CORE2-KRN,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA

======= 11/04/08 15:22:00 IST BEGIN swinstall SESSION
(non-interactive) (jobid=hp24wia-0545)

* Session started for user "root@hp24wia".

* Beginning Selection
* Options:
preview no
target type alternate root
linkinstall no
verbose 1
option file .swopts
session file
software file
target file

* Target connection succeeded for
"hp24wia:/tmp/test/".
* Source connection succeeded for
"hp24wia:/HPmedia/BASIC/11.23IA/11.23IA_Sept2007_DVD1/".
WARNING: The fileset could not be selected due to missing and/or
incompatible options to override compatibility with the
current settings of the target system(s).
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.



======= 11/04/08 15:22:02 IST END swinstall SESSION (non-interactive)
(jobid=hp24wia-0545)

I'm using the following swinstall options in .swopts:

swinstall.admin_directory=/tmp/test/var/adm/sw
swinstall.mount_all_filesystems=false
swinstall.logfile=/tmp/test/var/adm/sw/swinstall.log
swinstall.targets=/tmp/test/
swinstall.loglevel=2
swinstall.reinstall=true
swinstall.reinstall_files=true
swinstall.logdetail=true
swinstall.register_new_root=false
swinstall.enforce_scripts=false
swinstall.autoselect_dependencies=false
swinstall.enforce_dependencies=false

swinstall.log is showing the same error message. Since I'm installing in an alternate root, I'm fine with warnings of failing dependencies as long as swverify can verify that the fileset has indeed been installed on the target alternate root.

What could be the reason for this failure? I was able to install most of the core OS packages (albeit with warnings) except OS-Core.CORE2-KRN.

Any help is greatly appreciated!

Thanks
Yusuf
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: swinstall problem in installing OS-Core.CORE2-KRN

>I'm trying to install OS-Core.CORE2-KRN in an alternate root on an Integrity machine.

Why are you trying to do this? You are going to have no end of problems. You are going to get a random mixture of PA and IPF bits.

Though your r=B.11.23 option is how to select specific versions. The problem is that the dependencies don't have specifics.

So as I mentioned is the following thread, the foolproof way to do this is copy the depot and remove all PA only filesets. Then install.
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1263946

>-r -X .swopts

Don't use -r, it's obsolete.
Leave out of .swopts:
swinstall.targets=/tmp/test/
swinstall.admin_directory=/tmp/test/var/adm/sw
swinstall.logfile=/tmp/test/var/adm/sw/swinstall.log
and put on the end of the command line: @ /tmp/test
Yusuf Batterywala
Occasional Contributor

Re: swinstall problem in installing OS-Core.CORE2-KRN

Hi Dennis,

I copied the depot at a new location and removed all PA filesets. This is how it looked like:

$ swlist -l fileset -a software_spec -s /tmp/swtmp/
# Initializing...
# Contacting target "hp24wia"...
#
# Target: hp24wia:/tmp/swtmp/
#

# Networking Networking,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP
Networking.NET2-KRN Networking.NET2-KRN,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA
# OS-Core OS-Core,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP
OS-Core.C-KRN OS-Core.C-KRN,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA
OS-Core.CORE-KRN OS-Core.CORE-KRN,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA
OS-Core.CORE2-KRN OS-Core.CORE2-KRN,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA
OS-Core.KERN-RUN OS-Core.KERN-RUN,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA/PA
OS-Core.KERN2-RUN OS-Core.KERN2-RUN,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA
# UserLicense UserLicense,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP
UserLicense.UNL-USER UserLicense.UNL-USER,r=B.11.23,a=HP-UX_B.11.23_IA/PA,v=HP,fr=B.11.23,fa=HP-UX_B.11.23_IA


After modifying the other options as you suggested, I'm still getting the same error:

* Source connection succeeded for "hp24wia:/tmp/swtmp/".
WARNING: The fileset could not be selected due to missing and/or
incompatible options to override compatibility with the
current settings of the target system(s).
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.

Thanks,
Yusuf
Dennis Handly
Acclaimed Contributor

Re: swinstall problem in installing OS-Core.CORE2-KRN

You haven't answered "why" yet.

> I copied the depot at a new location and removed all PA filesets.

You may have to start all over with a full depot and remove what you have in the alternate root.

You probably should remove these:
swinstall.autoselect_dependencies=false
swinstall.enforce_dependencies=false