Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Yarn fails to install on Xenial #638

Closed
ehmicky opened this issue Sep 30, 2021 · 1 comment
Closed

Yarn fails to install on Xenial #638

ehmicky opened this issue Sep 30, 2021 · 1 comment
Labels
type: bug code to address defects in shipped code

Comments

@ehmicky
Copy link
Contributor

ehmicky commented Sep 30, 2021

Yarn can be installed on Focal (example logs).
But it fails on Xenial (example logs).

Installing yarn at version 1.17.0
Installing Yarn!
> Downloading tarball...
[1/2]: https://yarnpkg.com/downloads/1.17.0/yarn-v1.17.0.tar.gz --> /tmp/yarn.tar.gz.Zby7CLEURu
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    79  100    79    0     0    313      0 --:--:-- --:--:-- --:--:--   314
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
[2/2]: https://yarnpkg.com/downloads/1.17.0/yarn-v1.17.0.tar.gz.asc --> /tmp/yarn.tar.gz.Zby7CLEURu.asc
100    83  100    83    0     0    738      0 --:--:-- --:--:-- --:--:--   738
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
More details here: http://curl.haxx.se/docs/sslcerts.html
curl performs SSL certificate verification by default, using a "bundle" of Certificate Authority (CA) public keys (CA certs). If the default bundle file isn't adequate, you can specify an alternate file using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in the bundle, the certificate verification probably failed due to a problem with the certificate (it might be expired, or the name might not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use the -k (or --insecure) option.
 > Failed to download https://yarnpkg.com/downloads/1.17.0/yarn-v1.17.0.tar.gz.

This started about one hour ago.

Potentially related issues:

@ehmicky ehmicky added the type: bug code to address defects in shipped code label Sep 30, 2021
@ehmicky
Copy link
Contributor Author

ehmicky commented Sep 30, 2021

@ehmicky ehmicky closed this as completed Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug code to address defects in shipped code
Projects
None yet
Development

No branches or pull requests

1 participant