Need to install from CD

Hi friends, could you please give me any suggestions:

  1. I have a CD with software I need to install (very important to me).
  2. CD consists of many files (archives & binaries).
  3. According to instructions I have just to execute setup.bin, but…
  1. How can I manage dependencies?
  2. How can I see my installation with Yast repositories?
  3. 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.

  1. Everything should be on that CD, or the accompaning documentation (maybe also on the CD) should tell you what should be installed earlier.
  2. 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.
  3. 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).

Thank you in advance!

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).

Thank you. I’ll check my disk.

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!

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 5487 0.0 0.0 4512 1268 pts/0 S+ 00:57 0:00 /usr/bin/sh /opt/SPSSInc/SPSS16/bin/tar.sh /opt/SPSSInc/SPSS16
root 5488 99.5 0.0 3840 840 pts/0 R+ 00:57 15:47 tar -xizkf /opt/SPSSInc/SPSS16/spss160linux32.tar.Z -C /opt/SPSSInc/SPSS16
root 5489 0.0 0.0 2136 496 pts/0 S+ 00:57 0:00 gzip -d
sergey 6969 0.0 0.0 5324 2368 pts/0 Ss 00:39 0:00 /bin/bash
root 6981 0.0 0.0 4588 1640 pts/0 S 00:39 0:00 su
root 6985 0.0 0.0 5324 2528 pts/0 S 00:39 0:00 bash
root 7155 0.0 0.0 4908 1776 pts/0 S+ 00:53 0:00 /bin/sh ./setup.bin
root 7660 5.5 12.7 656676 383336 pts/0 Sl+ 00:53 1:05 /tmp/istemp7155300005346/bundledJRE/bin/java -cp .:::::/tmp/istemp7155300005346/setup.jar::::: -Dtemp.dir=/tmp -Dis.jvm.home=/tmp/istemp7155300005346/bundledJRE -Dis.jvm.temp=1 -Dis.media.home=/tmp/istemp7155300005346/setup.jar -Dis.launcher.file=/mnt/./setup.bin -Dis.jvm.file=/tmp/istemp7155300005346/bundledJRE/jvm -Dis.external.home=/mnt/. -Xmx60m -Xms20m run
root 7679 2.0 0.0 5028 1836 pts/0 S+ 00:54 0:24 /bin/sh /tmp/ismp001/9116910.tmp

  1. Please put CODE tags around computer text, not QUOTE (use the Advanced post editor and use tthe # button.

  2. what about my suggestion in finding the tar file tar hangs on?

Sorry,

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root      5487  0.0  0.0   4512  1268 pts/0    S+   00:57   0:00 /usr/bin/sh /opt/SPSSInc/SPSS16/bin/tar.sh /opt/SPSSInc/SPSS16
root      5488 99.5  0.0   3840   840 pts/0    R+   00:57  15:47 tar -xizkf /opt/SPSSInc/SPSS16/spss160linux32.tar.Z -C /opt/SPSSInc/SPSS16
root      5489  0.0  0.0   2136   496 pts/0    S+   00:57   0:00 gzip -d
sergey    6969  0.0  0.0   5324  2368 pts/0    Ss   00:39   0:00 /bin/bash
root      6981  0.0  0.0   4588  1640 pts/0    S    00:39   0:00 su
root      6985  0.0  0.0   5324  2528 pts/0    S    00:39   0:00 bash
root      7155  0.0  0.0   4908  1776 pts/0    S+   00:53   0:00 /bin/sh ./setup.bin
root      7660  5.5 12.7 656676 383336 pts/0   Sl+  00:53   1:05 /tmp/istemp7155300005346/_bundledJRE_/bin/java -cp .:::::/tmp/istemp7155300005346/setup.jar::::: -Dtemp.dir=/tmp -Dis.jvm.home=/tmp/istemp7155300005346/_bundledJRE_ -Dis.jvm.temp=1 -Dis.media.home=/tmp/istemp7155300005346/setup.jar -Dis.launcher.file=/mnt/./setup.bin -Dis.jvm.file=/tmp/istemp7155300005346/_bundledJRE_/jvm -Dis.external.home=/mnt/. -Xmx60m -Xms20m run
root      7679  2.0  0.0   5028  1836 pts/0    S+   00:54   0:24 /bin/sh /tmp/ismp001/9116910.tmp

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 :slight_smile: . 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):

