我需要一份默认的/etc/apt/sources.list副本

我前段时间升级到了RC,并且sources.list有点搞砸了,这意味着我在更新时会得到很多404。 有人可以发布Maverick的原始sources.list吗?

在这里你有;)

 # deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://es.archive.ubuntu.com/ubuntu/ maverick main restricted deb-src http://es.archive.ubuntu.com/ubuntu/ maverick main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://es.archive.ubuntu.com/ubuntu/ maverick-updates main restricted deb-src http://es.archive.ubuntu.com/ubuntu/ maverick-updates main restricted ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://es.archive.ubuntu.com/ubuntu/ maverick universe deb-src http://es.archive.ubuntu.com/ubuntu/ maverick universe deb http://es.archive.ubuntu.com/ubuntu/ maverick-updates universe deb-src http://es.archive.ubuntu.com/ubuntu/ maverick-updates universe ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://es.archive.ubuntu.com/ubuntu/ maverick multiverse deb-src http://es.archive.ubuntu.com/ubuntu/ maverick multiverse deb http://es.archive.ubuntu.com/ubuntu/ maverick-updates multiverse deb-src http://es.archive.ubuntu.com/ubuntu/ maverick-updates multiverse ## Uncomment the following two lines to add software from the 'backports' ## repository. ## NB software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. # deb http://es.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse # deb-src http://es.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu maverick partner # deb-src http://archive.canonical.com/ubuntu maverick partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. deb http://extras.ubuntu.com/ubuntu maverick main deb-src http://extras.ubuntu.com/ubuntu maverick main deb http://security.ubuntu.com/ubuntu maverick-security main restricted deb-src http://security.ubuntu.com/ubuntu maverick-security main restricted deb http://security.ubuntu.com/ubuntu maverick-security universe deb-src http://security.ubuntu.com/ubuntu maverick-security universe deb http://security.ubuntu.com/ubuntu maverick-security multiverse deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse 

确保问题出在sources.list上,而不是在独立的PPA中.list如果你想知道究竟是什么问题,请尝试在图形工具(如Synaptic或Update Manager)上更新包列表,而不是gnome-terminal。 它会告诉你哪个地址错了。

由于现在不支持10.10,因此您必须使用服务器old-releases.ubuntu.com来处理所有事情。 例如,一行如下:

 deb http://es.archive.ubuntu.com/ubuntu/ maverick main restricted 

应改为:

 deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted 

这是一个完整的/etc/apt/sources.list:

 deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted deb http://old-releases.ubuntu.com/ubuntu/ maverick universe deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates universe deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted deb http://old-releases.ubuntu.com/ubuntu/ maverick-security universe deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse 

更新文件后:

 sudo apt-get clean sudo apt-get update 

/etc/apt/sources.list

  #deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_  -  Alpha i386(20100803.1)] / maverick主要限制
 #请参阅http://help.ubuntu.com/community/UpgradeNotes了解如何升级到
 #发行版的更新版本。

 deb http://gb.archive.ubuntu.com/ubuntu/ maverick主要限制
 deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick主要限制

 ##在最终版本发布后产生的主要错误修复更新
 ##发行。
 deb http://gb.archive.ubuntu.com/ubuntu/ maverick-updates主要限制
 deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-updates主要限制

来自此存储库的## NB软件完全由Ubuntu不支持
 ##团队。 此外,请注意宇宙中的软件不会收到任何软件
 ##从Ubuntu安全团队审核或更新。
 deb http://gb.archive.ubuntu.com/ubuntu/ maverick universe
 deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick universe
 deb http://gb.archive.ubuntu.com/ubuntu/ maverick- updates universe
 deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-updates universe

来自此存储库的## NB软件完全由Ubuntu不支持 
 ##团队,可能不是免费许可证。 请满足自己 
 ##您使用该软件的权利。 另外,请注意该软件 
 ## multiverse将不会收到来自Ubuntu的任何评论或更新
 ##安全团队。
 deb http://gb.archive.ubuntu.com/ubuntu/ maverick multiverse
 deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick multiverse
 deb http://gb.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
 deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

 ##取消注释以下两行以从'backports'添加软件
 ## repository。
来自此存储库的## NB软件可能尚未经过测试
 ##广泛地包含在主要版本中,尽管它包括
 ##某些应用程序的较新版本可能提供有用的function。
 ##另外,请注意,backports中的软件不会收到任何评论
 ##或来自Ubuntu安全团队的更新。
 #deb http://gb.archive.ubuntu.com/ubuntu/ maverick-backports主要限制宇宙多元宇宙
 #deb-src http://gb.archive.ubuntu.com/ubuntu/ maverick-backports主要限制宇宙多元宇宙

 ##取消注释以下两行以添加Canonical的软件
 ##'partner'存储库。
 ##这个软件不是Ubuntu的一部分,但由Canonical提供
 ##各自的供应商作为Ubuntu用户的服务。
 deb http://archive.canonical.com/ubuntu maverick partner
 #deb-src http://archive.canonical.com/ubuntu maverick partner

 deb http://security.ubuntu.com/ubuntu maverick-security主要限制
 deb-src http://security.ubuntu.com/ubuntu maverick-security主要限制
 deb http://security.ubuntu.com/ubuntu maverick-security universe
 deb-src http://security.ubuntu.com/ubuntu maverick-security universe
 deb http://security.ubuntu.com/ubuntu maverick-security multiverse
 deb-src http://security.ubuntu.com/ubuntu maverick-security multiverse

您可能还想清理/etc/apt/sources.list.d/目录。