Hi friends, could you please give me any suggestions:
I have a CD with software I need to install (very important to me).
CD consists of many files (archives & binaries).
According to instructions I have just to execute setup.bin, but…
How can I manage dependencies?
How can I see my installation with Yast repositories?
unfortunately there’s no alternative RPM package for this software.
This binary file starts with dialog, continues with copying files from archives, and prepares installation. I’ve tried with executing it, but at the mid-point of the instalation the programm is getting sleeping. The only way is to kill the process.
Everything should be on that CD, or the accompaning documentation (maybe also on the CD) should tell you what should be installed earlier.
Not. This has nothing to do with RPMs, repositories or YaST Sofware Management. It is the same as you would place one or more files somewhere on your system. YaST is not aware of that.
I assume you do not expect an answer because this is no question;)
It is rather difficult to decide from here (or anywhere where members are hangiing around) why your installation process is hanging. The more as you do not tell anything about what the product is.
Dear hcvv,
Thank you for your thoughts. That’s really helpful as I’m a new-comer.
I’m going to install SPSS 16 (specific software for data analysis).
From another terminal I’ve checked for ps - aux and founded that during all ~30 minutes of sleeping the processor is ~99% busy with tar archive. At the same time I know that the software is based on java and probably some scripts bring the system for this long-term sleeping.
It would be great if you suggest any solution for debugging of this process (or may be any advice to make .log files or to check any of them).
That is strange when it is all the time running tar. I assume it is unpacking a tar file (logical in such an installation process), but this looks like an eternal loop. Which wouldpoint to a broken tar archive. Can you identify the file is and then copy it to somewhere in e.g. you home directory and make a table of contents with
tar tvf <the-tar-archive>
(where <the-tar-archive> is of course to be replaced with the name you gave it).
I do not know where you got the CD, but it could be that yours it is not burned correctly. Remember that they were original invented for music, where a bit lost is not critical, but with software it is. Burning as slow as possible on a good brand is general advised here. Is it an ISO-9660 file system? Maybe you can checksum it (when the checksum is somewhere to be found).
I’ve mounted the .iso file itself and started installation. The same result: SPSS is sleaping. I’ve saved the part of ps -aux corresponded to terminal where I’ve installed SPSS. Could you please look on it? Thank you!
Probably, that’s better? As for tar archive I didn’t find it in CD. Probably setup.bin builds it itself. Now it’s located in /opt/SPSSInc/SPSS16 folder. I can open it with Dolphin, but your script provides following result:
linux-393i:/opt/SPSSInc/SPSS16 # tar tvf ./spss160linux32.tar.Z
tar (child): compress: Функция exec завершилась с ошибкой: Нет такого файла или каталога
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Thanks for reposting. As you see it is now readable . In the meantime I got some sleep which also a usefull thing.
We see the* tar -xizkf* process and the filename you use later to see what exactly happens. We see also the gzip -d process that tar spawnes to uncompress the file.
The result of tar tvf shows that that uncompressing goes wrong. The error here reports that the child (gzip -d) gives an error in Cyrillic that I only partly can understand and then aborts with return code 2. Reading man gzip one sees that return code 2 means: warning. In this case tar stops also, but in the first case it seems to go into an endless loop. It could be because we only try to get a table of contents and not to unpack, but the loop is not the root cause (still it shouldn’t happen of course).
I think you are better in trying to explain what the Cyrillic (Russian or Bulgaric?) message says. But to me it seems that gzip finds an error in the file and can not decompress.
The next step could be to do the decompressing stand alone (like we tried the tar standalone):
Thanks for your support. The error is in Russian. It means “the function exec returned an error: No such file or folder”. I’ll try to decompress with gzip.
When it says: No such file or directory, you should first check if you are in the right place where that file is! When you say *./spss160linux32.tar.Z *it should be in the directory that is your current working directory. Check with
linux-393i:/opt/SPSSInc/SPSS16 # ls -l ./spss160linux32.tar.Z
-rw-rw-rw- 1 root root 138984139 Сен 7 2007 ./spss160linux32.tar.Z
linux-393i:/opt/SPSSInc/SPSS16 # tar tvf ./spss160linux32.tar.Z
tar (child): compress: Функция exec завершилась с ошибкой: Нет такого файла или каталога
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
The file exists and the error is different from the ones that occure in case of absent file:
linux-393i:/opt/SPSSInc/SPSS16 # tar tvf ./spss160linux32.tar.Z1
tar: ./spss160linux32.tar.Z1: Функция open завершилась с ошибкой: Нет такого файла или каталога
tar: Error is not recoverable: exiting now
You see, the first error - with exec function, and the second (in case of absent file) - with open function. And the first error corresponds to child.
But at the same time after gzip -d ./spss160linux32.tar.Z I can see new file spss160linux32.tar and
OK, that is something. I can not explain why the error is there, bu *** seems that when we do decompress ourselves that is OK. Then when we ask tar wjhat it sees there, it makes a neat list, good. Now we are going to untar by ourself, thus
tar xvikf spss160linux32.tar
You will see that I removed the z command because we are now working with the allready gunzpped file. I added the v command thus you can see something during the prcocess. I am very curious.
Hm, your ps output does not have the PPID in the output, but I assume these four processes are offsrping of each other. I can not say much about Java. No knowledge.
Did you try to unpack the copied and uncompressed tar file as I suggested?
Yes, it uncompresses fine, but I’m not able to run the ./spss file inside. It seams that installation runs several processes - not only preparing and uncumpressing the archive. Anyway thank you for your support. Probably you can suggest any way for debugging the installation process or loging (for example - step by step running processes or smth. like that).
From the other side this spss was tested only for ubuntu…
I do nnot know anything about the product you try to install. But when you paid for it, you may now file a rather good documented complain. And when it didn’t pay for it, it being e.g. open source, you also can try to get support on thh products web-site, mailing lists, or whatthey have.
It is a bit difficult to get loging, because it is just a bunch of normal tools they use. And when they do not provide for loging things it is simply not there.