The 10.3 TIM MTP image tim-mtp-Linux-el5-x64-10.3.0.15.990015* fails to install on CentOS 5.x with error "Unknown file type "application/x-tar, POSIX""

Document ID : KB000004349
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When installing TIM 10.3 on an MTP version running CentOS 5.x the first 2 images machine-settings-mtp-el5-x64-10.3.0.15.990015 and tim-mtp-requisites-Linux-el5-x64-10.3.0.15.990015 upload/install successfully but the third one tim-mtp-Linux-el5-x64-10.3.0.15.990015 fails with this this type of error:

Received package from browser, length = 14223360 

Unknown file type "application/x-tar, POSIX" 

Environment:
MTP 10.x running CentOS 5.xAPM TIM 10.3
Cause:

The  Python script /usr/local/wily/system/python/pkginstall3.py needs to have split command separator changed from ';' to ',' 

Resolution:

1. Change this line in script /usr/local/wily/system/python/pkginstall3.py:

self.package_type = self.package_type.split(';', 1)[0]

to

self.package_type = self.package_type.split(',', 1)[0]

 

2. Re-upload the 3rd image tim-mtp-Linux-el5-x64-10.3.0.15.990015 and the install should then proceed without error.