ubuntu安装好后设置更新URL
2012-11-07 13:34
405 查看
1、打开配置更新URL的配置文件
在终端输入命令: gedit /etc/apt/sources.list
2、删除sources.list文件的内容,把下列的更新源URL复制到文件中
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
3、保存关闭文件
4、在终端输入命令: sudo apt-get update 更新(注:必须执行这个命令,否则更新源不启作用)
在终端输入命令: gedit /etc/apt/sources.list
2、删除sources.list文件的内容,把下列的更新源URL复制到文件中
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
3、保存关闭文件
4、在终端输入命令: sudo apt-get update 更新(注:必须执行这个命令,否则更新源不启作用)
相关文章推荐
- ubuntu系统安装好后,输入法设置失败(更新-药到病除)
- Ubuntu 【系统安装】—— 源设置与更新
- Ubuntu中软件的安装和卸载,以及WINE的使用 && Ubuntu更新源设置更新 && 装12.04 vmware easy install ubuntu 进不去
- Ubuntu设置本地更新源及安装make工具
- Ubuntu 16.04安装/更新VMware tools&设置共享文件夹方法
- 安装ubuntu之后的一些设置总结(更新ing)
- Ubuntu中设置共享文件夹,遇到问题总结(包括VMware-tools安装,更新源更改,共享工具的安装)
- 安装ubuntu之后的一些设置总结(更新ing)
- Ubuntu安装问题说明、软件源更新配置及root用户密码的设置
- ubuntu安装软件时出现:没有该文件?--更新源
- Ubuntu常用软件安装,持续更新中。。。
- Ubuntu16.04 MySQL的安装及设置数据库编码为UTF-8
- Ubuntu下软件更新无法安装的问题
- ubuntu NFS 服务器安装、设置
- Ubuntu服务器上SSH Server 的安装和设置
- Ubuntu 最新设置阿里云更新源
- 新安装的ubuntu系统如何设置中文输入法的方案
- Win7环境下在VirtualBox中安装Ubuntu 11.10后设置文件夹共享
- 第十一天堂的学习笔记Ubuntu第一篇,分区安装,设置root密码,安装五笔和VMtools