![无法在 ubuntu 14.10 上安装和更新任何东西](https://linux22.com/image/1133317/%E6%97%A0%E6%B3%95%E5%9C%A8%20ubuntu%2014.10%20%E4%B8%8A%E5%AE%89%E8%A3%85%E5%92%8C%E6%9B%B4%E6%96%B0%E4%BB%BB%E4%BD%95%E4%B8%9C%E8%A5%BF%20.png)
以下是我的 /etc/apt/sources.list 的内容:
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ utopic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ utopic main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ utopic main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ utopic-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ utopic-updates main restricted
## N.B. 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://in.archive.ubuntu.com/ubuntu/ utopic universe
deb-src http://in.archive.ubuntu.com/ubuntu/ utopic universe
deb http://in.archive.ubuntu.com/ubuntu/ utopic-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ utopic-updates universe
## N.B. 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://in.archive.ubuntu.com/ubuntu/ utopic multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ utopic multiverse
deb http://in.archive.ubuntu.com/ubuntu/ utopic-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ utopic-updates multiverse
## N.B. 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://in.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ utopic-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu utopic-security main restricted
deb-src http://security.ubuntu.com/ubuntu utopic-security main restricted
请帮帮我。
错误示例:
After this operation, 2,218 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
freeglut3 libfftw3-long3 libfftw3-3 fmit
Install these packages without verification? [y/N] yy
Get:1 http://in.archive.ubuntu.com/ubuntu/ utopic/main freeglut3 amd64 2.8.1-2 [73.4 kB]
Err http://in.archive.ubuntu.com/ubuntu/ utopic/main libfftw3-long3 amd64 3.3.4-1ubuntu1
404 Not Found [IP: 91.189.88.152 80]
Err http://in.archive.ubuntu.com/ubuntu/ utopic/universe libfftw3-3 amd64 3.3.4-1ubuntu1
404 Not Found [IP: 91.189.88.152 80]
Get:2 http://in.archive.ubuntu.com/ubuntu/ utopic/universe fmit amd64 0.99.2-1 [304 kB]
Fetched 377 kB in 10s (37.3 kB/s)
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/main/f/fftw3/libfftw3-long3_3.3.4-1ubuntu1_amd64.deb 404 Not Found [IP: 91.189.88.152 80]
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/pool/universe/f/fftw3/libfftw3-3_3.3.4-1ubuntu1_amd64.deb 404 Not Found [IP: 91.189.88.152 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
答案1
Ubuntu 14.10 是一个过时的版本,如果您想使用、更新和安装软件包,那么您需要更改其存储库。
您可以通过以下方式进行此操作:
打开终端并运行:
sudo gedit /etc/apt/sources.list
用以下代码替换 urlin.archive.ubuntu.com
和security.ubuntu.com
old-releases.ubuntu.com
保存并关闭它。
现在运行sudo apt-get update
然后安装您想要安装的任何软件包。