银河麒麟软件源更新
银河麒麟有用软件源:1.银河麒麟系统无法更新下载软件,原因是软件源失效;2.需要更换有效的软件源;3.修改软件源地址:在etc/apt的sources.list文件里添加镜像源:deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse4.然后执行 sudo apt-get update命令,之后
·
银河麒麟有用软件源:
1.银河麒麟系统无法更新下载软件,原因是软件源失效;
2.需要更换有效的软件源;
3.修改软件源地址:
在etc/apt 的sources.list文件里添加镜像源:
deb http://archive.ubuntu.com/ubuntu/ trusty main universe restricted multiverse
4.然后执行 sudo apt-get update命令,之后就可以下载或者更新软件了。
5.补充一些镜像源地址:
1.清华大学
获取地址:(主注意不同版本之间需要选择)
清华大学源地址:
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-updates main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-backports main restricted universe multiverse
deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-security main restricted universe multiverse
# 预发布软件源,不建议启用
# deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ bionic-proposed main restricted universe multiverse
2.阿里云
获取地址:
阿里云源地址:
deb https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
# deb https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
6.仅个人实操记录,如有不足,请指正。
更多推荐
已为社区贡献2条内容
所有评论(0)