源文件名:sources.list

路径:/etc/apt/sources.list

删除全部内容,替换下面:

#deb cdrom:[Ubuntu 20.04 LTS _Focal Fossa_ - Release amd64 (20200423)]/ focal main restricted# See http://mirrors.aliyun.com/ubuntu/ for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ focal main restricted
# deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ focal universe
# deb-src http://mirrors.aliyun.com/ubuntu/ focal universe
deb http://mirrors.aliyun.com/ubuntu/ focal-updates universe
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates universe## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://mirrors.aliyun.com/ubuntu/ focal multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal multiverse
deb http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates multiverse## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://mirrors.aliyun.com/ubuntu/ focal partner
# deb-src http://mirrors.aliyun.com/ubuntu/ focal partnerdeb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted
deb http://mirrors.aliyun.com/ubuntu/ focal-security universe
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-security universe
deb http://mirrors.aliyun.com/ubuntu/ focal-security multiverse
# deb-src http://mirrors.aliyun.com/ubuntu/ focal-security multiverse# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.

执行命令更新:

sudo apt update

天翼云 Ubuntu 22.04.1 LTS apt换源 (阿里云)相关推荐

  1. 安装 Ubuntu 22.04.1 LTS 桌面版(详细步骤)

    文章目录 前言:安装 Ubuntu 22.04.1 LTS 的先决条件 一.下载 Ubuntu 22.04.1 LTS 安装介质 二.制作 Ubuntu 22.04.1 LTS 引导 U 盘 三.从 ...

  2. Ubuntu 22.04环境下安装lxr源码阅读器详细过程

    Ubuntu 22.04环境下安装lxr源码阅读器详细过程 一.lxr介绍 二.依赖关系 三.安装过程 1.下载源码 2.执行检查 3.安装依赖 4.安装数据库和服务器 四.配置过程 1.主配置 2. ...

  3. Ubuntu 18.04 配置 国内 apt-get 换源

    文章目录 Ubuntu 18.04 配置 国内 apt-get 换源 1 备份文件 2 用vim进入并编辑文件 3 进入网站 https://mirrors.tuna.tsinghua.edu.cn/ ...

  4. 腾讯云Ubuntu 22.04安装ERPnext V14 安装教程

    一.安装基础环境 腾讯云服务器Ubuntu系统root账户设置密码 step 1 : sudo passwd root 使用sudo命令为root用户添加新密码 step 2 : sudo vi /e ...

  5. 虚拟机配置静态IP (在VMware Workstation 16 Pro + Ubuntu 22.04.1 LTS GNOME图形桌面环境下)

    目录 确认NAT模式的IP地址.子网掩码和网关 将虚拟机的网络连接方式设置为==NAT模式== 在虚拟机中设置静态IP 验证更改是否生效 确认NAT模式的IP地址.子网掩码和网关 在 Workstat ...

  6. Ubuntu 16.04.2 LTS 修改软件源

    1.进入图形化界面的资源管理器 2.依次进入目录etc->apt 3.双击sources.list出现Software & Updates窗口 4.Download from选择Othe ...

  7. Linux操作系统Ubuntu 22.04配置Visual Studio Code与C++代码开发环境的方法

      本文介绍在Linux Ubuntu操作系统下,配置Visual Studio Code软件与C++ 代码开发环境的方法.   在文章虚拟机VMware Workstation Pro中配置Linu ...

  8. Ubuntu 22.04 ‘Jammy Jellyfish‘ 的新功能

    Ubuntu 22.04 LTS "Jammy Jellyfish" 将于 2022 年 4 月 21 日发布.这个广受欢迎的Ubuntu Linux 发行版的最新版本 将长期支持 ...

  9. VMware Workstation创建Linux Ubuntu 22.04.1 desktop虚拟机

    在上期,我们已经说过,今天会有神秘彩蛋.彩蛋是什么呢?那就是:Windows阶段会告一段落,从这篇文章开始我们会去学习创建Linux虚拟机. 你可能都没有听说过?但在我们程序员中是如雷贯耳的(虽然我现 ...

最新文章

  1. mysql中case when then的用法
  2. ajax就收data的参数
  3. 「消息队列」看过来!
  4. 【SpringMVC】SpringMVC系列4之@RequestParam 映射请求参数值
  5. mfc 固定编辑框输入上限和下限_S7200smart的模拟量输入输出
  6. 01_项目需求与实体分析(servlet+java bean+jsp的商城教程)
  7. 用微PE安装KALI LINUX到U盘,【U盘安装kali】U盘+kali+pe三合一教程!装机,存储(自己用来做U盘使用的空间)...
  8. 兄弟无线打印显示服务器内部错误,兄弟打印机故障代码表
  9. 海森矩阵(Hessian Matrix)与泰勒展开式
  10. U盘引导启动LINUX
  11. 常见l298n电机驱动的使用方法,简单粗暴,不讲废话。
  12. 启动服务器应用程序失败,打开系统管理时提示:autoupdateserviceset.exe 应用程序错误 应用程序无法正常启动,请单击确定 关闭应用程序。...
  13. 老板杜绝员工上班不务正业
  14. 使用Certbot为nginx配置免费的https证书
  15. 微信 android兼容性问题怎么解决方案,微信7.0版本与EMUI系统兼容性问题,华为官方是这样回复的...
  16. 02. Excel_数据处理_基本操作(2)
  17. ABAP动态模式(Dynamic Pattern)
  18. arcgis 栅格计算器(Spatial Analyst/Raster Calculator)
  19. 《13+1体系-打造持续健康的组织》读书笔记
  20. JS面试中常见的算法题

热门文章

  1. 数据分析 --- 收集数据的原则
  2. css学习笔记-盒子的样式
  3. 图像恢复(加噪与去噪)
  4. Assert 的用法
  5. WOW!这是最大的三极管!
  6. 嵌入式Linux--U-Boot(三)Boot命令使用
  7. [经济管理]《余世维-有效沟通II》VOB AVI双版本下载及我的笔记
  8. 快速傅里叶变换的原理及实现
  9. 电商项目—收货地址管理模块开发
  10. C++实现高并发Web服务器