Operating System - HP-UX
1847177 Members
5407 Online
110263 Solutions
New Discussion

Re: How to install multiple patch

 
SOLVED
Go to solution
Mousa55
Super Advisor

Re: How to install multiple patch

HI

sorry but " db.db-RUN gdbm.gdbm-RUN " how to installed and from where?

thanks

Peter Nikitka
Honored Contributor

Re: How to install multiple patch

Hi,

the HP orting center has more of this:
http://gatekeep.cs.utah.edu/hppd/hpux/Gnu/gdbm-1.8.3/

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Marcel Burggraeve
Trusted Contributor

Re: How to install multiple patch

If it's just " db.db-RUN gdbm.gdbm-RUN " you're missing you can use the link Peter just gave you.
If you get more missing dependencies after that go back to the link where you downloaded perl ( or use the link I gave you earlier http://hpux.its.tudelft.nl/hppd/hpux/Languages/perl-5.8.8/ )
All runtime dependencies which are needed on your system are mentioned there and they are clickable links to download locations.
Mousa55
Super Advisor

Re: How to install multiple patch

HI

and the same problem at install the

"gdbm-1.8.3-hppa-11.11.depot"

i am attach the output

thanks
Marcel Burggraeve
Trusted Contributor

Re: How to install multiple patch

You're doing something wrong here.
The file you downloaded should not be untarred.
Just do a gunzip on that file and you should have a depot file which can be installed with swinstall.
Depot files are tar files as well but as soon as you extract those ( like you did with the first command ) swinstall will no longer.

Rule of thumb should be like :
filename.depot.gz Just gunzip the file
filename.depot.tar Just tar xvf the file
filename.depot.tgz Gunzip and after that tar xvf the file

Sorry to say but it seems alot of basic Unix/HP-UX knowledge is missing here and I would strongly advise you start reading up.
Peter Nikitka
Honored Contributor

Re: How to install multiple patch

Hi,

you should have learnt from the solutions you got till now, that it is a MUST to supply a full pathname to the swinstall command when specifying a depot location.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Dennis Handly
Acclaimed Contributor

Re: How to install multiple patch

>Marcel: The file you downloaded should not be untarred. Just do a gunzip on that file and you should have a depot file which can be installed with swinstall.

Right. When it asks me to download I get: db-4.5.20-hppa-11.11.depot.gz
Dennis Handly
Acclaimed Contributor

Re: How to install multiple patch

>Marcel: filename.depot.tar Just tar xvf the file
>filename.depot.tgz gunzip and after that tar xvf the file

If you see the above two and it has ".depot", something is very wrong.

Unless it is using ".tar" or ".tgz" to fool the browser because it doesn't like .depot?
Mousa55
Super Advisor

Re: How to install multiple patch

HI mercel

i have all this basic but you not my comment

" the gunzip and gzip is not work "

and thank you to advice me

thanks
Marcel Burggraeve
Trusted Contributor

Re: How to install multiple patch

Maybe I should have made myself clearer, I tried to give some examples about the use of tar and gzip and how you might recognize them by looking at the extension.
The depot part was just there so the poster could recognize it.

Unless there's a difference between the porting archives ( which I doubt ) there's some wrong info in the start of this thread as well.
If I download the perl depot it has the name perl-5.8.8-hppa-11.11.depot.gz and NOT a file with the .tgz extension.
Dennis Handly
Acclaimed Contributor

Re: How to install multiple patch

>" the gunzip and gzip is not work "

Ok, it appears your evil browser is automatically gunzipping the file but it didn't remove the .gz suffix. If you use "file gdbm-1.8.3-hppa-11.11.depot.gz", it probably doesn't say: gzip compressed

Old netscape versions did that.

If file(1) doesn't say "gzip", simply rename it:
$ mv gdbm-1.8.3-hppa-11.11.depot.gz gdbm-1.8.3-hppa-11.11.depot
Marcel Burggraeve
Trusted Contributor

Re: How to install multiple patch

Nejad,

the file you download is called gdbm-1.8.3-hppa-11.11.depot.gz
This normally means it compressed with gzip ( unless your browser, winzip or whatever extracts its without renaming it ).
Still you start with a tar on the first line of the txt file you uploaded.
# tar -xvf gdbm-1.8.3-hppa-11.11.depot.gz
Mousa55
Super Advisor

Re: How to install multiple patch

HI all

the problem not in the extract the file

the main problem the
" perl-5.8.8-hppa-11.11.depot " is not found to start install

#ls -l perl-5.8.8-hppa-11.11.depot
perl-5.8.8-hppa-11.11.depot not found

this the problem i am know to all rules and commands of zip and unzip files

thanks
Peter Nikitka
Honored Contributor

Re: How to install multiple patch

Hi,

either supply the full tar-pathname of the perl-depot directly in your swinstall command or create a depot manually:

mkdir /var/sw/appl-depot
cd /var/sw/appl-depot
tar xf /path/to/perl-5.8.8-hppa-11.11.whatever
swinstall -s /var/sw/appl-depot

Additionally, I suggest, you re-read the answers of your questions in this thread. You got many information here and did not use it, yet.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Dennis Handly
Acclaimed Contributor

Re: How to install multiple patch

>Peter: create a depot manually:

What? Why are you creating a directory depot when you can directly use the tape depot?
Or use swcopy to create one.

What you did will work, but it isn't at all obvious from sd(5).

I suggest Nejad start acting paranoid and if file(1) says it is a tarfile, don't untar it. Then simply use swlist to see if it is a depot:
$ swlist -s $PWD/perl-5.8.8-hppa-11.11.whatever
Dennis Handly
Acclaimed Contributor

Re: How to install multiple patch

>the problem not in the extract the file

That is your problem. You start with gdbm-1.8.3-hppa-11.11.depot.gz but it isn't a gzip file. What does file(1) say??
Peter Nikitka
Honored Contributor

Re: How to install multiple patch

Hi,

@Dennis: reading the feedbacks of the thread creator I suggested the most direct way (though not recommended) as an OR to an installation via tarfile.

Nejad, seeing your profile with
>>
I have assigned points to 0 of 108 responses to my questions
<<

you should read
http://forums1.itrc.hp.com/service/forums/helptips.do?#28

to see, how this forum works.

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Marcel Burggraeve
Trusted Contributor

Re: How to install multiple patch

Nejad,

if you have the following :

#ls -l perl-5.8.8-hppa-11.11.depot
perl-5.8.8-hppa-11.11.depot not found

You should find out what the name is of the file you try to install.
Doing the ls like that will only give you exact matches so if the file is still called perl-5.8.8-hppa-11.11.depot.gz you will not see it.
My advise would be to do a ls -l perl* to see all filenames starting with perl.
If you still see perl-5.8.8-hppa-11.11.depot.gz do a file command on it to see what kind of file it is.
Something else which you might need to check is if you uploaded with ascii or bin mode if you used ftp ( ftp from a dos box in windows uses ascii unless you tell it to use bin).
For these kind of files you should be using bin mode.