Skip to content

Ends installation because sshpass is not found, but ssh pass is installed #83

@diamar

Description

@diamar

Describe the bug
When installing on windows, I get a message that sshpass can not be found and exits out of the script. Server 2 and Repo seemed installed and running in Virtualbox. Server 1 was not installed. I've tried running this on PowerShell as administrator (per instructions) and on Cygwin. Cygwin has sshpass installed.

Also, I am using the Vagrantfile-new-by-bkarankar because I had this error: "Error: rsync: write failed on "/vagrant/disk-0-1.vdi": No space left on device (28)".

To Reproduce
Steps to reproduce the behavior:

  1. Follow directions and after Vagrant up it runs for a while until it ends abruptly because of the sshpass error.
  2. This is the error:
    repo: Install 1 Package
    repo:
    repo: Total size: 25 k
    repo: Installed size: 35 k
    repo: Downloading Packages:
    repo: Running transaction check
    repo: Transaction check succeeded.
    repo: Running transaction test
    repo: Transaction test succeeded.
    repo: Running transaction
    repo: Preparing :
    1/1
    repo: Installing : epel-release-8-19.el8.noarch
    1/1
    repo: Running scriptlet: epel-release-8-19.el8.noarch
    1/1
    repo: Many EPEL packages require the CodeReady Builder (CRB) repository.
    repo: It is recommended that you run /usr/bin/crb enable to enable the CRB r
    epository.
    repo:
    repo: Verifying : epel-release-8-19.el8.noarch
    1/1
    repo: Installed products updated.
    repo:
    repo: Installed:
    repo: epel-release-8-19.el8.noarch
    repo:
    repo: Complete!
    repo: Updating Subscription Management repositories.
    repo: Unable to read consumer identity
    repo:
    repo: This system is not registered to Red Hat Subscription Management. You
    can use subscription-manager to register.
    repo:
    repo: Extra Packages for Enterprise Linux 8 - x86_64 4.1 MB/s | 16 MB
    00:03
    repo: Last metadata expiration check: 0:00:05 ago on Sat 11 Nov 2023 03:47:1
    5 PM PST.
    repo: Package httpd-2.4.37-30.module+el8.3.0+7001+0766b9e7.x86_64 is already
    installed.
    repo: No match for argument: sshpass
    repo: Error: Unable to find a match: sshpass
    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.

Desktop (please complete the following information):

  • Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions