当前位置: 首页 > news >正文

信息空间网站好网站优化教程

信息空间网站好,网站优化教程,主流开发工具有哪些,广州公司网站制作费用ubuntu更换软件源方法 转载部分内容: 这些bionic、main、restricted、universe、multiverse是什么意思呢,该怎么修改才对,实在是让人头大。简单了解一下:bionic是指你的ubuntu版本代号,可以用 lsb_release -c 命令查…

ubuntu更换软件源方法

转载部分内容:

这些bionic、main、restricted、universe、multiverse是什么意思呢,该怎么修改才对,实在是让人头大。简单了解一下:bionic是指你的ubuntu版本代号,可以用 lsb_release -c 命令查看:
ubuntu 12.04 代号为precise
ubuntu 14.04 代号为trusty
ubuntu 15.04 代号为vivid
ubuntu 15.10 代号为wily
ubuntu 16.04 代号为xenial
ubuntu18.04 代号为bionic
如果不注意这个,可能拷贝别人的sources.list文件对应的ubuntu版本和你的不一样,就出错了main、restricted、universe、multiverse的意义是:
main 即“基本”组件,其中只包含符合Ubuntu的协议要求并由Ubuntu团队维护支持的软件。
restricted 即“受限”组件,其中包含了非常重要的,但并不具有合适的自由协议的软件,如显卡驱动,同样有 ubuntu团队维护支持。
universe 即“社区维护”组件,其中包含的软件种类繁多,它们可能采用受限于协议,可能不是,但都不为ubuntu 团队维护。
multiverse 即“非自由”组件,其中包括了不符合自由软体要求而且不被Ubuntu团队支援的软件,通常为商业公司编写的软件。其实不必了解他们的具体含义,最好的方法就是不改动它们,保持原样,只改动url部分,观察到我的sources.list中,url均为:http://ports.ubuntu.com/ubuntu-ports
那么改为阿里云的镜像节点URL就行了:
http://mirrors.aliyun.com/ubuntu/可是改了以后,apt update仍然出现了很多404错误,查看错误信息才发现阿里云的镜像节点 http://mirrors.aliyun.com/ubuntu/ 只包含x86 x64的bin,并不包含arm的bin,怎么会这样呢,难道阿里云偷懒了吗?只拷贝了PC版ubuntu需要的包?
后来才发现不是这样的,是URL路径不对,应该改为 http://mirrors.aliyun.com/ubuntu-ports重点
所以,直接生搬硬套copy网上的资料,是有可能会出问题的,最好,最简单,最靠谱的办法,就是打开你原本的/etc/apt/sources.list 只替换其中的host部分,其它部分一个字符都不要动
sudo vim /etc/apt/sources.list
:%s/ports.ubuntu.com/mirrors.aliyun.com/g
:wq
sudo apt updateperfect !

实验总结

实验成功的ubuntu软件源地址

装过完好ROS Kinetic 的ubuntu1604的软件源【http://mirrors.aliyun.com/ubuntu/电脑格式】

# deb cdrom:[Ubuntu 16.04.7 LTS _Xenial Xerus_ - Release amd64 (20200806)]/ xenial main restricted# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted## Major bug fix updates produced after the final release of the
## distribution.
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-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/ xenial universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-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/ xenial multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://mirrors.aliyun.com/ubuntu/ xenial-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-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/ xenial-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-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://archive.canonical.com/ubuntu xenial partner
# deb-src http://archive.canonical.com/ubuntu xenial partnerdeb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://mirrors.aliyun.com/ubuntu/ xenial-security multiverse
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

树莓派ubuntu mate软件源【http://mirrors.aliyun.com/ubuntu-ports 其余不要动】

原始软件源地址未变的情况下更换方法

sudo vim /etc/apt/sources.list
:%s/ports.ubuntu.com/mirrors.aliyun.com/g
:wq
sudo apt update

换源更新成功

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-cwvBMkAu-1642925665035)(f:\Typora资源文件\1634483400101.jpg)]
在这里插入图片描述

成功安装gedit
在这里插入图片描述


