新手求问怎样解决apt-get update 的错误

sh/bash/dash/ksh/zsh等Shell脚本
回复
zhlxsh
帖子: 3
注册时间: 2014-09-26 22:58
系统: ubuntu 14.04

新手求问怎样解决apt-get update 的错误

#1

帖子 zhlxsh » 2014-09-26 23:07

下载 2,272 kB,耗时 16秒 (137 kB/s)
W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 4/Packages 404 Not Found [IP: 91.189.91.14 80]

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 4/Packages 404 Not Found [IP: 91.189.91.14 80]

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.91.14 80]

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.91.14 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 新手求问怎样解决apt-get update 的错误

#2

帖子 poloshiao » 2014-09-27 8:42

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 4/Packages 404 Not Found [IP: 91.189.91.14 80]

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 4/Packages 404 Not Found [IP: 91.189.91.14 80]

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages 404 Not Found [IP: 91.189.91.14 80]

W: 无法下载 http://archive.ubuntu.com/ubuntu/dists/ ... 6/Packages [IP: 91.189.91.14 80]
1. http://archive.ubuntu.com/ubuntu/dists/ 已經沒有 hardy 子目錄
2. Ubuntu hardy 版本 已經不再支援 線上安裝/更新/下載 套件了
3. 建議 安裝 12.04 或 14.04 或 14.10 (final Beta)
4. 如果一定需要在 hardy 版本 線上安裝/更新/下載 套件 需要更換 軟體來源檔
sudo cat /etc/apt/sources.list
sudo ls -al /etc/apt/sources.list.d
把結果直接複製貼上來
回复