Operating System - HP-UX
1837078 Members
2588 Online
110112 Solutions
New Discussion

Re: How to get product name from .depot file

 
Faisal Abdullah
New Member

How to get product name from .depot file

Hi, I need to install a .depot file using this command:

swinstall -x reinstall_files=true -x reinstall=true -x allow_multiple_versions=true -s ,l=

But, I'm having problems finding the for this depot.

This is what I'm trying to install:
perl_D.5.8.8.A_HP-UX_B.11.11_32_64.depot

This is the error i get when running the command:
ERROR: Could not apply the software selection
"Perl588:/opt/perl5.8.8"; it is not available from depot or
root "volapps1:/tmp/perl_D.5.8.8.A_HP-UX_B.11.11_32_64.depot".
* Software selection failed for
"volapps1:/tmp/perl_D.5.8.8.A_HP-UX_B.11.11_32_64.depot".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.


Thanks,
Faisal
4 REPLIES 4
skt_skt
Honored Contributor

Re: How to get product name from .depot file

swlist -l product -s depot.depot

Under swinstall option; go to view tab->chane s/w view->start with products
Faisal Abdullah
New Member

Re: How to get product name from .depot file

Thanks!
But now I get two product names? Which do I use, or how do I install both?

Perl5-32 D.5.8.8.A 32-bit 5.8.8 Perl Programming Language with Extensions
Perl5-64 D.5.8.8.A 64-bit 5.8.8 Perl Programming Language with Extensions
Faisal Abdullah
New Member

Re: How to get product name from .depot file

Hi Again,

I tried installing (with the -p or preview option), using both Product names, but i get this error:

ERROR: Could not apply the software selection
"Perl5-64:/opt/perl5.8.8". This software can not be
relocated.
* Software selection failed for
"volapps1:/tmp/perl_D.5.8.8.A_HP-UX_B.11.11_32_64.depot".
ERROR: No software has been selected.
ERROR: Cannot continue the "swinstall" task.
* Selection had errors.


This is quite weird to me. Does anyone know why this software can't be relocated?

Thanks,
Faisal
Dennis Handly
Acclaimed Contributor

Re: How to get product name from .depot file

(Darn, I thought I replied to some of this already.)

Why are you using:
-x reinstall_files=true -x reinstall=true ?

>But now I get two product names? Which do I use, or how do I install both?

I'm not sure if you can use both. If you have no plugins, you should just use Perl5-32.
(Where did you get this bundle so we can try too?)

If the two products have separate directories, you could install both. Use "swlist -l file" to check.

>ERROR: Could not apply the software selection
"Perl5-64:/opt/perl5.8.8". This software can not be relocated.

>This is quite weird to me. Does anyone know why this software can't be relocated?

Because when you package the product you must tell swpackage you allow it to be relocatable. I believe the default used to be FALSE and only recently changed?

Also, you may not want to have multiple versions on a system because of configuration files in /var/ or /etc/.