ubuntu9.10更新源

  1. 复制原来的源
    sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
  2. 使用以下源替换原来的源
    这个源是Ubuntu官方专门出的old-release镜像
    deb http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
    deb http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ karmic main restricted universe multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-security main restricted universe multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-updates main restricted universe multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-proposed main restricted universe multiverse
    deb-src http://old-releases.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
    命令:
    sudo vi /etc/apt/sources.list
  3. 更新
    sudo apt-get update&&upgrade
    sudo apt-get dist-upgrade

你可能感兴趣的:(ubuntu9.10更新源)