easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

How to make EE work with Ubuntu 16.10?

Open TopologyApplied opened this issue 10 years ago • 8 comments

lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.10 Release: 16.10 Codename: yakkety

Ubuntu 16.10 (GNU/Linux 4.8.0-26-generic x86_64)

sudo bash ee [sudo] password for user: Executing apt-get update, please wait... EasyEngine (ee) only support Ubuntu 12.04/14.04 and Debian 7.x/8.x

Since EE supports Ubuntu 16.04, I thought it should work with 16.10 as well.

Any fix to install EE on Ubuntu 16.10?

TopologyApplied avatar Nov 24 '16 08:11 TopologyApplied

you can circumvent this by disabling OS version check in the ee file itself by removing this part

if [ "$ee_linux_distro" != "Ubuntu" ] && [ "$ee_linux_distro" != "Debian" ]; then ee_lib_echo_fail "EasyEngine (ee) is made for Ubuntu and Debian only as of now" ee_lib_echo_fail "You are free to fork EasyEngine (ee): https://github.com/rtCamp/easyengine/fork" ee_lib_echo_fail "EasyEngine (ee) only support Ubuntu 12.04/14.04 and Debian 7.x/8.x" exit 100 fi

not sure if it will work and will it crash something, but you can still try

miloszorica avatar Dec 12 '16 18:12 miloszorica

did this work?

MeonValleyWeb avatar Jan 30 '17 09:01 MeonValleyWeb

In the installer script,

You can simply modify these lines and add 16.10,

lsb_release -d | egrep -e "12.04|14.04|16.04|16.10|wheezy|jessie" &>> /dev/null
if [ "$?" -ne "0" ]; then
    ee_lib_echo_fail "EasyEngine (ee) only support Ubuntu 12.04/14.04 and Debian 7.x/8.x"
    exit 100
fi

But EE is only supported for LTS releases and YMMV. Closing this issue for now. You may continue the discussion.

mbtamuli avatar Jan 31 '17 16:01 mbtamuli

Sounds like a plan but not sure how you would do this from the standard install procedure listed in the docs, as your pulling the package using wget which obviously fires up the installation script?

MeonValleyWeb avatar Feb 01 '17 10:02 MeonValleyWeb

@andrew40 if you tinker a little, you'll find out that those are two different commands, one being wget and another being running that file. So you can do a wget -qO ee rt.cx/ee, then edit the ee file in your favorite editor to open your favorite editor to edit /tmp/easyengine/install file and then continue to sudo bash ee

bnap00 avatar Feb 01 '17 11:02 bnap00

It seems to work with a few caveats and fails but recovered - doing some testing now..

Update: it doesn't work categoric fail so will need to relook or re-install using 16:04

'Executing apt-get update, please wait... Creating EasyEngine log directory, please wait... E: Package 'python3-setuptools' has no installation candidate E: Package 'python3-dev' has no installation candidate E: Unable to locate package sqlite3 E: Package 'python-software-properties' has no installation candidate Reading package lists... Building dependency tree... Reading state information... Package python3-setuptools is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python3-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

Package python-software-properties is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source However the following packages replace it: software-properties-common

[ Wed 1 Feb 11:21:36 GMT 2017 ] Unable to install pre depedencies, exit status 1 Cloning EasyEngine, please wait... Installing EasyEngine, please wait... Traceback (most recent call last): File "setup.py", line 2, in from setuptools import setup, find_packages ImportError: No module named 'setuptools' [ Wed 1 Feb 11:22:04 GMT 2017 ] Unable to install EasyEngine, exit status 1 chown: cannot access '/var/lib/ee/': No such file or directory chmod: cannot access '/var/lib/ee/': No such file or directory ee: line 717: cd: /etc/ee: No such file or directory ee: line 795: ee: command not found

For EasyEngine (ee) auto completion, run the following command

source /etc/bash_completion.d/ee_auto.rc

EasyEngine (ee) installed/updated successfully EasyEngine (ee) help: http://docs.rtcamp.com/easyengine/'

MeonValleyWeb avatar Feb 01 '17 11:02 MeonValleyWeb

@andrew40 just install those packages manually and rerun the installation command.

bnap00 avatar Feb 01 '17 11:02 bnap00

nah doesnt work either. Only installed 16.10 on an old mac server so going to roll back to 16.04, just so I can use its simplicity.

Too many missing packages and changed references to some of the python packages. Will look in more detail when i have a bit more time, but am assuming this will be on the roadmap?

MeonValleyWeb avatar Feb 01 '17 19:02 MeonValleyWeb