TLS错误:将Ubuntu升级到22.04会导致Flutter安装/升级失败。

huangapple go评论77阅读模式
英文:

TLS Error: Upgrading Ubuntu to 22.04 causes Flutter Installation/Upgrade Failure

问题

在将Ubuntu从20.04升级到22.04后,在尝试安装或升级Flutter时遇到了一个错误。收到的具体错误消息如下:

TLS错误:将Ubuntu升级到22.04会导致Flutter安装/升级失败。

通过参考各种链接和论坛调查了该问题,似乎可能是网络或防火墙相关的问题导致了此错误。然而,已经确认防火墙已关闭,网络连接正常运作。

对于这个问题,我们将不胜感激地接受您可能提供的任何指导或建议。

英文:

After upgrading Ubuntu from 20.04 to 22.04, encountered an error while attempting to install or upgrade Flutter. The specific error message received is as follows:

TLS错误:将Ubuntu升级到22.04会导致Flutter安装/升级失败。

Having investigated the issue by referring to various links and forums, and it appears that there might be a network or firewall-related problem causing this error. However, its have confirmed that the firewall is turned off and the network connectivity is functioning properly.

Would appreciate any guidance or suggestions you may have regarding this issue.

答案1

得分: 1

你遇到这个问题是因为你的系统中找不到 SSL 证书,可以通过运行以下命令来解决:

sudo update-ca-certificates --fresh

上述命令将更新你系统中的 SSL 证书,然后你可以运行 flutter doctor 命令来完成 flutter 的安装。

英文:

You are facing the issue because there is no SSL certificate found in your system which can be resolved by running the below command:

sudo update-ca-certificates --fresh

The above command will update SSL certificate in your system then you can run the flutter doctor command to complete the installation of your flutter.

huangapple
  • 本文由 发表于 2023年5月15日 15:52:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/76251937.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定