UBUNTU更换镜像源后
执行
sudo apt-get update

报错如下:

Get:86 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4588 B]
Reading package lists… Done
E: The repository ‘http://extras.ubuntu.com/ubuntu xenial Release’ does not have a Release file.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

解决办法:

编辑/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 http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

然后运行:

sudo rm -vf /var/lib/apt/lists/*
sudo apt clean
sudo apt update ; reboot

E: The repository ‘http://extras.ubuntu.com/ubuntu xenial Release‘ does not have a Release file.相关推荐

  1. 【Ubuntu】ubuntu更新设置

    ubuntu操作系统发布时,为了减小操作系统的体积,仅仅配备了基本的系统软件.应用软件.我们开发中需要用到的大部分软件都需要在使用中从网上自行更新. 如果ubuntu没有网络,可以说寸步难行.下面教大 ...

  2. Ubuntu:Ubuntu系统下在pycharm软件内配置anaconda环境(一张图轻松搞定!)

    Ubuntu:Ubuntu系统下在pycharm软件内配置anaconda环境(一张图轻松搞定!) 目录 Ubuntu系统下在pycharm软件内配置anaconda环境 Ubuntu系统下在pych ...

  3. Ubuntu:Ubuntu下安装Anaconda和Tensorflow的简介、入门、安装流程之详细攻略

    Ubuntu:Ubuntu下安装Anaconda和Tensorflow的简介.入门.安装流程之详细攻略 目录 安装流程 1.安装nvidia显卡驱动 2.安装cuda8 3.安装Cudnn 4.Ana ...

  4. linux ubuntu 桌面,Ubuntu Linux 入门(三):熟悉 Ubuntu Linux 桌面环境

    Posted on 2011/08/16, 13:53, by Terry Chen, under Linux. 在Ubuntu Linux 入门(二):安装 Ubuntu Linux一文中,我们已经 ...

  5. 双系统(win7+ubuntu)ubuntu磁盘空间不足时解决方法

    双系统(win7+ubuntu)ubuntu磁盘空间不足时解决方法 参考文章: (1)双系统(win7+ubuntu)ubuntu磁盘空间不足时解决方法 (2)https://www.cnblogs. ...

  6. [Ubuntu]在Ubuntu系统下连接远程Ubuntu服务器并传输文件:安装putty, filezilla

    转载自:[Ubuntu]在Ubuntu系统下连接远程Ubuntu服务器并传输文件_北望花村-CSDN博客_ubuntu上传文件到服务器 本篇文章介绍,如何在Ubuntu系统下连接远程Ubuntu系统并 ...

  7. 主机能ping通Ubuntu,Ubuntu无法ping通主机

    1. 问题: 我在主机(window11系统)上安装了一个虚拟机Ubuntu使用NAT模式连接主机,使用的是使用VMnet8网卡,主机和Ubuntu都在同一个网段上,遇到主机能ping通Ubuntu, ...

  8. linux ubuntu配置要求,Ubuntu Server 14.04和Kylin 14.04 Enhanced Release amd64最低硬件配置要求...

    Ubuntu Server 14.04和Kylin 14.04 Enhanced Release amd64最低硬件配置要求 Ubuntu(乌班图)是一个以桌面应用为主的 Linux 操作系统.其名称 ...

  9. E: 无法下载 http://us.archive.ubuntu.com/ubuntu/dists/xenial/main/binary-armhf/Packages 404 Not Found

    ~$ sudo apt-get update 命中:1 http://deb.odroid.in/5422-s xenial InRelease 命中:2 http://ports.ubuntu.co ...

最新文章

  1. VS2012简单的使用感受+插件推荐
  2. mysql 线程内存 回收_MySQL内存使用-线程独享
  3. 关于MySQL的SLEEP(N)函数
  4. EOS 共识机制 (1)DPOS共识介绍
  5. Web程序中使用EasyUI时乱码问题
  6. redis延迟队列 实现_灵感来袭,基于Redis的分布式延迟队列
  7. 大动作!北京大学成立新系!
  8. 他读博期间发表3篇Science,28岁任武大教授,35岁入“杰青”名单,让人叹服!...
  9. C++笔记(1):使用STL中sort()对struct排序
  10. 牛客网暑期ACM多校训练营(第四场)G Maximum Mode(思维)
  11. VC++使用dump定位release程序崩溃问题
  12. android word编辑图片,Word转换成图片详细教程.doc
  13. linux下命令行安装oracle 11g数据库
  14. 【godot shader】圆形裁剪,圆形头像
  15. 技术干货|如何在微服务架构下构建高效的运维管理平台?
  16. Centos7 安装 worldpress
  17. 别让懒惰,毁了你的努力!从上班混日子到月入2万
  18. python抽取timedelta中的天数、小时、分钟、秒钟信息
  19. python 抢票代码 猫眼演出_Python之爬虫-猫眼电影
  20. flex blazeds java_Flex+BlazeDS+java通信详细笔记

热门文章

  1. 极速办公(PPT)里如何插入爱心形状
  2. 调查报告:竞业协议应该怎么签
  3. Go实战--也许最快的Go语言Web框架kataras/iris初识(basic认证、Markdown、YAML、Json)
  4. Node之父发布新项目deno:下一代Node;百度推出没有广告的简单搜索;甲骨文计划砍掉Java序列化功能;丨Q新闻...
  5. python爬虫(八、爬取图片社的小姐姐图片并下载)
  6. 概率论与数理统计学习笔记——第7讲——连续型随机变量(2.5.5正态分布)
  7. 产品策略闭环是个什么环?
  8. 密码学-古典密码学习笔记
  9. java 最简易记事本,带详细注释,仅供参考!
  10. 220v变12v初级线圈匝数_两款最简单的12V变220V逆变器