Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. We're excited to be bringing you the newest Unity features, news, demos, and we've even got some special guests from some of the industry’s most storied franchises. Set a reminder to tune in on YouTube here
    Dismiss Notice
  3. Unity 2018.3 is now released.
    Dismiss Notice

[Solved] Can't get Unity 2018.2.7f1 to install on Travis CI

Discussion in 'Linux Editor' started by dario_zubovic, Nov 11, 2018.

  1. dario_zubovic

    dario_zubovic

    Joined:
    Jan 29, 2016
    Posts:
    6
    I'm trying to setup unity on Travis CI. It's installed with unattended flag and fails with following error:
    Code (CSharp):
    1. Installation failed, abortingmainWindowContinuegtk-quitInstallation failed/Users/Shared/UnityEditor/Data/PlaybackEnginesDocumentationEditor/DataEditor/Standard Assets.tar.xz.pkg/Applications/Unityinstall-location="Fatal error: required formats (xar, cpio, tar, gzip, xz) are not supported by system libarchiveFatal error: required formats (xar, cpio, tar, gzip, xz) are not supported by system libarchive

    Dependencies are installed with:
    Code (CSharp):
    1. sudo apt-get install -y unzip libgtk2.0-0 libsoup2.4-1 libarchive13 libgconf-2-4 p7zip-full gtk2.0 libnss3 tar zip gzip cpio xz-utils
    Am I missing any dependencies? Running Travis on Ubuntu Xenial.


    Install script:
    Code (CSharp):
    1. # unity
    2. echo "Downloading Unity..."
    3. curl https://beta.unity3d.com/download/dad990bf2728/UnitySetup-2018.2.7f1
    4. sudo chmod +x ./UnitySetup-2018.2.7f1
    5. echo y | sudo ./UnitySetup-2018.2.7f1 --unattended --install-location=./Editor --verbose --download-location=/tmp/unity --components=Unity,WebGL
    6. mkdir -p $HOME/.local/share/unity3d/Certificates/
    7. sudo chown -R $USER:$USER ./Editor

    Full output (there's a bunch of binary junk before that):
    Code (CSharp):
    1. availableSpaceLabelaccess::can-writedownloadLocationButtoninstallLocationButtonbackButtonforwardButtonHOMErequiredSpaceLabel/optUnity-2018.2.7f1Space availableTotal space requiredUnable to query available space for '%s'.
    2. Required space %0.2fGB is greater than available space %0.2fGB on volume, aborting
    3. downloadLocationTemporaryCheckboxUnable to write to download location '%s', aborting
    4. Unable to write to install location '%s', aborting
    5. Required installation size: %s
    6. downloadLocationCustomCheckbox>installationDetailsBufferinstallationDetailsScrollViewinstallingProgressBar%s%sError opening archive %s: %s
    7. Error reading archive %s: %s
    8. Preparing %sPayload%s/%sPackageInfoInstalling %s
    9. Skipping package %s
    10. Unsupported package type: %s
    11. Installation failed, abortingmainWindowContinuegtk-quitInstallation failed/Users/Shared/UnityEditor/Data/PlaybackEnginesDocumentationEditor/DataEditor/Standard Assets.tar.xz.pkg/Applications/Unityinstall-location="Fatal error: required formats (xar, cpio, tar, gzip, xz) are not supported by system libarchiveFatal error: required formats (xar, cpio, tar, gzip, xz) are not supported by system libarchive
    12. Extracting %s
    13. ========================
    14. Error: Missing payload in packageError: Missing package info in packageError creating extraction directory '%s'
    15. �?titlecomponentDescriptionLabelcomponentListStoreurldescriptionmd5mandatoryinstalledsizerequires_unitycomponentSizeLabelcomponentListtoggledactiveInstallTitlechangedSelecting %s
    16. ,Available components: %s
    17. Install space requiredMultiple components selected.0settingsSuccessfully downloaded %s => %s
    18. Unable to download any valid component lists, abortingError loading components from '%s', aborting
    19. Error loading settings, abortingUnknown component '%s' requested
    20. Select a component to see its description.[settings]
    21. ini_url1=https://netstorage.unity3d.com/unity/dad990bf2728/unity-2018.2.7f1-linux.ini
    22. ini_url2=https://download.unity3d.com/download_unity/dad990bf2728/unity-2018.2.7f1-linux.ini
    23. ini_url3=https://beta.unity3d.com/download/dad990bf2728/unity-2018.2.7f1-linux.ini
    24. ini_url4=https://files.unity3d.com/bootstrapper/dad990bf2728/unity-2018.2.7f1-linux.ini
    25. use-thread-contextDownload of '%s' failed
    26. (Unknown)response-headersLocationRedirecting to %s
    27. Error %d getting '%s'
    28. got-headersgot-chunkGETChecksum for downloaded '%s' (%s) doesn't match expectation (%s)Download of '%s' cancelled by user
    29. licenseCheckboxlicenseTextBuffer
    30. Do you accept the terms of the License Agreement? (y/n)UNITY TERMS OF SERVICE
    31. Last updated: June 28, 2016
    32. Unity Technologies ApS (“Unity”, “our” or “we”) provides (....)
     
  2. dario_zubovic

    dario_zubovic

    Joined:
    Jan 29, 2016
    Posts:
    6
    Ah, my bad... Linux instances on free Travis CI have tiny storage, not enough for Unity installation. Switched to OSX now and everything is fine.

    EDIT: If anybody finds this thread: Looks like it's still not fixed since editor requires activation to build. Username/password activation conveniently doesn't work in batchmode, so you'll need to buy Plus/Pro license to make CI work. Use -serial argument to supply license serial key.
    Unity, this is a crappy policy, personal users should be able to CI.
     
    Last edited: Nov 12, 2018
  3. unity_qj65t-V2DB8gZw

    unity_qj65t-V2DB8gZw

    Joined:
    Mar 13, 2018
    Posts:
    3
    Claytonious likes this.