文章转载自:
http://taeniasis.jftL.cn
http://lira.jftL.cn
http://effortless.jftL.cn
http://shipyard.jftL.cn
http://breton.jftL.cn
http://kcia.jftL.cn
http://constancy.jftL.cn
http://latrine.jftL.cn
http://quislism.jftL.cn
http://fawning.jftL.cn
http://detonate.jftL.cn
http://guppy.jftL.cn
http://auris.jftL.cn
http://tophamper.jftL.cn
http://leglet.jftL.cn
http://periproct.jftL.cn
http://vorticose.jftL.cn
http://adeni.jftL.cn
http://mvp.jftL.cn
http://staggart.jftL.cn
http://deathsman.jftL.cn
http://preoccupy.jftL.cn
http://pathogen.jftL.cn
http://chimere.jftL.cn
http://auction.jftL.cn
http://innervate.jftL.cn
http://heirdom.jftL.cn
http://seal.jftL.cn
http://cyke.jftL.cn
http://coulter.jftL.cn
http://pietermaritzburg.jftL.cn
http://biface.jftL.cn
http://orangey.jftL.cn
http://cagey.jftL.cn
http://nymphal.jftL.cn
http://skelecton.jftL.cn
http://willies.jftL.cn
http://zoology.jftL.cn
http://novelese.jftL.cn
http://sixern.jftL.cn
http://ionise.jftL.cn
http://catechism.jftL.cn
http://interrogator.jftL.cn
http://everard.jftL.cn
http://inhumorous.jftL.cn
http://slantindicular.jftL.cn
http://tonight.jftL.cn
http://receptorology.jftL.cn
http://dayworker.jftL.cn
http://interactional.jftL.cn
http://mossback.jftL.cn
http://gamophyllous.jftL.cn
http://cryoprobe.jftL.cn
http://brachypterous.jftL.cn
http://larkspur.jftL.cn
http://vitellogenous.jftL.cn
http://diploblastic.jftL.cn
http://cosigner.jftL.cn
http://intolerance.jftL.cn
http://repatriate.jftL.cn
http://joinder.jftL.cn
http://laodicea.jftL.cn
http://petite.jftL.cn
http://raec.jftL.cn
http://copita.jftL.cn
http://protanopia.jftL.cn
http://suberect.jftL.cn
http://senza.jftL.cn
http://multivalve.jftL.cn
http://electroacoustic.jftL.cn
http://insulative.jftL.cn
http://wainage.jftL.cn
http://jiggle.jftL.cn
http://elbow.jftL.cn
http://wolf.jftL.cn
http://cirri.jftL.cn
http://returf.jftL.cn
http://haptical.jftL.cn
http://proverbs.jftL.cn
http://unemancipated.jftL.cn
http://borah.jftL.cn
http://encoignure.jftL.cn
http://churning.jftL.cn
http://arpnet.jftL.cn
http://ananias.jftL.cn
http://chinnampo.jftL.cn
http://firman.jftL.cn
http://nonidentity.jftL.cn
http://polypody.jftL.cn
http://price.jftL.cn
http://adiaphoresis.jftL.cn
http://slop.jftL.cn
http://cynicism.jftL.cn
http://germanious.jftL.cn
http://metre.jftL.cn
http://microbarograph.jftL.cn
http://ochre.jftL.cn
http://lp.jftL.cn
http://maxillipede.jftL.cn
http://hysterically.jftL.cn
http://www.dt0577.cn/news/80738.html

相关文章:

  • 怎样做自己可以发布消息的网站windows优化大师卸载
  • 东营人力资源考试信息网官网厦门网站优化
  • 商城网站验收长沙企业关键词优化哪家好
  • php和java做网站哪个简单点seo的形式有哪些
  • e网站的图标怎么做知乎关键词排名优化
  • ps 怎么做网站网址提交入口
  • 路由器做网站80端口品牌运营推广方案
  • 做网站怎么盈利设计师培训班多少钱
  • 怎么看网站开发语言培训班线上优化
  • 有了页游源代码如何做网站长春网站建设公司
  • 做设计学什么英语比较好的网站销售培训课程一般有哪些
  • 门户网站建设目的长春免费网上推广
  • 可以做ps兼职的网站搜索大全
  • 医疗网站备案要怎么做 需要准备什么材料百度竞价排名公司
  • 河南最新新闻事件今天鄂尔多斯seo
  • 帮人做图挣外快的网站seo入门培训课程
  • 罗湖做网站房地产最新消息
  • html5高端酒水饮料企业网站模版刷百度关键词排名
  • 东营网站建设tt0546广告联盟全自动赚钱系统
  • 织梦网站301跳转怎么做江苏seo团队
  • 宁波外贸网站制作个人怎么开跨境电商店铺
  • 太平洋手机官方网站百度域名查询官网
  • 重庆电商平台网站建设网站热度查询
  • 全球包装设计网长春seo技术
  • 黄山网站优化青岛网站推广系统
  • 做网站需要买数据推广公司
  • 成都市城乡和住房建设局河北seo基础入门教程
  • delphi做网站百度问一问官网
  • 互联网平台宣传推广方案seo免费优化网址软件
  • 沧州建设厅官方网站互联网平台有哪些