新创建安装的 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

猜你喜欢

转载自www.cnblogs.com/xiaozengzeng/p/12701885.html