Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Installation on Linux failing due to previous install: (16 Items)
   
Installation on Linux failing due to previous install  
Hi,

When trying to install qnx on a  linux host using qnxsdp-6.4.0-200810211530-linux.bin, I get the following error : 

The installation cannot continue because this product is already installed. If
you wish to reinstall it, please uninstall it first.

I cannot see any env variable or directory under /opt/ for the earlier installation.

How do I get past this ? 

Thanks !
Abhinav
RE: Installation on Linux failing due to previous install  
Hi Abhinav,
Quick question, which flavor of linux do you use?  Some act a bit differently in regards to the installer.

Regards,
Wade

-----Original Message-----
From: Abhinav Modi [mailto:community-noreply@qnx.com]
Sent: Tue 3/17/2009 10:22 AM
To: momenticsgs-community
Subject: Installation on Linux failing due to previous install
 
Hi,

When trying to install qnx on a  linux host using qnxsdp-6.4.0-200810211530-linux.bin, I get the following error : 

The installation cannot continue because this product is already installed. If
you wish to reinstall it, please uninstall it first.

I cannot see any env variable or directory under /opt/ for the earlier installation.

How do I get past this ? 

Thanks !
Abhinav

_______________________________________________
QNX Momentics Getting Started
http://community.qnx.com/sf/go/post24558


Attachment: Text winmail.dat 2.92 KB
Re: RE: Installation on Linux failing due to previous install  
Hi Wade,

Thanks for the quick reply. This is on Ubuntu 8.10.

Thanks !
Abhinav
Re: Installation on Linux failing due to previous install  
Hi Abhinav,

InstallShiled installers check a special ismp registry called vpd.properties for previous installations of ISMP products
.  

If you don't have any other versions of QNX Momentics installed on your system, then you could use the cleanup utility 
(QNXLinuxCleanup.pl) to remove any traces of QNX Momentics that might be left from previous installations/
uninstallations.  This should fix the problem with re-installing QNX SDP 6.4.0.

The cleanup utility is posted on http://www.qnx.com/download.

Hope this helps.
Natalia
Re: Installation on Linux failing due to previous install  
Hi Natalia,

Thanks - this worked perfectly fine !

Regards,
Abhinav
Re: Installation on Linux failing due to previous install  
Hi,

I have the same problem with ubuntu 8.10, and until now i don't solve it. Even though i used QNXLinuxCleanup.pl to 
remove any possible previous version of qnx, but nothing happens. The mentioned error continues.

is ther any other way to solve this problem?

Thanks a lot
Attachment: Text installLog.txt 41.02 KB
Re: Installation on Linux failing due to previous install  
Hi Ricardo,

According to the installation log file that you attached, the installation started without any problems, but it did not 
complete successfully. 

The cleanup utility should be used to remove incomplete installation of 6.4.0 before re-installing.

Did you get any error/warning messages when running the cleanup utility?

Do you have "/root/vpd.properties" or "/opt/qnx640" on your system after running the cleanup utility?



> Hi,
> 
> I have the same problem with ubuntu 8.10, and until now i don't solve it. Even
>  though i used QNXLinuxCleanup.pl to remove any possible previous version of 
> qnx, but nothing happens. The mentioned error continues.
> 
> is ther any other way to solve this problem?
> 
> Thanks a lot


Re: Installation on Linux failing due to previous install  
Hi Natalia,

The cleanup utility appears to be working fine, without error/warning messages. It removes "/etc/opt640" and "/etc/qnx" 
directories, but puts empty files into root directory ( "/root/vpd.properties" and "/root/vpd.properties.bk"). At the 
end i reboot the system to get a "clear environment".

When i try to install  qnx 6.4 version again, the problem appears when it starts to extract the files from archives to 
be installed. Here the process is suddenly stoped and it skips to the end of the installation process. At this moment a 
message appears: "The uninstaller has not been completely. At least one of this file is missing: uninstall.dat, 
uninstaller.jar and uninstaller.bin".

The next stage in the installation process show me:
"Errors occurred during the installation.

An error occurred and product installation failed. Look at the log file
/installLog.txt for details."

At the same time a strange behaviour happens: The konqueror browser open a web page ("http://www.qnx.com/products/forms/
640foryou.html?lic=mtye2mt6vswyf7x3fr52&") like the process had been completed successfully. I tried several times to 
reinstall and used clean utility to removes any previous version, but i get always the same message mentioned.

I attached a log file that i get from tmp directory to be compared with a log file that was sent previously. Are there 
any other directories in the system that need to be removed to make sure that any trace was erased

Thanks a lot
Attachment: Text installOptionalLog.txt 75.85 KB
Re: Installation on Linux failing due to previous install  
Ricardo,

Can you verify the cksum and md5 sum for linux installer (qnxsdp-6.4.0-200810211530-linux.bin):

Check Sum: 1212547439 483299006 
MD5 Sum: c2bdd9b2faac12cd40c1cd937929f588 

Thanks,
Natalia
Re: Installation on Linux failing due to previous install  
Natalia,


The results appear to be right:

# cksum qnxsdp-6.4.0-200810211530-linux.bin 
1212547439 483299006 qnxsdp-6.4.0-200810211530-linux.bin

# md5sum -b qnxsdp-6.4.0-200810211530-linux.bin 
c2bdd9b2faac12cd40c1cd937929f588 *qnxsdp-6.4.0-200810211530-linux.bin

Thanks
Re: Installation on Linux failing due to previous install  
I checked the log files from both installations.  The failure always occurs when a System Environment Variable (PATH) is
 being updated(/etc/profile is being updated).   This is before any of the product files get installed.

Before attempting to re-install 6.4.0, can you verify that your /etc/profile does not contain an INSTALLSHIELD section? 
 Also, please check the permissions on that file.

It is a weird problem, and it does not seem to be related to any previous installations of 6.4.0.  

Natalia
------------------

> Natalia,
> 
> 
> The results appear to be right:
> 
> # cksum qnxsdp-6.4.0-200810211530-linux.bin 
> 1212547439 483299006 qnxsdp-6.4.0-200810211530-linux.bin
> 
> # md5sum -b qnxsdp-6.4.0-200810211530-linux.bin 
> c2bdd9b2faac12cd40c1cd937929f588 *qnxsdp-6.4.0-200810211530-linux.bin
> 
> Thanks


Re: Installation on Linux failing due to previous install  
Natalia,

Good news, you were right!

I checked /etc/profile:

....
umask 022
# Begin INSTALLSHIELD Environment Variable Section
# Do not edit this section manually.

I only removed these last two lines and re-install version 6.4.0 again. Now the installation was completed successfully 
and the /etc/profile was properly changed with qnx's variables 

Every time that the clean utility is used to remove a previous version. it puts these two lines in the profile at the 
end of clean process. In this case i never get to complete the installation.

Thanks very much for your help. It was really usefull
Re: Installation on Linux failing due to previous install  
Hi, 

I come across the same error message but with Windows XP (SP3) installation for QNX 6.5.0. I inherited a second-hand 
Laptop from others, uninstalled a previous instance and tried to install it again. Then I get into the problem. Log 
attached.

Any idea?
Attachment: Text installLog.txt 2 KB
Re: Installation on Linux failing due to previous install  
Never mind - I copied the _uninstall and _jvm folders from another computer to C:\QNX650 and ran the uninstaller.exe. It
 works in my case. 
Re: Installation on Linux failing due to previous install  
I am trying to follow you by copying the _jvm and _uninstall folders from another computer. I am getting this error
A suitable JVM could not be found. Please run the program again using the option -is:javahome<JAVA HOME DIR>

uninstaller.exe -is:javahome C:\Users\mkommi\Desktop\QNX\_jvm

I get java.lang.NoCLassDefFoundError:run exception in thread "main"

I completely uninstalled momentics and ran the windows cleaner couple of times but I am unable to reinstall. The  
environment variables are cleared and I dont see any QNX folder itself in the place I installed it earlier. Can somebody
 please help me reinstall.  
Re: Installation on Linux failing due to previous install  
Please clarify how you launch the installer and copy/paste the error message that you're getting.


> I am trying to follow you by copying the _jvm and _uninstall folders from 
> another computer. I am getting this error
> A suitable JVM could not be found. Please run the program again using the 
> option -is:javahome<JAVA HOME DIR>
> 
> uninstaller.exe -is:javahome C:\Users\mkommi\Desktop\QNX\_jvm
> 
> I get java.lang.NoCLassDefFoundError:run exception in thread "main"
> 
> I completely uninstalled momentics and ran the windows cleaner couple of times
>  but I am unable to reinstall. The  environment variables are cleared and I 
> dont see any QNX folder itself in the place I installed it earlier. Can 
> somebody please help me reinstall.