查看: 2330|回复: 0

[资料] Ubuntn 18.04 更新镜像源

[复制链接]
  • TA的每日心情
    开心
    昨天 14:01
  • 签到天数: 1077 天

    连续签到: 1 天

    [LV.10]以坛为家III

    发表于 2021-11-30 09:45:18 | 显示全部楼层 |阅读模式
    分享到:
       
        一、备份镜像源
        sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup


        二、修改源列表
        gedit /etc/apt/source.list
    1. # 更换为阿里源
    2. deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    3. deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    4. deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    5. deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    6. deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    7. deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
    8. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
    9. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
    10. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
    11. deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
    复制代码



    •     三、更新软件
         
          apt-get update
          apt-get upgrade

    回复

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /4 下一条



    手机版|小黑屋|与非网

    GMT+8, 2024-12-19 02:35 , Processed in 0.102899 second(s), 15 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.