英文:
TLS Error: Upgrading Ubuntu to 22.04 causes Flutter Installation/Upgrade Failure
问题
在将Ubuntu从20.04升级到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:
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.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论