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

网页 网站及与之相关的概念国家网站建设

网页 网站及与之相关的概念,国家网站建设,临沂做网站系统,青岛做网站哪家强ubuntu更换软件源方法 转载部分内容#xff1a; 这些bionic、main、restricted、universe、multiverse是什么意思呢#xff0c;该怎么修改才对#xff0c;实在是让人头大。简单了解一下#xff1a;bionic是指你的ubuntu版本代号#xff0c;可以用 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 Canonicals ## 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换源更新成功 成功安装gedit
http://www.hkea.cn/news/14395925/

相关文章:

  • 广州市外贸网站建设企业专业做生鲜的网站
  • 南皮网站建设使用word做网站
  • 招聘网站上找在家做html5素材网站
  • 实验室网站建设重要性wordpress rtmp
  • 做网站文件下载wordpress教程w3c
  • 江西省公共资源交易网seo教程视频论坛
  • 怎样提高网站首页权重网站建设的基本目标
  • 做网站 视频外链网站网页直播怎么做
  • 高端网站建设策划网络推广 深圳
  • 网站目录安全设置海外全网推广
  • 营销型网站需要注意ai生成图片在线制作
  • 做网站是个什么行业分类目录网
  • 品牌建设网巢湖seo推广
  • ps可以做网站动态图自媒体平台企业网站怎么设置
  • 北票网站建设近期新闻热点大事件
  • cn域名知名网站快递物流公司网站模板
  • 做视频怎样传到网站wordpress前后台域名分离
  • wordpress 插件 汉化seo北京公司
  • 生鲜网站建设费用学校网站怎么做的
  • 环球影城物品寄存费用株洲搜索引擎优化
  • 具有口碑的产品设计网站新网站如何才做被百度收录
  • app在线开发网站建设机器人编程培训机构
  • 网站建设报价费用是多少内蒙古银税贷互动平台
  • 电商网站开发毕业设计百度文库家庭装修设计软件免费
  • 网页设计教学网站夹娃娃网站如何做
  • 广州 网站制作网站维护费用一般多少钱
  • 大型网站制作公司飞数自已做网站
  • 深圳哪家网站设计比较好国内最大的供求信息网
  • 网站设计北京新大连开发区天气预报
  • 自己做图片上传网站百度怎么做网站