ubuntu15.04更新软件源

1,首先备份原来的源 sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup2,编辑软件源的文件 sudo vim /etc/apt/sources.list把下列源添加到后面3,刷新源:sudo apt-get update   更新 :sudo update-manager -c -d

#搜狐源
deb http://mirrors.sohu.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ vivid-backports main restricted universe multiverse

#阿里云源
deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse

#网易源
deb http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ vivid-backports main restricted universe multiverse

#闭源
deb http://archive.canonical.com/ubuntu/ vivid partner
deb http://extras.ubuntu.com/ubuntu/ vivid main

时间: 2024-11-13 07:52:10

ubuntu15.04更新软件源的相关文章

ubuntu12.04更新软件源时出现校验和不符

在执行update命令之后,出现系统校验和不符,网上找了一些方法,最后在大神的帮助下终于解决了!! 1.更改 /etc/apt/apt.conf.d/00aptitude 文件,在最后一行加入: Acquire::CompressionTypes::Order "gz"; 然后执行 update就可以了. (我是用这个方法解决的) 2.在软件更新管理器中点击右下角的"设置",在其它软件中把两个"独立"前边的对勾去掉.这个方法解决了一些朋友的问题,

Ubuntu16.04更新软件源,执行apt-get update时出现“The following signatures couldn't be verified”错误

Ubuntu16.04中科大软件源: deb http://mirrors.ustc.edu.cn/ubuntu/ trusty universe deb-src http://mirrors.ustc.edu.cn/ubuntu/ trusty universe Ubuntu16.04更新为中科大的软件源后,执行apt-get update时出现以下错误: W: GPG error: https://mirrors.ustc.edu.cn trusty InRelease: The follo

Linux学习笔记——Ubuntu更新软件源

0.前言 通过修改ubuntu软件源可提高apt命令下载安装软件的速度. 参考资料 [官方资料]--配置文件修改方法 [Ubuntu怎样修改软件源地址]--使用ubuntu软件中心修改(推荐) [at-get update错误处理] 1.使用ubuntu软件中心更新 请参考[Ubuntu怎样修改软件源地址]--来自百度经验 图1 打开软件和更新 图2 选择国内软件源 2.使用指令方法修改 [1]首先备份源列表 sudo cp /etc/apt/sources.list /etc/apt/sour

kali linux 更新软件源,安装中文输入法

1. 更新软件源打开sources.list文件,进行添加更新源:leafpad /etc/apt/sources.list 2. 添加软件源#官方源 deb http://http.kali.org/kali kali main non-free contrib deb-src http://http.kali.org/kali kali main non-free contrib deb http://security.kali.org/kali-security kali/updates

vim修复,telnet安装启动,linux更新软件源

 vim修复: 修复前提,你到UBUNTU可以联网,否则只能卸载,不能安装 1.sudo apt-get remove vim-common 2.sudo apt-get install vim telnet: 开启telnet: 1.首先安装必要telnet 在终端输入命令:sudo apt-get install xinetd telnetd 2.配置 1)sudo vi/etc/inetd.conf 并加入以下一行 telnet stream tcp nowait telnetd/us

ubuntu更新软件源

更新源方法: 1. 打开终端.单击主菜单中的“应用程序 - 附件 - 终端”. 2. 修改更新服务器列表.请在终端中执行下面的两条命令: sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 还原更新源:   sudo cp /etc/apt/sources.list_backup /etc/apt/sources.list #备份原来的软件列表,会要求输入密码 sudo gedit /etc/apt/sources.list #用

RedHat6.5更新软件源

今天在Red Hat上安装软件时,发现需要依赖软件,然而在用sudo yum指令时,出现了下面的错误: This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 出现这个问题的原因是:redhat未注册,连接redhat官方软件源时,对未注册的用户不提供下载软件包的权限. 解决办法:因为centOS和redhat “本自同根生”,因

Ubuntu非LTS长久支持版不能用apt-get更新软件源的问题

参考文献链接:http://blog.csdn.net/jscese/article/details/39010273 情况: 目前Ubutun版本更新迭代太快-常规版本的维护期都比较短,基本一年以内,只有LTS版本才会长久支持3-5年. 但是对于已经不再维护的旧版本ubuntu,官方提供old源用于更新和安装软件 操作步骤: 一. 首先备份Ubuntu Linux 的源列表(也可以不备份,直接把新地址加在后面) sudo cp /etc/apt/sources.list /etc/apt/so

Kali更新软件源方法

编辑:leafpad /etc/apt/sources.list 删除所有内容添加以下: 然后选择适合自己较快的源:   deb http://mirrors.ustc.edu.cn/kali sana main non-free contrib deb http://mirrors.ustc.edu.cn/kali-security/ sana/updates main contrib non-free deb-src http://mirrors.ustc.edu.cn/kali-secur