1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fix failing Ruby 2.0 CI build (#2116)

The following warning was preventing libssl from being installed, which
is a prerequisite for the Ruby 2.0 build in CI:

```
WARNING: The following packages cannot be authenticated!
  libssl-dev libssl1.0.0
```

Fix by passing `--force-yes` to ignore the warning.
This commit is contained in:
Matt Brictson 2022-11-28 18:37:59 -08:00 committed by GitHub
parent 9e331e3197
commit 7317689001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ commands:
command: | command: |
if $(ssh -V 2>&1 | grep -q -v OpenSSH_8); then if $(ssh -V 2>&1 | grep -q -v OpenSSH_8); then
apt-get update apt-get update
apt-get install -y libssl-dev apt-get install -y --force-yes libssl-dev
mkdir ~/tempdownload mkdir ~/tempdownload
cd ~/tempdownload cd ~/tempdownload
wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.1p1.tar.gz