debian6 apt-get 源配置文件source.list
来源:互联网 发布:倚天屠龙记 知乎 编辑:程序博客网 时间:2024/06/06 01:24
apt-get 有一个源配置文件source.list,里面可配置镜像链接。(/etc/apt/source.list)apt-get install执行时会先检查本地有无该文件,apt-get下载的文件默认在(/var/cache/apt/archives)。若有责直接进行安装;若没有该文件则取配置的镜像链接中去下载镜像文件,进行安装。
apt-get install vim 时出现错误,则缺少镜像链接。
在 /etc/apt/source.list 中添加以下内容:
# # deb cdrom:[Debian GNU/Linux 6.0.7 _Squeeze_ - Official amd64 DVD Binary-1 20130223-14:06]/ squeeze contrib main#deb cdrom:[Debian GNU/Linux 6.0.7 _Squeeze_ - Official amd64 DVD Binary-1 20130223-14:06]/ squeeze contrib main# Line commented out by installer because it failed to verify:#deb http://security.debian.org/ squeeze/updates main contrib# Line commented out by installer because it failed to verify:#deb-src http://security.debian.org/ squeeze/updates main contrib# squeeze-updates, previously known as 'volatile'# A network mirror was not selected during install. The following entries# are provided as examples, but you should amend them as appropriate# for your mirror of choice.## deb http://ftp.debian.org/debian/ squeeze-updates main contrib# deb-src http://ftp.debian.org/debian/ squeeze-updates main contribdeb http://mirrors.163.com/debian/ squeeze main contrib non-freedeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main# added by zhjxdeb http://download.virtualbox.org/virtualbox/debian squeeze contrib non-free
之后更新,apt-get update
这样就可以安装了。
0 0
- debian6 apt-get 源配置文件source.list
- Ubuntu 配置任意版本apt-get 国内开源镜像站 source list
- 江苏电信网络中较好的apt-get source list
- debian apt源 source.list文件
- /etc/apt/source.list
- Ubuntu apt-get install source
- debian /etc/apt/source.list
- Ubuntu源配置文件source.list 格式解释
- 关于apt配置文件sources.list
- apt-get source 我伤不起!
- ubuntu出现apt-get source squid
- ubuntu /etc/apt/source.list 格式说明
- add-apt-repository与/etc/apt/source.list
- ubuntu apt-get 源
- apt-get 源
- apt-get 源
- Ubuntu apt-get 源
- 设置apt-get源
- ubuntu12.04LTS 安装eclipse和cdt
- Java正则表达式判断手机号码【2014版】
- 提示重复绑定DropDownList
- java 泛型
- x264设定
- debian6 apt-get 源配置文件source.list
- Oracle 11g 针对SQL性能的新特性(一)- Adaptive Cursor Sharing
- Python 正则表达式验证多行注释
- fopen 参数
- Unicode下CString转UTF-8,再转UTF-8的%形式
- 搜索引擎系列 -lucene简介 创建索引和搜索初步步骤
- JavaScript 基础(一)
- 明道学院——《揭开CRM部署的隐藏成本》
- listView单选实现(二)