No package gcc available. ubuntu

 

https://blog.csdn.net/jegbrother/article/details/94192621

https://blog.csdn.net/user2025/article/details/107733068

https://blog.csdn.net/qq_44667165/article/details/108546589

输入命令:sudo apt-get update

問題:

Could not resolve host: mirrors.tencentyun.com

解決:

Ubuntu服务器配置镜像源

sudo etc/apt/source.list

刪掉騰訊鏡像的部分

保存文件

sudo apt-get update(更新緩存

 

posted @ 2023-01-16 15:53  1257888  阅读(97)  评论(0)    收藏  举报