Re: [vagrant-up] SSH command responded with a non-zero exit status

29 views
Skip to first unread message
Message has been deleted

Alvaro Miranda Aguilera

unread,
Mar 19, 2018, 3:54:06 AM3/19/18
to vagra...@googlegroups.com
Hello

Vagrant is running fine

the project you are using have some commands that are failing.


you can check the content of the Vagrantfile and run the provisioning there manually to check where it fails.

Per the error, the installation is failing due package python-cryptography is not available for installation.

If this is a shell script, could be is missing some apt-get update 

Whats the project you are using for this?

Alvaro.

On Sat, Mar 17, 2018 at 6:19 PM, ManofScience <blew...@gmail.com> wrote:
I am using a PC (not MAC) to install Vagrant. I'm following someone else's walkthrough on Youtube and I'm hitting a wall where the Youtuber isn't probably because he already had this setup on his machine.

This is the response I'm getting...

The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

-----------------------------------------------------------------------------------------------------------------------------

control: Running provisioner: shell...
    control: Running: inline script
    control: Reading package lists...
    control: Building dependency tree...
    control: Reading state information...
    control: software-properties-common is already the newest version.
    control: 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
    control: gpg:
    control: keyring `/tmp/tmpxbvOeh/secring.gpg' created
    control: gpg:
    control: keyring `/tmp/tmpxbvOeh/pubring.gpg' created
    control: gpg:
    control: requesting key 7BB9C367 from hkp server keyserver.ubuntu.com
    control: gpg:
    control: /tmp/tmpxbvOeh/trustdb.gpg: trustdb created
    control: gpg:
    control: key 7BB9C367: public key "Launchpad PPA for Ansible, Inc." imported
    control: gpg:
    control: Total number processed: 1
    control: gpg:
    control:               imported: 1
    control:   (RSA: 1)
    control: OK
    control: Hit http://security.ubuntu.com precise-security Release.gpg
    control: Hit http://security.ubuntu.com precise-security Release
    control: Hit http://security.ubuntu.com precise-security/main Sources
    control: Hit http://ppa.launchpad.net precise Release.gpg
    control: Hit http://archive.ubuntu.com precise Release.gpg
    control: Hit http://security.ubuntu.com precise-security/universe Sources
    control: Hit http://security.ubuntu.com precise-security/main amd64 Packages
    control: Hit http://archive.ubuntu.com precise-updates Release.gpg
    control: Hit http://security.ubuntu.com precise-security/universe amd64 Packages
    control: Hit http://security.ubuntu.com precise-security/main i386 Packages
    control: Hit http://security.ubuntu.com precise-security/universe i386 Packages
    control: Hit http://ppa.launchpad.net precise Release
    control: Hit http://archive.ubuntu.com precise-backports Release.gpg
    control: Hit http://security.ubuntu.com precise-security/main TranslationIndex
    control: Hit http://security.ubuntu.com precise-security/universe TranslationIndex
    control: Hit http://archive.ubuntu.com precise Release
    control: Hit http://security.ubuntu.com precise-security/main Translation-en
    control: Hit http://security.ubuntu.com precise-security/universe Translation-en
    control: Hit http://archive.ubuntu.com precise-updates Release
    control: Hit http://ppa.launchpad.net precise/main Sources
    control: Hit http://archive.ubuntu.com precise-backports Release
    control: Hit http://archive.ubuntu.com precise/main Sources
    control: Hit http://ppa.launchpad.net precise/main amd64 Packages
    control: Hit http://archive.ubuntu.com precise/restricted Sources
    control: Hit http://archive.ubuntu.com precise/universe Sources
    control: Hit http://ppa.launchpad.net precise/main i386 Packages
    control: Hit http://archive.ubuntu.com precise/multiverse Sources
    control: Hit http://archive.ubuntu.com precise/main amd64 Packages
    control: Hit http://ppa.launchpad.net precise/main TranslationIndex
    control: Hit http://archive.ubuntu.com precise/restricted amd64 Packages
    control: Hit http://archive.ubuntu.com precise/universe amd64 Packages
    control: Hit http://ppa.launchpad.net precise/main Translation-en
    control: Hit http://archive.ubuntu.com precise/multiverse amd64 Packages
    control: Hit http://archive.ubuntu.com precise/main i386 Packages
    control: Hit http://archive.ubuntu.com precise/restricted i386 Packages
    control: Hit http://archive.ubuntu.com precise/universe i386 Packages
    control: Hit http://archive.ubuntu.com precise/multiverse i386 Packages
    control: Hit http://archive.ubuntu.com precise/main TranslationIndex
    control: Hit http://archive.ubuntu.com precise/multiverse TranslationIndex
    control: Hit http://archive.ubuntu.com precise/restricted TranslationIndex
    control: Hit http://archive.ubuntu.com precise/universe TranslationIndex
    control: Hit http://archive.ubuntu.com precise-updates/main Sources
    control: Hit http://archive.ubuntu.com precise-updates/restricted Sources
    control: Hit http://archive.ubuntu.com precise-updates/universe Sources
    control: Hit http://archive.ubuntu.com precise-updates/multiverse Sources
    control: Hit http://archive.ubuntu.com precise-updates/main amd64 Packages
    control: Hit http://archive.ubuntu.com precise-updates/restricted amd64 Packages
    control: Hit http://archive.ubuntu.com precise-updates/universe amd64 Packages
    control: Hit http://archive.ubuntu.com precise-updates/multiverse amd64 Packages
    control: Hit http://archive.ubuntu.com precise-updates/main i386 Packages
    control: Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages
    control: Hit http://archive.ubuntu.com precise-updates/universe i386 Packages
    control: Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages
    control: Hit http://archive.ubuntu.com precise-updates/main TranslationIndex
    control: Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex
    control: Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex
    control: Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex
    control: Hit http://archive.ubuntu.com precise-backports/main Sources
    control: Hit http://archive.ubuntu.com precise-backports/restricted Sources
    control: Hit http://archive.ubuntu.com precise-backports/universe Sources
    control: Hit http://archive.ubuntu.com precise-backports/multiverse Sources
    control: Hit http://archive.ubuntu.com precise-backports/main amd64 Packages
    control: Hit http://archive.ubuntu.com precise-backports/restricted amd64 Packages
    control: Hit http://archive.ubuntu.com precise-backports/universe amd64 Packages
    control: Hit http://archive.ubuntu.com precise-backports/multiverse amd64 Packages
    control: Hit http://archive.ubuntu.com precise-backports/main i386 Packages
    control: Hit http://archive.ubuntu.com precise-backports/restricted i386 Packages
    control: Hit http://archive.ubuntu.com precise-backports/universe i386 Packages
    control: Hit http://archive.ubuntu.com precise-backports/multiverse i386 Packages
    control: Hit http://archive.ubuntu.com precise-backports/main TranslationIndex
    control: Hit http://archive.ubuntu.com precise-backports/multiverse TranslationIndex
    control: Hit http://archive.ubuntu.com precise-backports/restricted TranslationIndex
    control: Hit http://archive.ubuntu.com precise-backports/universe TranslationIndex
    control: Hit http://archive.ubuntu.com precise/main Translation-en
    control: Hit http://archive.ubuntu.com precise/multiverse Translation-en
    control: Hit http://archive.ubuntu.com precise/restricted Translation-en
    control: Hit http://archive.ubuntu.com precise/universe Translation-en
    control: Hit http://archive.ubuntu.com precise-updates/main Translation-en
    control: Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en
    control: Hit http://archive.ubuntu.com precise-updates/restricted Translation-en
    control: Hit http://archive.ubuntu.com precise-updates/universe Translation-en
    control: Hit http://archive.ubuntu.com precise-backports/main Translation-en
    control: Hit http://archive.ubuntu.com precise-backports/multiverse Translation-en
    control: Hit http://archive.ubuntu.com precise-backports/restricted Translation-en
    control: Hit http://archive.ubuntu.com precise-backports/universe Translation-en
    control: Reading package lists...
    control: Reading package lists...
    control: Building dependency tree...
    control: Reading state information...
    control: Some packages could not be installed. This may mean that you have
    control: requested an impossible situation or if you are using the unstable
    control: distribution that some required packages have not yet been created
    control: or been moved out of Incoming.
    control: The following information may help to resolve the situation:
    control: The following packages have unmet dependencies:
    control:  ansible : Depends: python-cryptography but it is not installable
    control: E
    control: :
    control: Unable to correct problems, you have held broken packages.
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
------------------------------------------------------------------------------------------------------------------------

I ran >provision status and it says both my VM's are currently running. So I'm not sure it keeps failing.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/7512eaff-c782-45cd-a524-5c8f43fc1b93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Reply all
Reply to author
Forward
Message has been deleted
Message has been deleted
Message has been deleted
0 new messages