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

Installation fails on Debian 7 due to missing easy_install #598

Closed
wwentland opened this issue May 8, 2015 · 3 comments
Closed

Installation fails on Debian 7 due to missing easy_install #598

wwentland opened this issue May 8, 2015 · 3 comments

Comments

@wwentland
Copy link
Contributor

The bootstrap script currently runs into the following error when installing salt on Debian 7 in Vagrant:

This happens when passing -P to enable pip installs, which was necessary to be able to install a, yet unpacked, python-requests version. It is, apparently, not really necessary to install that particular version (cf. 7fc5adf) which was introduced earlier in 1d09eae to "Make sure that a recent enough requests package is installed in Debian/Ubuntu".

[…]
Setting up python-yaml (3.10-4+deb7u1) ...
Setting up rsync (3.0.9-4) ...
update-rc.d: using dependency based boot sequencing
Setting up salt-common (2014.7.5+ds-1~bpo70+1) ...
Setting up salt-master (2014.7.5+ds-1~bpo70+1) ...

Configuration file `/etc/salt/master'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Using current old file as you requested.
Starting salt master control daemon: salt-master.
Setting up salt-minion (2014.7.5+ds-1~bpo70+1) ...

Configuration file `/etc/salt/minion'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
 ==> Using current old file as you requested.
Starting salt minion control daemon: salt-minion.
Processing triggers for python-support ...
sh: 2443: easy_install: not found
 * ERROR: Failed to run install_debian_7_stable()!!!


Stderr from the command:

Luckily one doesn't actually have to pass -P these days anymore, so that an installation is still possible. I'd recommend fixing the script in such a way that python-setuptools is installed before one tries to use easy_install. That being said: Just because pip doesn't work as expected on Squeeze, doesn't necessarily mean that one should continue using easy_install on Wheezy, Jessie or later releases.

@s0undt3ch
Copy link
Contributor

Thanks for reporting this.

@wwentland
Copy link
Contributor Author

@s0undt3ch Thanks for fixing it and your ongoing work in general.

@s0undt3ch
Copy link
Contributor

Anytime!

s0undt3ch added a commit to s0undt3ch/salt that referenced this issue Jul 17, 2015
* Make sure setuptools is installed before using it. saltstack/salt-bootstrap#598.
* `systemd` is only fully supported from 15.04 onwards. saltstack/salt-bootstrap#602
* Fix debian mirrors issue. Thanks Wolodja Wentland(babilen). saltstack/salt-bootstrap#606
* Fix python-jinja2 repo move on RHEL6. Thanks lomeroe. saltstack/salt-bootstrap#621
* Allow skipping services. Thanks denmat. saltstack/salt-bootstrap#455
* Fix missing Debian init script. saltstack/salt-bootstrap#607 saltstack#25270 and saltstack#25456
* Fix SmartOS etc path. Thanks Bret Fisher. saltstack/salt-bootstrap#624
* Fix possible unbound variable in Gentoo. saltstack/salt-bootstrap#625
* Properly detect the git binary in SmartOS. saltstack/salt-bootstrap#611
s0undt3ch added a commit to s0undt3ch/salt that referenced this issue Jul 17, 2015
* Make sure setuptools is installed before using it. saltstack/salt-bootstrap#598.
* `systemd` is only fully supported from 15.04 onwards. saltstack/salt-bootstrap#602
* Fix debian mirrors issue. Thanks Wolodja Wentland(babilen). saltstack/salt-bootstrap#606
* Fix python-jinja2 repo move on RHEL6. Thanks lomeroe. saltstack/salt-bootstrap#621
* Allow skipping services. Thanks denmat. saltstack/salt-bootstrap#455
* Fix missing Debian init script. saltstack/salt-bootstrap#607 saltstack#25270 and saltstack#25456
* Fix SmartOS etc path. Thanks Bret Fisher. saltstack/salt-bootstrap#624
* Fix possible unbound variable in Gentoo. saltstack/salt-bootstrap#625
* Properly detect the git binary in SmartOS. saltstack/salt-bootstrap#611
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

No branches or pull requests

2 participants