Install fails with unmet dependencies on debian.
Trying to run
wget -O - http://bootstrap.saltstack.org | sudo sh
gives me the following error:
* INFO: PIPED THROUGH sh -- Version 1.5
* INFO: System Information:
* INFO: CPU: GenuineIntel
* INFO: CPU Arch: x86_64
* INFO: OS Name: Linux
* INFO: OS Version: 2.6.32-5-amd64
* INFO: Distribution: Debian 6.0
* INFO: Installing minion
* INFO: Found function install_debian_6_0_deps
* INFO: Found function install_debian_stable
* INFO: Found function install_debian_restart_daemons
* INFO: Running install_debian_6_0_deps()
Hit http://debian.lcs.mit.edu squeeze Release.gpg
Ign http://debian.lcs.mit.edu/debian/ squeeze/main Translation-en
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://debian.lcs.mit.edu/debian/ squeeze/main Translation-en_US
Ign http://security.debian.org/ squeeze/updates/main Translation-en
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US
Hit http://debian.lcs.mit.edu squeeze Release
Hit http://security.debian.org squeeze/updates Release
Hit http://debian.lcs.mit.edu squeeze/main Sources
Hit http://debian.lcs.mit.edu squeeze/main amd64 Packages
Hit http://security.debian.org squeeze/updates/main Sources
Hit http://security.debian.org squeeze/updates/main amd64 Packages
Hit http://archive.cloudera.com squeeze-cdh3 Release.gpg
Ign http://archive.cloudera.com/debian/ squeeze-cdh3/contrib Translation-en
Ign http://archive.cloudera.com/debian/ squeeze-cdh3/contrib Translation-en_US
Hit http://archive.cloudera.com squeeze-cdh3 Release
Hit http://cran.case.edu squeeze-cran/ Release.gpg
Ign http://archive.cloudera.com squeeze-cdh3/contrib Sources
Ign http://archive.cloudera.com squeeze-cdh3/contrib amd64 Packages
Ign http://cran.case.edu/bin/linux/debian/ squeeze-cran/ Translation-en
Ign http://archive.cloudera.com squeeze-cdh3/contrib Sources
Ign http://archive.cloudera.com squeeze-cdh3/contrib amd64 Packages
Hit http://archive.cloudera.com squeeze-cdh3/contrib Sources
Ign http://cran.case.edu/bin/linux/debian/ squeeze-cran/ Translation-en_US
Hit http://archive.cloudera.com squeeze-cdh3/contrib amd64 Packages
Hit http://cran.case.edu squeeze-cran/ Release
Hit http://backports.debian.org squeeze-backports Release.gpg
Ign http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-en_US
Hit http://cran.case.edu squeeze-cran/ Packages
Hit http://debian.madduck.net squeeze-backports Release.gpg
Ign http://debian.madduck.net/repo/ squeeze-backports/main Translation-en
Ign http://debian.madduck.net/repo/ squeeze-backports/main Translation-en_US
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
Ign http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en_US
Hit http://backports.debian.org squeeze-backports Release
Hit http://debian.madduck.net squeeze-backports Release
Hit http://backports.debian.org squeeze-backports/main amd64 Packages/DiffIndex
Hit http://backports.debian.org squeeze-backports/contrib amd64 Packages/DiffIndex
Hit http://backports.debian.org squeeze-backports/non-free amd64 Packages/DiffIndex
Ign http://debian.madduck.net squeeze-backports/main Sources
Hit http://backports.debian.org squeeze-backports/main amd64 Packages
Hit http://s3tools.org stable/ Release.gpg
Ign http://s3tools.org/repo/deb-all/ stable/ Translation-en
Ign http://s3tools.org/repo/deb-all/ stable/ Translation-en_US
Ign http://debian.madduck.net squeeze-backports/main amd64 Packages
Hit http://s3tools.org stable/ Release
Ign http://debian.madduck.net squeeze-backports/main Sources
Hit http://s3tools.org stable/ Packages
Ign http://debian.madduck.net squeeze-backports/main amd64 Packages
Ign http://debian.madduck.net squeeze-backports/main amd64 Packages
Hit http://debian.madduck.net squeeze-backports/main Sources
Hit http://debian.madduck.net squeeze-backports/main amd64 Packages
Reading package lists...
* INFO: Running install_debian_stable()
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
salt-minion : Depends: salt-common (= 0.12.1-1~bpo60+1~madduck.2) but it is not going to be installed
E: Broken packages
* ERROR: Failed to run install_debian_stable()!!!
I see that you're running the stable version. Yes there's some debian issues, see #57.
You can test the following though(which is the upcoming debian fix):
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh | sudo sh
Thanks for the prompt response. The command you suggested exits with the following error:
- ERROR: pip based installations were not allowed. Retry using '-P'
-
INFO: PIPED THROUGH sh -- Version 1.5.1
-
WARN: Running the unstable version of bootstrap-salt.sh
-
INFO: System Information:
-
INFO: CPU: GenuineIntel
-
INFO: CPU Arch: x86_64
-
INFO: OS Name: Linux
-
INFO: OS Version: 2.6.32-5-amd64
-
INFO: Distribution: Debian 6.0
-
INFO: Installing minion
-
INFO: Found function install_debian_6_0_deps
-
INFO: Found function install_debian_stable
-
INFO: Found function install_debian_restart_daemons
-
INFO: Running install_debian_6_0_deps()
-
ERROR: pip based installations were not allowed. Retry using '-P'
Usage : bootstrap-salt.sh [options]
Installation types:
- stable (default)
- daily (ubuntu specific)
- git
Examples: $ bootstrap-salt.sh $ bootstrap-salt.sh stable $ bootstrap-salt.sh daily $ bootstrap-salt.sh git $ bootstrap-salt.sh git develop $ bootstrap-salt.sh git 8c3fadf15ec183e5ce8c63739850d543617e4357
On Mon, Mar 4, 2013 at 12:19 PM, Pedro Algarvio [email protected]:
I see that you're running the stable version. Yes there's some debian issues, see #57 https://github.com/saltstack/salt-bootstrap/issues/57.
You can test the following though(which is the upcoming debian fix):
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh | sudo sh
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt-bootstrap/issues/71#issuecomment-14392509 .
Ah, yes.
In order for the salt minions to have stable connections to the master, pyzmq needs to be compiled against ZMQ3. Unfortunately, Debian packages move a bit slow compared to what we sometimes need and there ain't such a package for Debian(supported by Debian).
So, we added another argument -P which will allow the script to install the proper pyzmq using python's pypi. But since that's not a Debian package, we require the user to explicitly allow such installations.
So, if you're ok with that, add -P to your arguments:
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh | sudo sh -s -- -P
Making some progress, but still ends in the following error and doesn't seem to have salt installed anywhere that I know to look.
Successfully installed pyzmq
Cleaning up...
* INFO: Running install_debian_restart_daemons() * INFO: Salt
installed!
sh: /etc/init.d/salt-minion: not found
/etc/init.d# salt
bash: salt: command not found
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh| sudo sh -s -- -P
setuptools_subversion: Error running "svn list" no
previously-included directories found matching 'docs/build'
no previously-included directories found matching 'docs/gh-pages'
warning: no directories found matching 'bundled/uuid' warning: no
previously-included files found matching 'bundled/uuid/Makefile*'
warning: no previously-included files found matching
'bundled/zeromq/src/Makefile*' warning: no previously-included files
found matching 'bundled/zeromq/src/platform.hpp' warning: no
previously-included files found matching 'setup.cfg'
warning: no previously-included files found matching 'zmq/libzmq*'
warning: no previously-included files matching '__pycache__/*' found
anywhere in distribution warning: no previously-included files matching
'.deps/*' found anywhere in distribution warning: no
previously-included files matching '*.so' found anywhere in distribution
warning: no previously-included files matching '*.pyd' found anywhere in
distribution
warning: no previously-included files matching '.git*' found anywhere
in distribution
warning: no previously-included files matching '.DS_Store' found
anywhere in distribution warning: no previously-included files matching
'.mailmap' found anywhere in distribution
Successfully installed pyzmq
Cleaning up...
* INFO: Running install_debian_restart_daemons() * INFO: Salt
installed!
sh: /etc/init.d/salt-minion: not found
Hmm, the latest debian stable package is 0.12, old, could you install from git, the latest stable 0.13.1?
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh | sudo sh -s -- -P git v0.13.1
Looks like I ended up with salt-minion but no salt-master.
On Mon, Mar 4, 2013 at 1:38 PM, Pedro Algarvio [email protected]:
Hmm, the latest debian stable package is 0.12, old, could you install from git, the latest stable 0.13.1?
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh | sudo sh -s -- -P git v0.13.1
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt-bootstrap/issues/71#issuecomment-14396803 .
Using which command?
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh | sudo sh -s -- -P git v0.13.1
On Tue, Mar 5, 2013 at 1:18 PM, Pedro Algarvio [email protected]:
Using which command?
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt-bootstrap/issues/71#issuecomment-14455867 .
That command should install you a minion, a master and a syndic.
Can you paste the full output of:
wget -O - https://github.com/s0undt3ch/salt-bootstrap/raw/issues/57/bootstrap-salt.sh | sudo sh -s -- -D -P git v0.13.1
The Debian changes are now merged in our develop branch.
Can you paste the full output of:
wget -O - https://github.com/saltstack/salt-bootstrap/raw/develop/bootstrap-salt.sh | sudo sh -s -- -D -P git v0.13.1
Output from running command you requested.
https://gist.github.com/anonymous/5100178
Looks like I still don't quite have it.
$ salt -bash: salt: command not found
Thanks for your help by the way.
-Steve
On Wed, Mar 6, 2013 at 7:14 AM, Pedro Algarvio [email protected]:
The Debian changes are now merged in our develop branch.
Can you paste the full output of:
wget -O - https://github.com/saltstack/salt-bootstrap/raw/develop/bootstrap-salt.sh | sudo sh -s -- -D -P git v0.13.1
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt-bootstrap/issues/71#issuecomment-14496321 .
@bauer1j are you still having issues?
I haven't tried again since the last message I sent. Output from the suggested command was at the gist I included above.
I do have salt working great on Ubuntu boxes I own. Just not able to get a salt master going on the debian box.
On Mon, Mar 18, 2013 at 1:42 PM, Pedro Algarvio [email protected]:
@bauer1j https://github.com/bauer1j are you still having issues?
— Reply to this email directly or view it on GitHubhttps://github.com/saltstack/salt-bootstrap/issues/71#issuecomment-15069653 .
Ok. I'm closing this then. When you try again, reopen or create a new ticket if need be.