Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Ubuntu to 16.04 #27

Merged
merged 0 commits into from
May 18, 2017
Merged

Update Ubuntu to 16.04 #27

merged 0 commits into from
May 18, 2017

Conversation

BR0kEN-
Copy link
Owner

@BR0kEN- BR0kEN- commented Apr 27, 2017

#25

@BR0kEN- BR0kEN- self-assigned this Apr 27, 2017
@BR0kEN-
Copy link
Owner Author

BR0kEN- commented Apr 28, 2017

apt install -y ansible causes the following:

Traceback (most recent call last):
  File "/usr/local/bin/pip", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2691, in <module>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 668, in subscribe
    callback(dist)
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2691, in <lambda>
    add_activation_listener(lambda dist: dist.activate())
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2192, in activate
    self.insert_on(path)
  File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2293, in insert_on
    "with distribute. Found one at %s" % str(self.location))
ValueError: A 0.7-series setuptools cannot be installed with distribute. Found one at /usr/lib/python2.7/dist-packages

apt must not install Ansible since it's already at place by pip.

@BR0kEN- BR0kEN- mentioned this pull request Apr 28, 2017
23 tasks
@BR0kEN-
Copy link
Owner Author

BR0kEN- commented Apr 28, 2017

ppa:chris-lea/node.js causes the following:

Failed to fetch http://ppa.launchpad.net/chris-lea/node.js/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found

@BR0kEN-
Copy link
Owner Author

BR0kEN- commented May 3, 2017

Creating Matrix on host with Ubuntu 16.04 leads to:

BR0kEN@Macintosh:~/cibox (issue-25) $ ./cikit matrix/matrix.yml --limit=bondarenko.super

PLAY [all] *********************************************************************

TASK [setup] *******************************************************************
fatal: [bondarenko.super]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Shared connection to bondarenko.super closed.\r\n", "module_stdout": "/bin/sh: 1: /usr/bin/python: not found\r\n", "msg": "MODULE FAILURE"}
	to retry, use: --limit @/Users/BR0kEN/cibox/matrix/matrix.retry

PLAY RECAP *********************************************************************
bondarenko.super           : ok=0    changed=0    unreachable=0    failed=1

This can be resolved by executing the following commands on host:

sudo apt-get install python2.7 -y
sudo update-alternatives --install /usr/bin/python python /usr/bin/python2.7 1

Fixed by 08041d1

@BR0kEN- BR0kEN- merged this pull request into master May 18, 2017
@BR0kEN- BR0kEN- deleted the issue-25 branch November 23, 2017 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant