Hi there!
When I install tinytex
, I get the following error - it seems to indicate that there is soemthing wrong with the SSL certificate to install tinytex?
I've tried
- updating homebrew
- using the dev version of tinytex on github
- restarting R each time
- restarting my machine
- different wifi connections
- running
curl -sL "https://yihui.org/gh/tinytex/tools/install-unx.sh" | sh
in terminal (I get the exact same error)
Any help + guidance to how I can fix this would be greatly appreciated!
tinytex::install_tinytex()
trying URL 'https://yihui.name/gh/tinytex/tools/install-unx.sh'
Content type 'text/plain; charset=utf-8' length 614 bytes
==================================================
downloaded 614 bytes
Downloading install-tl-unx.tar.gz to /var/folders/mw/gj7418356js6s29x7wn8crfmljy4wh/T ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 100 340 100 340 0 0 158 0 0:00:02 0:00:02 --:--:-- 158
0 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
curl: (60) SSL certificate problem: certificate has expired
More details here: https://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.
HTTPS-proxy has similar options --proxy-cacert and --proxy-insecure.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 81 100 81 0 0 649 0 --:--:--:-- --:--:-- --:--:-- 653
100 142 100 142 0 0 298 0 --:--:-- --:--:-- --:--:-- 1 0
100 295 100 295 0 0 338 0 --:--:-- --:--:-- --:--:-- 338
tar: Error opening archive: Failed to open 'install-tl-unx.tar.gz'
rm: install-tl-unx.tar.gz: No such file or directory
sh: line 27: ../install-tl-*/install-tl: No such file or directory
rm: ../install-tl-*: No such file or directory
rm: install-tl.log: No such file or directory
sh: line 30: cd: bin/*: No such file or directory
sh: line 32: ./tlmgr: No such file or directory
sh: line 42: ./tlmgr: No such file or directory
mv: rename texlive/* to /Users/ntie0001/Library/TinyTeX/*: No such file or directory
install-unx.sh: line 20: /Users/ntie0001/Library/TinyTeX/bin/*/tlmgr: No such file or directory
install-unx.sh: line 27: /Users/ntie0001/Library/TinyTeX/bin/*/tlmgr: No such file or directory
sh: path: command not found
sh: conf: command not found
TinyTeX installed to /Users/ntie0001/Library/TinyTeX
Warning messages:
1: In system2(bin, c("path", "add")) : error in running command
2: In system2(bin, c("conf", "auxtrees", "add", r_texmf_path())) :
error in running command
3: In tinytex::install_tinytex() :
TinyTeX was not successfully installed or configured.Your PATH variable is /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Library/TeX/texbin:/opt/X11/bin:/opt/local/bin. See https://yihui.name/tinytex/faq/ for more information.