新创建安装的 ubuntu apt-get 的问题

一般apt-get出现这种情况:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ****

就是没有更新APT库
需要更新一下

第一步:

  先到 ubuntu 中更换下载源,如图下:

 

 

第二步:自动选择 best server

 

 

最后执行下面命令:

sudo apt-get update

 

posted @ 2020-04-14 22:38  cool小伙  阅读(229)  评论(0编辑  收藏  举报