MATLAB Answers

How to solve the installation error: "Invalid distance-too far back" on Linux x64?

267 views (last 30 days)
Italo Nastasi
Italo Nastasi on 10 Nov 2015
Edited: Ian West on 18 Apr 2020
Every time I try to install Matlab 2015b on xubuntu 15.10 x64 I receive this error message: "Invalid Distance- too far back" for the file doc_en_common. I've tried to redownload everything but didn't worked. What can I do to solve this problem?

Accepted Answer

Esha Bhargava
Esha Bhargava on 16 Nov 2015
The 'invalid distance too far back' error indicates that the MATLAB installer is encountering an error when installing a specific file, which is usually mentioned in the error message text.
Try the following steps to resolve the error:
1. Temporarily disable any antivirus or security software that is running on the system.
The security software may be making a false detection which is preventing a specific file from being installed; this disrupts the installation process. Even if a detection is not logged in your security software, the act of scanning the file may delay the installation of that file long enough to disrupt the installation process.
If you are running Windows, you should also try restarting the system into Windows Safe Mode with Networking. This will prevent any programs that may be interfering with the installation from starting at Windows boot.
2. If the installation files are being accessed from a remote location, try copying them to the local hard drive of the system where you are performing the installation.
Installing from a remote location can cause installation errors if the network connection is disrupted during the installation process. Installing from a remote location can also sometimes cause unzipping errors. Copy the installation files to the local system before starting the installation.
3. Re-download the installation files.
If you are installing from a set of installation files provided to you by your license administrator, there may be a problem with the installation files. Re-download the installation files, or have your administrator re-download them and provide them to you again. Make sure you copy the installation files to your local hard drive and disable any antivirus or security software before starting the installation
  3 Comments
Ian West
Ian West on 17 Apr 2020
Sorry, Zhimin. I don't have an easy answer for you here. I'll update if I find a community supported workaround, to avoid 8u181 in the installer.
I'm following Matlab Java instructions found here, to update the locally installed version of Java, and set the system's environment variables to attempt to get passed this defect.https://au.mathworks.com/help/compiler_sdk/java/configure-your-java-environment.html

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by