原文地址:http://blog.csdn.net/enjio/article/details/11603373
ubuntu 11.04版本,在sources.list里面填写以下源:
- deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
- deb http://archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
- deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
- deb http://archive.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse
- deb http://archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
- deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
- deb-src http://archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
- deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
- deb-src http://archive.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse
- deb-src http://archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
使用apt-get update,出现的全是忽略,用了很多的源都是相同问题,
ubuntu老版本源目录更改导致
解决
把http://archive.ubuntu.com/ubuntu/的源换成http://old-releases.ubuntu.com/ubuntu/的源。
- deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse
- deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
- deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
- deb http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse
- deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
- deb-src http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse
- deb-src http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
- deb-src http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
- deb-src http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse
- deb-src http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse