Operating System - HP-UX
1834457 Members
2815 Online
110067 Solutions
New Discussion

Re: howto get applications from cd into software depot

 
SOLVED
Go to solution
Violetta J. Wawryk
New Member

howto get applications from cd into software depot

Hi there,

my problem is that I want to put software from the application DVD December 2004 into my depot. As far as I know I need .depot-Files for doing that, but on the DVD aren't such files. What I did so far is: I copied the directories and files from the dvd into /tmp/GraphicsOpenGL on my Depotsystem.
I already have different depots, and I want to have the OpenGL-Software in the directory //misc_software (which is a registered depot).

An example of one of my OpenGL-Directories is the following:

|-- OPENGL-RUN
| `-- opt
| `-- graphics
| `-- OpenGL
| |-- ReleaseNotes
| |-- lbin
| | `-- ogld
| `-- lib
| |-- hpux32
| | |-- libGL.so.2
| | |-- libGLU.so.2
| | |-- libHpGL.so.2
| | |-- libXfGL.so.2
| | |-- libddfgl.so.2
| | |-- libddfglrx.so.2
| | |-- libddvmd.so.2
| | `-- libogltls.so.2
| |-- hpux64
| | |-- libGL.so.2
| | |-- libGLU.so.2
| | |-- libHpGL.so.2
| | |-- libXfGL.so.2
| | |-- libddfgl.so.2
| | |-- libddfglrx.so.2
| | |-- libddvmd.so.2
| | `-- libogltls.so.2
| `-- nls
| `-- msg
| |-- C
| | `-- glu.cat
| `-- en_US.roman8
| `-- glu.cat


as you can see: no .depot

thanks for helping me in advance.

regards Jo
9 REPLIES 9
Alex Lavrov.
Honored Contributor

Re: howto get applications from cd into software depot

Depot is not only .depot file. Depot is a directory with the software and additional files that give SW machanism the way to install/remove/manage the software that is found there. .depot file is just a tar file of this directory.

Use "swcopy" command to copy the software from DVD to your depot.

man swcopy

The easiest way for ppl that are not very familiar with command line interface is just to export DISPLAY variable and launch "swcopy" without parameters so the graphical GUI will come up and there it's very easy.

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Violetta J. Wawryk
New Member

Re: howto get applications from cd into software depot

thanks for your quick reply

I tried swcopy GUI but I didn't come far.

I entered my target (//misc_software) and my source (source as local directory and then /tmp/GraphicsOpenGL) after submitting the source I get the following message:

There is currently no depotsoftware on host "ernie" at location "/tmp/GraphicsOpenGL". Make sure that an absolute pathname specified for location (beginning with /).

Do I have to register /tmp/GraphicsOpenGL as a depot maybe?

regards, Jo
Alex Lavrov.
Honored Contributor

Re: howto get applications from cd into software depot

Yes,

swreg -l depot /tmp/GraphicsOpenGL
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Violetta J. Wawryk
New Member

Re: howto get applications from cd into software depot

thank you but I tried that and it didn't work:

swreg -l depot /tmp/GraphicsOpenGL

======= 05/19/05 11:58:02 METDST BEGIN swreg SESSION
(non-interactive)

* Session started for user "root@ernie".

* Beginning Selection
* Targets: ernie
* Objects: /tmp/GraphicsOpenGL
ERROR: There is currently no depot software on host "ernie" at
location "/tmp/GraphicsOpenGL". Make sure that an absolute
pathname is specified for location (beginning with "/").
ERROR: More information may be found in the daemon logfile on this
target (default location is ernie:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 05/19/05 11:58:02 METDST END swreg SESSION (non-interactive)



in /var/adm/sw/swagentd.log it says the following:

ERROR: Failed to register soc on "/tmp/GraphicsOpenGL" for
root@ernie.science-computing.de. "/tmp/GraphicsOpenGL" is not
a valid depot. 05/19/05 11:58:02 MEST
Alex Lavrov.
Honored Contributor

Re: howto get applications from cd into software depot

Ah, I think I know what's the problem.

OPENGL-RUN is not in the root directory, but in some subdirectory right?

If so, it's just part of a depot (fileset or something) and you can't just install it, but only the whole depot.

What is the full path to OPENGL-RUN on the DVD?

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Violetta J. Wawryk
New Member

Re: howto get applications from cd into software depot

as I don#t have a dvd-rom in my hp-system I had to copy the files from my linuxsystem onto the hp-system.

there I have the /tmp/GraphicsOpenGL directory which I made by mkdir.

In this directory I copied the different softwares:
COMMON-RUN/ OPENGL-DK.2/ OPENGL-DK/ OPENGL-PA/ OPENGL-RUN.2/ OPENGL-RUN/

and COMMON-RUN/ was an example in my first post
Alex Lavrov.
Honored Contributor

Re: howto get applications from cd into software depot

Well, from what I can see, there is no depot related files in this directory (catalogs, indexes, etc.), to be honest, I missed this fact when I first replied, so SW cannot treat this dir as depot.

I suggest that you try and get DVD disk again and see what depot you have to install from it.


Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
Ermin Borovac
Honored Contributor
Solution

Re: howto get applications from cd into software depot

Please try the following steps.

Mount HP-UX application DVD on your Linux system using mount option '-o ro,norock,map=off'.

Export directory, under which DVD is mounted, to the HP-UX system using NFS.

# service nfs start
# exportfs -iv :/

Also if you have a firewall (iptables) on Linux system, you will need to open it up.

# showmount -e

showmount should show dvd directory.

# mount : /dvd

I think bundle B6268AA has OpenGL and some other graphical stuff.

# swcopy -s /dvd B6268AA @ //misc_software

That should do it!

Violetta J. Wawryk
New Member

Re: howto get applications from cd into software depot

thanks a lot to you two. the export did the trick.

regards Jo