zoukankan      html  css  js  c++  java
  • Ubuntu 源

    原文地址: Ubuntu 12.04添加源

    sudo vim /etc/apt/sources.list

    #网易163  
    deb http://mirrors.163.com/ubuntu/ precise main restricted  
    deb-src http://mirrors.163.com/ubuntu/ precise main restricted  
    deb http://mirrors.163.com/ubuntu/ precise-updates main restricted  
    deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted  
    deb http://mirrors.163.com/ubuntu/ precise universe  
    deb-src http://mirrors.163.com/ubuntu/ precise universe  
    deb http://mirrors.163.com/ubuntu/ precise-updates universe  
    deb-src http://mirrors.163.com/ubuntu/ precise-updates universe  
    deb http://mirrors.163.com/ubuntu/ precise multiverse  
    deb-src http://mirrors.163.com/ubuntu/ precise multiverse  
    deb http://mirrors.163.com/ubuntu/ precise-updates multiverse  
    deb-src http://mirrors.163.com/ubuntu/ precise-updates multiverse  
    deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse  
    deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse  
    deb http://mirrors.163.com/ubuntu/ precise-security main restricted  
    deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted  
    deb http://mirrors.163.com/ubuntu/ precise-security universe  
    deb-src http://mirrors.163.com/ubuntu/ precise-security universe  
    deb http://mirrors.163.com/ubuntu/ precise-security multiverse  
    deb-src http://mirrors.163.com/ubuntu/ precise-security multiverse  
      
    #搜狐  
    deb http://mirrors.sohu.com/ubuntu/ precise main restricted  
    deb-src http://mirrors.sohu.com/ubuntu/ precise main restricted  
    deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted  
    deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted  
    deb http://mirrors.sohu.com/ubuntu/ precise universe  
    deb-src http://mirrors.sohu.com/ubuntu/ precise universe  
    deb http://mirrors.sohu.com/ubuntu/ precise-updates universe  
    deb-src http://mirrors.sohu.com/ubuntu/ precise-updates universe  
    deb http://mirrors.sohu.com/ubuntu/ precise multiverse  
    deb-src http://mirrors.sohu.com/ubuntu/ precise multiverse  
    deb http://mirrors.sohu.com/ubuntu/ precise-updates multiverse  
    deb-src http://mirrors.sohu.com/ubuntu/ precise-updates multiverse  
    deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse  
    deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse  
    deb http://mirrors.sohu.com/ubuntu/ precise-security main restricted  
    deb-src http://mirrors.sohu.com/ubuntu/ precise-security main restricted  
    deb http://mirrors.sohu.com/ubuntu/ precise-security universe  
    deb-src http://mirrors.sohu.com/ubuntu/ precise-security universe  
    deb http://mirrors.sohu.com/ubuntu/ precise-security multiverse  
    deb-src http://mirrors.sohu.com/ubuntu/ precise-security multiverse  
    deb http://extras.ubuntu.com/ubuntu precise main  
    deb-src http://extras.ubuntu.com/ubuntu precise main  
      
    #电子科技大学  
    deb http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse  
    deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse  
    deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse  
    deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse  
    deb http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse  
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise main restricted universe multiverse  
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse  
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse  
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-security main restricted universe multiverse  
    deb-src http://ubuntu.uestc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse  
      
    #中国科技大学  
    deb http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse  
    deb http://debian.ustc.edu.cn/ubuntu/ precise-backports restricted universe multiverse  
    deb http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse  
    deb http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse  
    deb http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse  
    deb-src http://debian.ustc.edu.cn/ubuntu/ precise main restricted universe multiverse  
    deb-src http://debian.ustc.edu.cn/ubuntu/ precise-backports main restricted universe multiverse  
    deb-src http://debian.ustc.edu.cn/ubuntu/ precise-proposed main restricted universe multiverse  
    deb-src http://debian.ustc.edu.cn/ubuntu/ precise-security main restricted universe multiverse  
    deb-src http://debian.ustc.edu.cn/ubuntu/ precise-updates main restricted universe multiverse  
      
    #北京理工大学  
    deb http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe  
    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe  
    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe  
    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe  
    deb http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe  
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise main multiverse restricted universe  
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-backports main multiverse restricted universe  
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-proposed main multiverse restricted universe  
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-security main multiverse restricted universe  
    deb-src http://mirror.bjtu.edu.cn/ubuntu/ precise-updates main multiverse restricted universe  
    

    然后sudo apt-get update,sudo apt-get upgrade若出现
    W: 无法下载 bzip2:/var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages Hash 校验和不符
    这样的错误,则将/var/lib/apt/lists/下的文件清空
    #sudo rm -vf /var/lib/apt/lists/*
    #sudo apt-get update

  • 相关阅读:
    COGS——T2084. Asm.Def的基本算法
    COGS——T1310. [HAOI2006]聪明的猴子
    python(4)- 简单练习:python实现购物车的优化
    Windows CE,你妈吗喊你在多核上玩玩
    xp宿主机和VMware下Ubuntu12.04共享文件夹
    xp主机用VMware9和10安装Ubuntu12.04后无法进入图像界面
    Ubuntu12.04 VMware Tools的安装
    linux 目录结构
    vmware-tools安装指南
    抱怨IT公司人才缺乏?留住现有人才方是正途
  • 原文地址:https://www.cnblogs.com/inthedark/p/4526104.html
Copyright © 2011-2022 走看看