Ubuntu 18.04 apt修改腾讯云源

一、编辑 /etc/apt/sources.list

替换至/etc/apt/sources.list文件中。

deb http://mirrors.tencentyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.tencentyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.tencentyun.com/ubuntu/ bionic-updates main restricted universe multiverse
#deb http://mirrors.tencentyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
#deb http://mirrors.tencentyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.tencentyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-updates main restricted universe multiverse
#deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
#deb-src http://mirrors.tencentyun.com/ubuntu/ bionic-backports main restricted universe multiverse

三、刷新软件源信息:

sudo apt update

四、更新软件

sudo apt upgrade

© 版权声明
THE END
喜欢就支持一下吧
点赞149赞赏 分享
评论 抢沙发
头像-逸云源码网
欢迎您留下宝贵的见解!
提交
头像-逸云源码网

昵称

取消
昵称表情代码图片快捷回复

    请登录后查看评论内容

下载须知

资源下载须知

  1. 下载前请查看文章里的搭建环境、配置要求和教程说明。
  2. 解压密码以本篇文章标注为准。
  3. 如需代搭建,请先提供项目名称,并确认服务器环境和服务范围。
  4. 仅限个人学习、研究与测试,禁止商用。