当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : update过程中http://cn.archive.ubuntu.com/无法下载404
帖子发表于 : 2015-01-19 20:07 

注册: 2012-05-21 11:28
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
请大神帮忙看看什么情况

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/main/binary-amd64/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/multiverse/binary-amd64/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/restricted/binary-amd64/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/universe/binary-amd64/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/main/binary-i386/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/multiverse/binary-i386/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/restricted/binary-i386/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/universe/binary-i386/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 错误的报头行 [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 错误的报头行 [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages 错误的报头行 [IP: 115.28.122.210 80]

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

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages 错误的报头行 [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages 错误的报头行 [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages 错误的报头行 [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 6/Packages 错误的报头行 [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... tion-zh_CN Hash 校验和不符

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources Hash 校验和不符

W: 无法下载 copy:/var/lib/apt/lists/partial/cn.archive.ubuntu.com_ubuntu_dists_utopic-updates_main_binary-amd64_Packages 无法读取状态 - stat (2: 没有那个文件或目录)

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Hash 校验和不符

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Hash 校验和不符

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 404 Not Found [IP: 115.28.122.210 80]

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Hash 校验和不符

W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages Hash 校验和不符

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

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

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

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

E: Some index files failed to download. They have been ignored, or old ones used instead.


页首
 用户资料  
 
2 楼 
 文章标题 : Re: update过程中http://cn.archive.ubuntu.com/无法下载404
帖子发表于 : 2015-01-19 20:37 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
把下面指令 複製 貼進終端機 執行
1. sudo cat /etc/apt/sources.list
2. sudo cat /etc/resolv.conf
把結果直接 選取/複製 貼上來


页首
 用户资料  
 
3 楼 
 文章标题 : Re: update过程中http://cn.archive.ubuntu.com/无法下载404
帖子发表于 : 2015-01-19 22:01 

注册: 2012-05-21 11:28
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
把下面指令 複製 貼進終端機 執行
1. sudo cat /etc/apt/sources.list
2. sudo cat /etc/resolv.conf
把結果直接 選取/複製 貼上來



deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ trusty main multiverse restricted universe

# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ utopic main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ utopic main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://cn.archive.ubuntu.com/ubuntu/ utopic-updates main restricted
deb-src http://cn.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://cn.archive.ubuntu.com/ubuntu/ utopic universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic universe
deb http://cn.archive.ubuntu.com/ubuntu/ utopic-updates universe
deb-src http://cn.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://cn.archive.ubuntu.com/ubuntu/ utopic multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic multiverse
deb http://cn.archive.ubuntu.com/ubuntu/ utopic-updates multiverse
deb-src http://cn.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://cn.archive.ubuntu.com/ubuntu/ utopic-security main restricted
deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic-security main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ utopic-security universe
deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic-security universe
deb http://cn.archive.ubuntu.com/ubuntu/ utopic-security multiverse
deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic-security 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 utopic partner
deb-src http://archive.canonical.com/ubuntu utopic 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 utopic main
deb-src http://extras.ubuntu.com/ubuntu utopic main





# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1


页首
 用户资料  
 
4 楼 
 文章标题 : Re: update过程中http://cn.archive.ubuntu.com/无法下载404
帖子发表于 : 2015-01-20 8:02 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
引用:
W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/main/binary-amd64/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。
...

引用:
deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ trusty main multiverse restricted universe

1. 這個套件庫 只有使用在 安裝時 安裝後應該會自動改為
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ trusty main multiverse restricted universe
1-1. 如果 安裝後還要從這個套件庫 下載套件來安裝 (一般使用沒有網路連接情況)
需要 改回
deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ trusty main multiverse restricted universe
然後把其它連網的套件庫前面加上 # (因為沒有網路連接情況)
例如
# deb http://cn.archive.ubuntu.com/ubuntu/ utopic main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic main restricted
需要把 Ubuntu Live CD/DVD/USB 插入 並且執行
sudo apt-get update
才能開始下載安裝
1-2. 安裝完畢 需要把 上面 1-1 的更改 恢復原狀 並且執行
sudo apt-get update
引用:
W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 错误的报头行 [IP: 115.28.122.210 80]
...
W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages 404 Not Found [IP: 115.28.122.210 80]
...

引用:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1

2. 原因是 沒有其它 nameserver 設定 無法解析 domain name
參見
2-1. http://forum.ubuntu.com.cn/viewtopic.ph ... 9#p3116539
2-2. http://forum.ubuntu.com.cn/viewtopic.ph ... 5#p3115415
引用:
W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... tion-zh_CN Hash 校验和不符
...

3. 參見
http://forum.ubuntu.com.cn/viewtopic.php?f=77&t=465499

4. 溫馨提示
修改完上面的各點
需要先
sudo apt-get update
才生效


页首
 用户资料  
 
5 楼 
 文章标题 : Re: update过程中http://cn.archive.ubuntu.com/无法下载404
帖子发表于 : 2015-01-21 19:35 

注册: 2012-05-21 11:28
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
poloshiao 写道:
引用:
W: 无法下载 cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)/dists/trusty/main/binary-amd64/Packages 请使用 apt-cdrom,通过它就可以让 APT 能识别该盘片。apt-get upgdate 不能被用来加入新的盘片。
...

引用:
deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ trusty main multiverse restricted universe

1. 這個套件庫 只有使用在 安裝時 安裝後應該會自動改為
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ trusty main multiverse restricted universe
1-1. 如果 安裝後還要從這個套件庫 下載套件來安裝 (一般使用沒有網路連接情況)
需要 改回
deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ trusty main multiverse restricted universe
然後把其它連網的套件庫前面加上 # (因為沒有網路連接情況)
例如
# deb http://cn.archive.ubuntu.com/ubuntu/ utopic main restricted
# deb-src http://cn.archive.ubuntu.com/ubuntu/ utopic main restricted
需要把 Ubuntu Live CD/DVD/USB 插入 並且執行
sudo apt-get update
才能開始下載安裝
1-2. 安裝完畢 需要把 上面 1-1 的更改 恢復原狀 並且執行
sudo apt-get update
引用:
W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... ce/Sources 错误的报头行 [IP: 115.28.122.210 80]
...
W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... 4/Packages 404 Not Found [IP: 115.28.122.210 80]
...

引用:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1

2. 原因是 沒有其它 nameserver 設定 無法解析 domain name
參見
2-1. http://forum.ubuntu.com.cn/viewtopic.ph ... 9#p3116539
2-2. http://forum.ubuntu.com.cn/viewtopic.ph ... 5#p3115415
引用:
W: 无法下载 http://cn.archive.ubuntu.com/ubuntu/dis ... tion-zh_CN Hash 校验和不符
...

3. 參見
http://forum.ubuntu.com.cn/viewtopic.php?f=77&t=465499

4. 溫馨提示
修改完上面的各點
需要先
sudo apt-get update
才生效



非常感谢您的耐心回复
我消化一下 十分感谢


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Yahoo [Bot] 和 5 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译