gzip -d ./spss160linux32.tar.Z

and see what happens.

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

ls -l ./spss160linux32.tar.Z

It seams that the problem is really in archive:


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


tar tvf ./spss160linux32.tar
drwxr-xr-x builder1/graf     0 2007-09-07 20:34 lib/
-rwxr-xr-x builder1/graf 620728 2007-09-07 20:03 lib/libspsswman.so.1
-rwxr-xr-x builder1/graf 464840 2007-09-07 20:03 lib/libspsswggr.so.1
-rwxr-xr-x builder1/graf  23068 2007-09-07 20:03 lib/libfwsecure.so.1
-rwxr-xr-x builder1/graf 119224 2007-09-07 20:03 lib/libspsswsur.so.1
-rwxr-xr-x builder1/graf 1209232 2007-09-07 20:03 lib/libmctscrd.so
-rwxr-xr-x builder1/graf  437856 2007-09-07 20:02 lib/libctaggr.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libspawn.so -> libspawn.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libsockssl.so -> libsockssl.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:59 lib/libsnsort.so -> libsnsort.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libspsswlib.so -> libspsswlib.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:59 lib/libspsswcsp.so -> libspsswcsp.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 20:00 lib/libspsswexs.so -> libspsswexs.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:59 lib/libspsswmre.so -> libspsswmre.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libc2vdata.so -> libc2vdata.so.1
-rwxr-xr-x builder1/graf   40912 2007-09-07 20:03 lib/libdacmmsgs.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 20:01 lib/liblocssrvr.so -> liblocssrvr.so.1
-rwxr-xr-x builder1/graf  338392 2007-09-07 20:03 lib/libspsswari.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libspsswmsg.so -> libspsswmsg.so.1
-rwxr-xr-x builder1/graf  127960 2007-09-07 20:03 lib/libomxtext.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:59 lib/libspsswmar.so -> libspsswmar.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libstreamdac.so -> libstreamdac.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libdedstore.so -> libdedstore.so.1
-rwxr-xr-x builder1/graf 1811440 2007-09-07 20:03 lib/libicui18n.so.32.0
lrwxrwxrwx builder1/graf       0 2007-09-07 20:00 lib/libspsswkm.so -> libspsswkm.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:58 lib/libutilmsg.so -> libutilmsg.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 20:00 lib/libspsswtst.so -> libspsswtst.so.1
-rwxr-xr-x builder1/graf  467608 2007-09-07 20:03 lib/libmctrexmr.so
-rwxr-xr-x builder1/graf  193156 2007-09-07 20:03 lib/libcvtrans.so.1
-rwxr-xr-x builder1/graf   61176 2007-09-07 20:03 lib/libspsswspr.so.1
lrwxrwxrwx builder1/graf       0 2007-09-07 19:57 lib/libserver.so -> libserver.so.1
...

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.

Dear hcvv, anyway thank you for your efforts!

May be there are some problems with java? You see:


root      4339  8.8 12.3 642516 372980 pts/1   Sl+  20:49   1:02 /tmp/istemp3835298204829/_bundledJRE_/bin/java -cp .:::::/tmp/istemp3835298204829/setup.jar::::: -Dtemp.dir=/tmp -Dis.jvm.home=/tmp/istemp3835298204829/_bundledJRE_ -Dis.jvm.temp=1 -Dis.media.home=/tmp/istemp3835298204829/setup.jar -Dis.launcher.file=/media/./setup.bin -Dis.jvm.file=/tmp/istemp3835298204829/_bundledJRE_/jvm -Dis.external.home=/media/. -Xmx60m -Xms20m run
root      4358  3.3  0.0   5028  1840 pts/1    S+   20:49   0:23 /bin/sh /tmp/ismp007/8011525.tmp
root     31603  0.0  0.0   4512  1268 pts/1    S+   20:53   0:00 /usr/bin/sh /opt/SPSSInc/SPSS16/bin/spsssln.sh /opt/SPSSInc/SPSS16
root     31604 99.8  0.0   3840   840 pts/1    R+   20:53   8:18 tar -xizkf /opt/SPSSInc/SPSS16/spss160linux32.tar.Z -C /opt/SPSSInc/SPSS16

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.

Thank you. I’ll check with the source.