Operating System - HP-UX
1838119 Members
4221 Online
110124 Solutions
New Discussion

Re: finding software depot

 
ROSS HANSON
Regular Advisor

finding software depot

Hello,
I am trying to load, from a CD, software onto a
A500 running 11i. When typing
swinstall -s of the depot software
I keep getting the error message

"There is currently no depot software on host XXX
at location XXX. Make sure that an absolute pathname is specified for loacation (beginning with "/")"

I have stopped and restart the swagentd but still
no go. I have also tried to run swreg -l depot and I still get nowhere

any ideas?
Ross Hanson
12 REPLIES 12
Sanjay_6
Honored Contributor

Re: finding software depot

Hi Ross,

What is this software. Is it a file_name.depot file. Also have you tried the interactive "swinstall" screen rather than the command line.

Regds
erics_1
Honored Contributor

Re: finding software depot

Ross,

I believe you need to go further into the directories. Off hand, I know that swinstall -s /cdrom/XSWGR1100/B.11.00 works. cd in the cdrom directory to get specifics.

Regards,
Eric
Uday_S_Ankolekar
Honored Contributor

Re: finding software depot

Hi,

Invoke swinstall - UI (interactive mode) menu and the select local dir and mention the source directory path

-USA..
Good Luck..
Darrell Allen
Honored Contributor

Re: finding software depot

Hi Ross,

With swinstall you must specify the full (absolute) path of the depot file, not the directory, as well as the software you are installing:
swinstall -s /tmp/packagename.depot packagename
You may need other options as well. Check the install info with the package.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Uday_S_Ankolekar
Honored Contributor

Re: finding software depot

Ooops,

Select CDROM instead of local Dir.. I thought you have Software depot files in the local directory.. Sorry

-USA..
Good Luck..
erics_1
Honored Contributor

Re: finding software depot

Ross,

I think I was a little quiick on the trigger. Try this procedure and see if that fixes your issue.

1: Remove the the mount point
(after umounting)
rmdir /cdrom

2: Create a mount mount point

mkdir /cdrom

3: Mount the CDROM media to /cdrom

mount -F cdfs /dev/dsk/cXtYdZ /cdrom

4: Restart the swagentd daemon

/usr/sbin/swagentd -r &

5: Register the mount point as a depot

swreg -l depot /cdrom

6: Install software from the CDROM again

swinstall -s /cdrom
Darrell Allen
Honored Contributor

Re: finding software depot

Clarification on my previous reply...

If you want interactive mode swinstall, omit the packagename.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Darrell Allen
Honored Contributor

Re: finding software depot

Hi Ross,

Sometimes I'm an idiot. I rushed thru reading your post (wanting to go to lunch) without paying attention to what you said. I should have gone to lunch and remained quiet.

Mount your cd as Eric says. Run swinstall interactively (swinstall w/o options).
You can select "Find Local CD" if you like - it should return the mount point of your cd.
If, as in the case of the support plus cd, you get a message that the depot is empty, you will need to enter the path of the depot on the cd as the Source Depot Path (such as /cdrom/QPK1100).

You should then be good to go.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
ROSS HANSON
Regular Advisor

Re: finding software depot

I have tried to run the interactive mode of swinstall and receive the same error messages of "Not finding any
software depots at location"

I have also found, and tried, from the technical knowledge base the removing of the mount directory then remaking of the
directory and the stopping and
starting of the swagentd

The error messages from the
swagentd.log file is:
Failed to start source agent on /cdrom/X/X/X/X for root@X

/cdrom/X/X/X/X is not a valid depot
Ross Hanson
Christopher McCray_1
Honored Contributor

Re: finding software depot

I had run into the same problem some time ago in where I was trying to install Online Diagnostics for 11.00. The path was /SD_CDROM/ONLINEDIAG/B.11.00. What got it to work was to register the depot:

# swreg -l depot /SD_CDROM/ONLINEDIAGS/B.11.00

I was then able to do my swinstall.

Use swreg -u to unregister when done.

Good luck

Chris
It wasn't me!!!!
Darrell Allen
Honored Contributor

Re: finding software depot

Perhaps you could post the exact command you are entering as well as what software you are wanting to install.

As Eric suggested in his first reply, perhaps the depot path is deeper than you think.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Wodisch
Honored Contributor

Re: finding software depot

Hello Ross,

I guess your CD is not mounted with the proper options...
Tell us what an "ls -l /mountpoint" looks like.

Perhaps you need to go down into another directory on the CD, uncompress/unzip an archive, or the filenames end with ";1"?

HTH,
Wodisch