When I run the following command in my build things fail, with no output.
sudo apt-get install ruby-full
The output and exit code are:
#!/bin/bash -eo pipefail sudo apt-get install ruby-full Exited with code exit status 1 CircleCI received exit code 1
If I SSH into the build and run the command, there is no error and it installs fine. Why would it not work in the build but work when I SSH in? Why is there no output from the install command? My other apt-get installs work fine. I have also tried running apt-get update before the install, but the error/output are the same.