quantal(12.10)ubuntu repos

时间:2014-07-16 21:52:09

标签: linux ubuntu repository apt-get ubuntu-12.10

我试图在运行Ubuntu quantal(12.10)的服务器上安装HTSeq(生物信息学工具),为此我需要安装一些软件包,因此我使用以下命令:

sudo apt-get install python-numpy python-matplotlib

然而,当我尝试这个时,我收到了很多404错误消息(见下文)。量子ubuntu存储库是否可能不再可用?

如果是这样,我如何添加某种存档版本(我在哪里可以找到它)? 如果没有,还有什么可能导致这些404消息。

WARNING: The following packages cannot be authenticated!
  libatk1.0-data libatk1.0-0 libgtk2.0-common libgtk2.0-0 libglade2-0 blt fonts-lyx libgtk2.0-bin python-cairo python-dateutil python-gi python-gobject-2
  python-gtk2 python-glade2 python-gobject python-matplotlib-data python-pyparsing python-tz python-numpy python-support python-matplotlib python-tk
Install these packages without verification [y/N]? y
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main libatk1.0-data all 2.6.0-0ubuntu1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main libatk1.0-0 amd64 2.6.0-0ubuntu1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main libgtk2.0-common all 2.24.13-0ubuntu2
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main libgtk2.0-0 amd64 2.24.13-0ubuntu2
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main libglade2-0 amd64 1:2.6.4-1ubuntu2
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main blt amd64 2.4z-4.2ubuntu2
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/universe fonts-lyx all 2.0.3-3
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main libgtk2.0-bin amd64 2.24.13-0ubuntu2
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal-updates/main python-gi amd64 3.4.0-1ubuntu0.1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main python-gobject-2 amd64 2.28.6-10ubuntu2
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main python-gtk2 amd64 2.24.0-3build1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main python-glade2 amd64 2.24.0-3build1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal-updates/main python-gobject all 3.4.0-1ubuntu0.1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/universe python-matplotlib-data all 1.1.1-1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main python-pyparsing all 1.5.6+dfsg1-2
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main python-tz all 2011k-0ubuntu6
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main python-numpy amd64 1:1.6.2-1ubuntu1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/universe python-matplotlib amd64 1.1.1-1
  404  Not Found [IP: 91.189.91.13 80]
Err http://be.archive.ubuntu.com/ubuntu/ quantal/main python-tk amd64 2.7.3-1ubuntu2
  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/a/atk1.0/libatk1.0-data_2.6.0-0ubuntu1_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/a/atk1.0/libatk1.0-0_2.6.0-0ubuntu1_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-common_2.24.13-0ubuntu2_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-0_2.24.13-0ubuntu2_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/libg/libglade2/libglade2-0_2.6.4-1ubuntu2_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/b/blt/blt_2.4z-4.2ubuntu2_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/universe/l/lyx/fonts-lyx_2.0.3-3_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/g/gtk+2.0/libgtk2.0-bin_2.24.13-0ubuntu2_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/pygobject/python-gi_3.4.0-1ubuntu0.1_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/pygobject-2/python-gobject-2_2.28.6-10ubuntu2_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/pygtk/python-gtk2_2.24.0-3build1_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/pygtk/python-glade2_2.24.0-3build1_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/pygobject/python-gobject_3.4.0-1ubuntu0.1_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/universe/m/matplotlib/python-matplotlib-data_1.1.1-1_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/pyparsing/python-pyparsing_1.5.6+dfsg1-2_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/python-tz/python-tz_2011k-0ubuntu6_all.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/python-numpy/python-numpy_1.6.2-1ubuntu1_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/universe/m/matplotlib/python-matplotlib_1.1.1-1_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
Failed to fetch http://be.archive.ubuntu.com/ubuntu/pool/main/p/python-stdlib-extensions/python-tk_2.7.3-1ubuntu2_amd64.deb  404  Not Found [IP: 91.189.91.13 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

2 个答案:

答案 0 :(得分:19)

如果您确实需要使用不再受支持的版本,则仍可在http://old-releases.ubuntu.com找到旧版本

要使用该存储库,请在be.archive.ubuntu.com中将old-releases.ubuntu.com的每个实例替换为/etc/apt/sources.list,例如使用以下命令:

sudo sed -i 's/be\.archive\.ubuntu\.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

apt-get update之后它应该再次运作。

答案 1 :(得分:1)

正如马塔所说,这就是诀窍,但在我们的案例中,我们不得不将其改为:

sudo sed -i 's/es\.archive\.ubuntu\.com/old-releases.ubuntu.com/g' /etc/apt/sources.list

因为这是一个西班牙语安装。我们试图安装s3cmd,而python-support在ubuntu 11上失败(目前不支持)。

真棒!非常感谢