Operating System - HP-UX
1833738 Members
2552 Online
110063 Solutions
New Discussion

Problem installing depot tar

 
SOLVED
Go to solution
Chartier Jerome
Frequent Advisor

Problem installing depot tar

Hello,

I've downloaded a depot for the gnutar command.
I try to swlist -s in the directory it is located, and have the message:# swlist -s /usr/users/chartiej/gnutar
# Initializing...
# Contacting target "manon"...
ERROR: The expected depot or root does not exist at
"/usr/users/chartiej/gnutar".
ERROR: There is currently no depot software on host "manon" at
location "/usr/users/chartiej/gnutar".

Have u got an idea?

Thanks in advance

Regards

J??r??me
J@Y
11 REPLIES 11
T G Manikandan
Honored Contributor

Re: Problem installing depot tar

First register the software depot using

#swreg -l depot


Then try doing a swlist -s


Thanks
H.Merijn Brand (procura
Honored Contributor

Re: Problem installing depot tar

Or take my version from http://www.cmve.net/~merijn or https://www.beepz.com/personal/merijn

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Chartier Jerome
Frequent Advisor

Re: Problem installing depot tar

Hello,

I've got the error below when I launch the command:
# swreg -l depot /usr/users/chartiej/gnutar

======= 01/31/03 11:30:37 WET BEGIN swreg SESSION (non-interactive)

* Session started for user "root@manon".

* Beginning Selection
* Targets: manon
* Objects: /usr/users/chartiej/gnutar
ERROR: There is currently no depot software on host "manon" at
location "/usr/users/chartiej/gnutar".
ERROR: More information may be found in the daemon logfile on this
target (default location is manon:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 01/31/03 11:30:38 WET END swreg SESSION (non-interactive)

Any idea?

Thanks in advance

Regards

J??r??me
J@Y
Stefan Farrelly
Honored Contributor

Re: Problem installing depot tar

The format is;

swreg -l depot @
Im from Palmerston North, New Zealand, but somehow ended up in London...
Chartier Jerome
Frequent Advisor

Re: Problem installing depot tar

Here is the error message from the second command:

# swreg -l depot @ /usr/users/chartiej/gnutar

======= 01/31/03 11:34:49 WET BEGIN swreg SESSION (non-interactive)

* Session started for user "root@manon".

* Beginning Selection
* Targets: /usr/users/chartiej/gnutar
ERROR: There is currently no depot software on host
"/usr/users/chartiej/gnutar" at location
"/usr/users/chartiej/gnutar".
ERROR: More information may be found in the daemon logfile on this
target (default location is
/usr/users/chartiej/gnutar:/var/adm/sw/swagentd.log).
* Selection had errors.



======= 01/31/03 11:34:49 WET END swreg SESSION (non-interactive)

Thanks in advance

regards

J??r??me
J@Y
Alex Glennie
Honored Contributor

Re: Problem installing depot tar

If Stefans suggestion fails please run file gnutar and report back outputs

also the contents of /var/adm/sw/swagentd.log

Last qu is the target and depot on the same host ?
Jose Mosquera
Honored Contributor
Solution

Re: Problem installing depot tar

Hi,

Pls follow these steps:

1.- Go to any HP port to download the gnu tar software, i.e:
http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/tar-1.13.25/

2.- Select the correct depot version according your operating system version, if you have HP-UX 11.0 you must select:
HP-UX 11.00 PA-RISC Binary Depot (gzipped)

3.- Download the Depot (485K) and place it in bynary mode in your target HP-UX host, I recommend you in /var/tmp directory.

4.- Unzip the file and, if you want, list it:
#cd /var/tmp
#gzip -d tar-1.13.25-sd-11.00.depot.gz
#swlist -s /var/tmp/tar-1.13.25-sd-11.00.depot
# Initializing...
# Contacting target "your_host_name"...
#
# Target: your_host_name:/var/tmp/tar-1.13.25-sd-11.00.depot
#

#
# No Bundle(s) on mad01h:/var/tmp/tar-1.13.25-sd-11.00.depot
# Product(s):
#

tar 1.13.25 tar
#

5.- Finally try to install it by swinstall command:
#swinstall -s /var/tmp/tar-1.13.25-sd-11.00.depot

Rgds.
H.Merijn Brand (procura
Honored Contributor

Re: Problem installing depot tar

What is /usr/users/chartiej/gnutar? A folder (directory) or a file?

The easiest to install a single SD is just to pass the full name

# swlist -s /usr/users/chartiej/gnutar/tar-1.13.25-sd-11.00.depot

no need to swreg

and to install

# swinstall -s /usr/users/chartiej/gnutar/tar-1.13.25-sd-11.00.depot tar

if it is still names ....depot.gz, you have to unzip it first

# gzip -d tar-1.13.25-sd-11.00.depot.gz

Enjoy, have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Chartier Jerome
Frequent Advisor

Re: Problem installing depot tar

Hello,

The fact was that the FTP was auto made in text mode :(
Are there arguments in swinstall to check first for dependencies?


Thanks in advance

Regards

J??r??me
J@Y
Stefan Farrelly
Honored Contributor

Re: Problem installing depot tar

swinstall automatically checks for dependencies.

Usually when you use swcopy to copy software from one depot to another you need to use this option, but turn if off, to stop dependency checking or else all the software wont copy successfully, eg;
swcopy -x enforce_dependencies=false -s @

But on swinstall the enforce_dependencies option is set to true by default.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Clochard Nicolas
New Member

Re: Problem installing depot tar

Hi,

The error 'There is currently no depot software on host ...' seems to appears sometimes when the swagentd has problem.
Kill the swagentd and relaunch it.

Then retry your command. For me it has worked.

I read this on the following page:
http://www.hp-eloquence.com/sdb/html/896875350.html

regards,