如果在安装Ubuntu时,选择的地区为美国,建议更新为阿里云或国内 软件源

sudo sed -i s/archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list
sudo sed -i s/security.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.listsudo apt-get update

 如果在安装Ubuntu时,选择的地区为中国,可以直接使用或更新为阿里云软件源

sudo sed -i s/cn.archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list
sudo sed -i s/security.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list
sudo apt-get update

 

相关文章:

  • 2022-12-23
  • 2022-01-04
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-18
  • 2021-12-18
  • 2021-06-15
  • 2021-08-24
  • 2022-01-03
  • 2022-02-08
  • 2022-12-23
相关资源
相似解决方案