Search Unity

Can't install on Ubuntu 16.10

Discussion in 'Linux' started by cnswico, Oct 25, 2016.

  1. cnswico

    cnswico

    Joined:
    Oct 24, 2016
    Posts:
    1


    If you can't see the image, it's a gdebi-gtk error dialog which says:

    [ 'unity-editor-5.5.0b5+20160927_amd64.deb' is not a Debian package.

    The MIME of this file type is 'application/x-debian-package' and can not be installed on this system. ]

    Besides from my system having Ubuntu-MATE 16.10 (Yakkety Yak) installed, I can provide no further info.

    I'm trying to install the latest release of Unity Editor but am finding trouble trying to install it. I've tried using the GDebi Package Installer, but it kept giving me the error you read above. I've also tried sudo dpkg -i unity-editor-5.5.0b5+20160927_amd64.deb but it only give me errors as well:

    (Reading database ... 231040 files and directories currently installed.)
    Preparing to unpack unity-editor-5.5.0b5+20160927_amd64.deb ...
    Unpacking unity-editor (5.5.0xb5Linux) ...
    dpkg-deb (subprocess): cannot copy archive member from 'unity-editor-5.5.0b5+20160927_amd64.deb' to decompressor pipe: unexpected end of file or stream
    dpkg-deb: error: subprocess paste returned error exit status 2
    dpkg: error processing archive unity-editor-5.5.0b5+20160927_amd64.deb (--install):
    cannot copy extracted data for './opt/Unity/Editor/Data/PlaybackEngines/iOSSupport/Trampoline/Libraries/libiPhone-lib-il2cpp-dev.a' to '/opt/Unity/Editor/Data/PlaybackEngines/iOSSupport/Trampoline/Libraries/libiPhone-lib-il2cpp-dev.a.dpkg-new': unexpected end of file or stream
    Errors were encountered while processing:
    unity-editor-5.5.0b5+20160927_amd64.deb

    Any idea how I can get through this?
     
  2. cemugurk

    cemugurk

    Joined:
    Nov 27, 2014
    Posts:
    33
    Same problem with me. Couldn't get installed
     
  3. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    It looks like you might have a corrupted download - does the sha1sum match?
     
  4. geeosp

    geeosp

    Joined:
    Aug 15, 2016
    Posts:
    8
    The same with me
    Not first time trying
     
  5. geeosp

    geeosp

    Joined:
    Aug 15, 2016
    Posts:
    8
    sudo dpkg -i unity*.deb
    Selecting previously unselected package unity-editor.
    (Reading database ... 212789 files and directories currently installed.)
    Preparing to unpack unity-editor-5.5.0b5+20160927_amd64.deb ...
    Unpacking unity-editor (5.5.0xb5Linux) ...
    dpkg: dependency problems prevent configuration of unity-editor:
    unity-editor depends on libpng12-0; however:
    Package libpng12-0 is not installed.

    dpkg: error processing package unity-editor (--install):
    dependency problems - leaving unconfigured
    Processing triggers for bamfdaemon (0.5.3+16.10.20160929-0ubuntu1) ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for gnome-menus (3.13.3-6ubuntu4) ...
    Processing triggers for desktop-file-utils (0.23-1ubuntu1) ...
    Processing triggers for mime-support (3.60ubuntu1) ...
    Processing triggers for hicolor-icon-theme (0.15-1) ...
    Errors were encountered while processing:
    unity-editor
     
  6. geeosp

    geeosp

    Joined:
    Aug 15, 2016
    Posts:
    8
    It always asks for libpng12-0 package. I am not sure where I can get it
     
  7. JonSWEDEN

    JonSWEDEN

    Joined:
    Jan 30, 2016
    Posts:
    11
    Ubuntu 16.10 yakkety uses newer version of libpng (libpng16-16)
    Until this is resolved by the Unity Linux Team you can always get libpng12-0 from here (it's removed from the Ubuntu 16.10 repositories)
     
    Last edited: Oct 31, 2016
  8. esteban16108

    esteban16108

    Joined:
    Jan 23, 2014
    Posts:
    159
    Same here, it's not only libpng

    The following packages have unmet dependencies:
    unity-editor : Depends: libpng12-0 but it is not installable
    Recommends: ffmpeg or
    libav-tools but it is not going to be installed
    Recommends: java6-runtime
    Recommends: monodevelop but it is not going to be installed
    Recommends: java7-jdk but it is not installable​

    It could be nice if they can provide a Snap or Flatpack package instead since all the dependencies are self contained.

    http://snapcraft.io/
    http://flatpak.org/
     
    JonSWEDEN likes this.
  9. cloakandpigeon

    cloakandpigeon

    Joined:
    Dec 5, 2014
    Posts:
    3

    To be fair I am just glad they have a Linux version of the editor, I can handle a few dependencies. After install libpng12-0 above the install works fine on 16.10.

    I needed these as well I believe: sudo apt-get install lib32stdc++6 libpq5 npm
     
  10. EdnGameDev

    EdnGameDev

    Joined:
    Sep 4, 2015
    Posts:
    1
    Hi,

    I instaled Unity 5.5.0f3 on my ubuntu 16.10 perfectly, but when i create the projects they complain about missing .net assembly and I can't compile the project. Anyone knows how I can solve it?
     
  11. Normanicus

    Normanicus

    Joined:
    Dec 10, 2016
    Posts:
    1
    Mine has a lot of dependencies, but if i run "sudo apt-get -f install" or "sudo apt --fix-broken install" it just removes unity-editor. Here's the results i got after installing it.

    oki@Normanicus:~$ sudo dpkg -i /home/oki/Downloads/oki.deb
    Selecting previously unselected package unity-editor.
    (Reading database ... 152060 files and directories currently installed.)
    Preparing to unpack /home/oki/Downloads/oki.deb ...
    Unpacking unity-editor (5.1.0f3) ...
    dpkg: dependency problems prevent configuration of unity-editor:
    unity-editor depends on lib32gcc1 (>= 1:4.1.1); however:
    Package lib32gcc1 is not installed.
    unity-editor depends on lib32stdc++6 (>= 4.6); however:
    Package lib32stdc++6 is not installed.
    unity-editor depends on libc6-i386 (>= 2.15); however:
    Package libc6-i386 is not installed.
    unity-editor depends on libpango1.0-0 (>= 1.22.0); however:
    Package libpango1.0-0 is not installed.
    unity-editor depends on libpng12-0; however:
    Package libpng12-0 is not installed.

    dpkg: error processing package unity-editor (--install):
    dependency problems - leaving unconfigured
    Processing triggers for desktop-file-utils (0.23-1) ...
    Processing triggers for mime-support (3.60) ...
    Processing triggers for hicolor-icon-theme (0.15-1) ...
    Errors were encountered while processing:
    unity-editor

    I'm running this on kali linux so it might be a bit different
     
    Last edited: Feb 11, 2017
  12. Jesse_DuBord

    Jesse_DuBord

    Joined:
    Jan 15, 2017
    Posts:
    60
    I just tried installing 5.6.0b6 (downloaded via torrents) on a fresh install of Ubuntu 16.10 x64, and it worked flawlessly. No dependency issues. No grey welcome screen. Things are working great! I used the .deb from the download and installed through Ubuntu Software.
     
  13. ckeenum23

    ckeenum23

    Joined:
    Oct 4, 2016
    Posts:
    6
    Thank you for posting this. I'm about to give 5.6.0b8 a try as you have described. Link for anyone else who has issues with the "official" version that was posted: http://files.unity3d.com/levi/unity-editor-5.6.0b8+20170214.torrent
     
  14. ckeenum23

    ckeenum23

    Joined:
    Oct 4, 2016
    Posts:
    6
    It works! :)

    I had to do a few extra steps because I already had the official version installed.
    1. Remove official version (sudo dpkg --purge unity-editor)
    2. Manually remove the directories Unity creates under /home/name/.local/share/unity3d and another under /opt/ (sudo rm -r FolderNameHere)
    3. Installed the beta version 5.6.0b8 by double clicking and letting Ubuntu Software run
    Thanks again @Jesse_DuBord!
     
    Jesse_DuBord likes this.