首页 > 代码库 > Ubuntu 更新源 内核升级

Ubuntu 更新源 内核升级

cat /etc/apt/sources.list
deb http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.sohu.com/ubuntu/ precise-backports main restricted universe multiverse

==================

source.list_163:   #改成一下内容

  1. deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse 
  2. deb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse 
  3. deb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted 
  4. deb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricted 
  5. deb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted 
  6. deb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted 
  7. deb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricted 
  8. deb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted


========================
sudo apt-get update
sudo apt-get dist-upgrade

Ubuntu 更新源 内核升级