1825766 Members
2079 Online
109687 Solutions
New Discussion

Swinstall error

 
SOLVED
Go to solution
Jacob D Levin
Frequent Advisor

Swinstall error

Hi all,
I get the following error when trying to install software. I have registered the depot already and still it does not work.


"ERROR: The source you have chosen is a tape device which must be local to the single selected target. Since the hostname of the tape device "source" does not match the hostname of the single selected target "destination", this source is not allowed."

the source is a local directory on the system. It gives me the same error when trying to remote isntall it from a system where the software is registered as a depot as well
just hit enter, what could it hurt?
11 REPLIES 11
Sundar_7
Honored Contributor

Re: Swinstall error

hmm strange problem....

Is swlist working ? - Try killing and restarting swagentd daemon.
Learn What to do ,How to do and more importantly When to do ?
Steven E. Protter
Exalted Contributor

Re: Swinstall error

Can't do that with a remote tape drive.

The base OS doesn't let you use a tape drive on hostb from hosta

Either move the tape or write the depot from tape to disk and register the depot on disk.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sanjay_6
Honored Contributor

Re: Swinstall error

Hi Jacob,

Check and see if you have multiple entries for the host in the /etc/hosts file or if there is any problem with the host / ip resolutions on this host.

Hope this helps.

Regds
Jacob D Levin
Frequent Advisor

Re: Swinstall error

the source is not a remote tape. It is a local directory on the same system. I also tried from a remote directory with the same oucome. swlist works fine
just hit enter, what could it hurt?
Jacob D Levin
Frequent Advisor

Re: Swinstall error

I've restarted the swagentd and it's still not working properly
just hit enter, what could it hurt?
Sridhar Bhaskarla
Honored Contributor

Re: Swinstall error

Hi Jacob,

See if you have the file 'swlock' under the catalog sub directory under the depot directory. If not, then touch one and see if it works.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
John Poff
Honored Contributor

Re: Swinstall error

Hi,

Are you trying to install the software using swintall from the command line or from the GUI? If you are trying the command line, can you post the command you are attempting? What software are you trying to install? Just curious.

JP
Jacob D Levin
Frequent Advisor

Re: Swinstall error

I'm installing it through the gui. it's the SSH software for HP-UX 11i. I installed it on 2 other machines no problem
just hit enter, what could it hurt?
John Poff
Honored Contributor
Solution

Re: Swinstall error

I just installed it on one of my 11i boxes. I did it this way from the command line:

swinstall -s /home/users/jpoff/T1471AA_A.03.81.002_HP-UX_B.11.11_32+64.depot \*

I just copied the depot file to my home directory and swinstall'd it from there as root.

Is the directory where the depot file is located registered as a depot?

JP
Jacob D Levin
Frequent Advisor

Re: Swinstall error

John, I was able to run it from the command line and it installed perfectly. Thanks for your help!

J
just hit enter, what could it hurt?
HemanSap
Established Member

Re: Swinstall error

Solution - 

Copy the depot file to New Directory. using swcopy

Eg: - 

swcopy -x enforce_dependencies=false -s /var/adm/crash/XXXXXXX.depot \* @ /var/adm/crash/bundle2022 

swreg -l depot @ /var/adm/crash/bundle2022