我正在尝试在运行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?
最佳答案
如果您确实需要使用不再受支持的版本,则仍可在http://old-releases.ubuntu.com找到旧版本
原文链接:https://www.f2er.com/linux/440721.html要使用该存储库,请在/etc/apt/sources.list中使用old-releases.ubuntu.com替换be.archive.ubuntu.com的每个实例,例如使用以下命令:
sudo sed -i 's/be\.archive\.ubuntu\.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
在apt-get更新之后,它应该再次运行.