老版本ubuntu使用apt-get命令更新错误
使用的ubuntu环境:12.04 LTS 执行sudo apt-get update的时候报错:
W: Failed to fetch http://mirrors.163.com/ubuntu/dists/precise/main/source/Sources 404 Not Found [IP: 219.148.147.103 80]
看起来是源的问题,于是修改源,改成阿里源。 sudo gedit /etc/apt/sources.list
阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb ht
共有 0 条评论