APT源
Debian 6.0.7
deb http://mirrors.163.com/debian squeeze main non-free contrib
deb http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian squeeze main non-free contrib
deb-src http://mirrors.163.com/debian squeeze-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
deb-src http://mirrors.163.com/debian-security squeeze/updates main contrib non-free
deb http://http.us.debian.org/debian squeeze main contrib non-free
deb http://non-us.debian.org/debian-non-US squeeze/non-US main contrib non-free
deb http://security.debian.org squeeze/updates main contrib non-free
Debian(squeeze) 设置 apt 源
deb http://mirrors.ustc.edu.cn/debian/ squeeze main non-free contrib
deb http://mirrors.ustc.edu.cn/debian/ squeeze-proposed-updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ squeeze main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian/ squeeze-proposed-updates main non-free contrib
deb http://mirrors.ustc.edu.cn/debian-backports/ squeeze-backports main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian-backports/ squeeze-backports main contrib non-free
deb http://mirrors.ustc.edu.cn/debian-multimedia/ squeeze-backports main contrib non-free
deb-src http://mirrors.ustc.edu.cn/debian-multimedia/ squeeze-backports main contrib non-free
deb http://mirrors.ustc.edu.cn/debian-security/ squeeze/updates main non-free contrib
deb-src http://mirrors.ustc.edu.cn/debian-security/ squeeze/updates main non-free contrib
# apt-get update
如何更新Debian源和导入公钥
一、国内源:
163
deb http://mirrors.163.com/debian/ squeeze main non-free contrib
deb http://mirrors.163.com/debian/ squeeze-proposed-updates main contrib non-free
deb http://mirrors.163.com/debian-security/ squeeze/updates main contrib non-free
deb-src http://mirrors.163.com/debian/ squeeze main non-free contrib
deb-src http://mirrors.163.com/debian/ squeeze-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian-security/ squeeze/updates main contrib non-free
教育
deb http://ftp.sjtu.edu.cn/debian/ squeeze main non-free contrib
deb http://ftp.sjtu.edu.cn/debian/ squeeze-proposed-updates main contrib non-free
deb http://ftp.sjtu.edu.cn/debian-security/ squeeze/updates main contrib non-free
科技大学
deb http://ftp.cn.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.cn.debian.org/debian squeeze main contrib non-free 台湾主站
deb http://ftp.tw.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.tw.debian.org/debian squeeze main contrib non-free 香港
deb http://ftp.hk.debian.org/debian squeeze main contrib non-free
deb-src http://ftp.hk.debian.org/debian squeeze main contrib non-free 搜狐镜像
deb http://mirrors.sohu.com/debian squeeze main contrib non-free
deb-src http://mirrors.sohu.com/debian squeeze main contrib non-free 北京理工大学
deb http://mirror.bitunion.org/debian/ stable main contrib non-free
deb-src http://mirror.bitunion.org/debian/ stable main contrib non-free
二、官方源
deb http://ftp.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://mirrors.kernel.org/debian/ squeeze main contrib non-free
deb-src http://mirrors.kernel.org/debian/ squeeze main contrib non-free
三、dotdeb源 官方
deb http://packages.dotdeb.org stable all
deb-src http://packages.dotdeb.org stable all
deb http://php53.dotdeb.org stable all
deb-src http://php53.dotdeb.org stable all dotdeb japan 源
deb http://download.softagency.net/debian/dotdeb/ stable all
deb-src http://download.softagency.net/debian/dotdeb/ stable all
------------------------------------------------------------------
在此说明配置源的方法:
很简单,把源地址写进 /etc/apt/sources.list 就可以了。
可以用 # 注释。
推荐163,搜狐等源。
sources.list 写好后,需要更新一下。使用如下命令:
apt-get update
如果提醒你需要导入密钥,则:
gpg --keyserver <KeyServer> --recv <公钥签名>gpg --export --armor <公钥签名> | sudo apt-key add -
其中:
<KeyServer>,key服务器,可以填 keyserver.ubuntu.com ,当然也可以是 其他的喽。
公钥签名会在update的提示中说明的。
也可是使用如下形式:
apt-key adv --keyserver <KeyServer> --recv-keys <公钥签名>
- 5
经过以上步骤,源已经更新完毕,可以试着使用新源更新一下软件库喽:
apt-get upgrade
APT源的更多相关文章
- [debian]use ISO as debian apt source / 使用ISO文件作为apt源
准备文件: debian-9.8.0-amd64-DVD-1.iso debian-9.8.0-amd64-DVD-2.iso debian-9.8.0-amd64-DVD-3.iso 挂载: roo ...
- 配置 ROS 的 apt 源
配置 ROS 的 apt 源 ROS的apt源有官方源.国内 USTC 源或新加坡源可供选择, 选择其一就可以了,建议使用国内 USTC 源或新加坡源,安装速度会快很多. 方式一:官方源 $ sudo ...
- Debian 采用 iso 镜像作为 apt 源
1.将N个debian-506-amd64-DVD-N.iso存放于本地或其他媒介内,本例是放在本机/iso/目录下2.创建N个挂载点目录 如下: debian:~#mkdir –r /media/d ...
- ubuntu apt源配置
前言:看见Ubuntu新出了18.04版本感觉不错,装一个玩玩,虽然有很多教程可以参考,但我也给出一个不是很一样的方案吧,尽量解释的详细一点. 为了下载更方便,速度更快,我们往往在使用Linux系列系 ...
- windows安装linux虚拟机、修改apt源
记录一下windows安装虚拟机以及初始配置的一些坑. 安装VMware Workstation 直接百度搜索VMware,选择合适的版本下载: 按照一般软件的安装步骤安装VMware Worksta ...
- Ubuntu 16.04 更改apt源
1 修改apt源配置文件,把/etc/apt/sources.list替换为以下内容: sudo gedit /etc/apt/sources.list deb http://mirrors.aliy ...
- 更改 Ubuntu 的 apt 源
1.在更改apt源之前要先备份官方自带的apt源 cd /etc/apt sudo cp sources.list sources.list.bak 2. 更改 sources.list 文件 sud ...
- docker中使用阿里云的apt源安装各种实用工具
今天想在docker中安装vim工具,还有其他的软件等等,如果你直接执行apt-get install vim是没有用的,会显示: root@7d43d83fd3a8:/etc/nginx# apt- ...
- [技术博客]nginx 部署 apt 源
[技术博客] nginx 部署 apt 源 出于各种各样的原因, 有时需要自己配置apt源, 比如发布自己编写的debian软件包, 内网中只有一台电脑可以访问外网,或者在本地配置自己的apt源.我们 ...
随机推荐
- Webform和MVC,为什么MVC更好一些?
前言 如果你看了最近微软的议程,你会发现他们现在的焦点除了MVC,还是MVC.问题在于为什么微软如此热衷于丢弃传统的APS.NET Webform而转向ASP.NET MVC?本文就主要来讨论这个问题 ...
- apache开源项目--ibatis
iBATIS一词来源于“internet”和“abatis”的组合,是一个由Clinton Begin在2001年发起的开放源代码项目.最初侧重于密码软件的开发,现在是一个基于Java的持久层框架.i ...
- 【转】Ubuntu下配置支持Windows访问的samba共享
原文网址:http://blog.csdn.net/i_chips/article/details/19191957 一.安装Ubuntu samba服务器 $ sudo apt-get instal ...
- web.xml配置详解之欢迎页面和错误页面
<!-- 应用的欢迎页面 采用list的方式罗列欢迎页面, 系统会从第一个找到最后一个,找到了文件就不继续往下找了.优先显示前边的. --> <welcome-file-list& ...
- C# word开发
c# 操作Word总结 在医疗管理系统中为保存患者的体检和治疗记录,方便以后的医生或其他人查看.当把数据保存到数据库中,需要新建很多的字段,而且操作很繁琐,于是想到网页的信息创建到一个word文本中, ...
- BrnShop开源网上商城第四讲:自定义插件
重要通知:BrnShop企业版NOSQL设计(基于Redis)已经开源!源码内置于最新版的BrnShop中,感兴趣的园友可以去下载来看看.官网地址:www.brnshop.com. 好了现在进入今天的 ...
- (转载) mysql中,option是保留字段么?
(转载)http://book.77169.org/101/50364.htm update thread set active=0,option='lock',manager='书生' where ...
- mat之一--eclipse安装Memory Analyzer
工欲善其事必先利其器,先开始更新下eclipse,顺便装下工具软件.那么简要的写写怎么从头安装Memory Analyzer Memory Analyzer (Eclipse MAT)是一个跨平台的开 ...
- 【CSS】Beginner6:Border
1.border-style:solid实线,dashed虚线,double双线,dotted点状,groove凹槽,ridge垄状,inset,outset 2.border0-width:bord ...
- HW5.16
public class Solution { public static void main(String[] args) { for(int i = 2000; i <= 2010; i++ ...