ubuntu 11.04 源 更新不了,全显示ign、404

原文地址:http://blog.csdn.net/enjio/article/details/11603373
 

ubuntu 11.04 源 更新不了

分类: 开发相关 89人阅读 评论(0) 收藏 举报
ubuntu 11.04版本,在sources.list里面填写以下源:
  1. deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse  
  2. deb http://archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse  
  3. deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse  
  4. deb http://archive.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse  
  5. deb http://archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse  
  6. deb-src http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse  
  7. deb-src http://archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse  
  8. deb-src http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse  
  9. deb-src http://archive.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse  
  10. 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/的源。

  1. deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse  
  2. deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse  
  3. deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse  
  4. deb http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse  
  5. deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse  
  6. deb-src http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse  
  7. deb-src http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse  
  8. deb-src http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse  
  9. deb-src http://old-releases.ubuntu.com/ubuntu/ natty-proposed main restricted universe multiverse  
  10. deb-src http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse  




原文地址:https://www.cnblogs.com/aserlinux/p/3596221.html