Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3024088
  • 博文数量: 272
  • 博客积分: 5544
  • 博客等级: 大校
  • 技术积分: 5496
  • 用 户 组: 普通用户
  • 注册时间: 2011-03-08 00:48
个人简介

  每个人都要有一个骨灰级的爱好,不为金钱,而纯粹是为了在这个领域享受追寻真理的快乐。

文章分类

全部博文(272)

文章存档

2015年(2)

2014年(5)

2013年(25)

2012年(58)

2011年(182)

分类: LINUX

2011-07-25 23:05:05

    以前都是英文安装ubuntu,一直没发现这个问题,前几天装了系统又重新安装虚拟机,装ubuntu,选择了中文,发现无法更新gcc编译器。更新了源列表就好了。
 
首先还是备份一下列表吧:sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

11.04
Ubuntu 11.04 官方更新服务器(欧洲,此为官方源,国内较慢,但无同步延迟问题,电信网通用户可以使用):
deb natty main restricted universe multiverse
deb natty-security main restricted universe multiverse
deb natty-updates main restricted universe multiverse
deb natty-proposed main restricted universe multiverse
deb natty-backports main restricted universe multiverse
deb-src natty main restricted universe multiverse
deb-src natty-security main restricted universe multiverse
deb-src natty-updates main restricted universe multiverse
deb-src natty-proposed main restricted universe multiverse
deb-src natty-backports main restricted universe multiverse
 
 
台湾源 
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted 
deb natty-updates universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

SRT Sources 
代码:
deb natty main restricted universe multiverse 
deb natty-security main restricted universe multiverse 
deb natty-updates main restricted universe multiverse 
deb natty-proposed main restricted universe multiverse 
deb natty-backports main restricted universe multiverse 
deb-src natty main restricted universe multiverse 
deb-src natty-security main restricted universe multiverse 
deb-src natty-updates main restricted universe multiverse 
deb-src natty-proposed main restricted universe multiverse 
deb-src natty-backports main restricted universe multiverse

网易 Ubuntu 11.04 源(速度很快) 
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted 
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted 
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

ubuntu 11.04 上海源
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

搜狐 Ubuntu 11.04 源 
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted 
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted 
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

骨头源
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted 
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted 
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

lupaworld源
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

rootguide源
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

网易开源镜像站
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted 
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted 
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted

搜狐开源镜像站
代码:
deb natty main universe restricted multiverse 
deb-src natty main universe restricted multiverse 
deb natty-security universe main multiverse restricted 
deb-src natty-security universe main multiverse restricted 
deb natty-updates universe main multiverse restricted 
deb natty-proposed universe main multiverse restricted 
deb-src natty-proposed universe main multiverse restricted 
deb natty-backports universe main multiverse restricted 
deb-src natty-backports universe main multiverse restricted 
deb-src natty-updates universe main multiverse restricted
 


11.10
网易开源镜像站,提供FreeBSD,OpenBSD,archlinux,centos,cygwin,debian,fedora,gentoo,kernel,openSUSE,slackware,ubuntu
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

台湾源
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

SRT Sources
代码:

deb oneiric main restricted universe multiverse
deb oneiric-security main restricted universe multiverse
deb oneiric-updates main restricted universe multiverse
deb oneiric-proposed main restricted universe multiverse
deb oneiric-backports main restricted universe multiverse
deb-src oneiric main restricted universe multiverse
deb-src oneiric-security main restricted universe multiverse
deb-src oneiric-updates main restricted universe multiverse
deb-src oneiric-proposed main restricted universe multiverse
deb-src oneiric-backports main restricted universe multiverse

网易 Ubuntu 11.10 源(速度很快)
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

ubuntu 11.10 上海源,提供 Kernel,Hiweed,ubuntu
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

搜狐 Ubuntu 11.10 源
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

骨头源,骨头源是bones7456架设的一个Ubuntu源 ,提供ubuntu,deepin
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

lupaworld Ubuntu 11.10源,提供 ArchLinux,Everest,FreeBSD,Fedora,LFS,Magiclinux,Mandriva,OpenOffice,openSUSE,Puppy,Red Hat,Slitaz,Turbolinux,Ubuntu,中标普华
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

rootguide源,ubuntu官方上海源,提供 Kernel,Hiweed,ubuntu
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

搜狐开源镜像站,提供 CPAN,FreeBSD,NetBSD,OpenBSD,apache,archlinux,centos,cygwin,dag,debian,fedora,gentoo,kernel,lfs,mysql,nginx,openSUSE,php,rpmfusion,slackware,ubuntu
代码:

deb oneiric main universe restricted multiverse
deb-src oneiric main universe restricted multiverse
deb oneiric-security universe main multiverse restricted
deb-src oneiric-security universe main multiverse restricted
deb oneiric-updates universe main multiverse restricted
deb oneiric-proposed universe main multiverse restricted
deb-src oneiric-proposed universe main multiverse restricted
deb oneiric-backports universe main multiverse restricted
deb-src oneiric-backports universe main multiverse restricted
deb-src oneiric-updates universe main multiverse restricted

最好清空原有列表,复制进速度比较快的一些国内源吧。完成后一直要执行更新:sudo apt-get update
阅读(1583) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~