【解决问题】wget https:xx报错Connecting to raw.githubusercontent.com ……failed: Connection refused.

本博客运行环境为Ubuntu 18.04.

执行wget https:xxxx……报错。

 wget https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh

报错如下:
–2020-06-24 16:04:58-- https://raw.githubusercontent.com/mavlink/mavros/master/mavros/scripts/install_geographiclib_datasets.sh
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.228.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.228.133|:443… failed: Connection refused.

解决方案
将原命令的网址前加上 --no-check-certificate

如下所示:

wget --no-check-certificate https:xxxx…

参考:https://blog.csdn.net/weixin_43201726/article/details/82967342

你可能感兴趣的:(嵌入式,ubuntu)