|
这两天一直无法更新,以为是服务器问题,就没怎么在意。今天突然试了一下,原来网站可以在浏览器里打开啊,但是我还是无法更新。嗯,想起来好像最后一次更新里有apt组件……那么,如何修复呢?
- clinif@debian:~$ cat /etc/apt/sources.list
- deb http://www.anheng.com.cn/debian/ unstable main contrib non-free
- deb-src http://www.anheng.com.cn/debian/ unstable main contrib non-free
- clinif@debian:~$ apt-get --version
- apt 0.7.21 for amd64 compiled on Apr 15 2009 21:31:44
- Supported modules:
- *Ver: Standard .deb
- *Pkg: Debian dpkg interface (Priority 30)
- S.L: 'deb' Standard Debian binary tree
- S.L: 'deb-src' Standard Debian source tree
- Idx: Debian Source Index
- Idx: Debian Package Index
- Idx: Debian Translation Index
- Idx: Debian dpkg status file
- clinif@debian:~$ sudo apt-get update
- Ign file: apt-build Release.gpg
- Ign file: apt-build/main Translation-en_US
- Get:1 file: apt-build Release [90B]
- Ign file: apt-build/main Packages
- Get:2 http://www.anheng.com.cn unstable Release.gpg [197B]
- Err http://www.anheng.com.cn unstable/main Translation-en_US
- Could not resolve ''
- Err http://www.anheng.com.cn unstable/contrib Translation-en_US
- Could not resolve ''
- Err http://www.anheng.com.cn unstable/non-free Translation-en_US
- Could not resolve ''
- Err http://www.anheng.com.cn unstable Release
-
- Ign http://www.anheng.com.cn unstable/main Packages/DiffIndex
- Ign http://www.anheng.com.cn unstable/contrib Packages/DiffIndex
- Ign http://www.anheng.com.cn unstable/non-free Packages/DiffIndex
- Ign http://www.anheng.com.cn unstable/main Sources/DiffIndex
- Ign http://www.anheng.com.cn unstable/contrib Sources/DiffIndex
- Ign http://www.anheng.com.cn unstable/non-free Sources/DiffIndex
- Ign http://www.anheng.com.cn unstable/main Packages
- Ign http://www.anheng.com.cn unstable/contrib Packages
- Ign http://www.anheng.com.cn unstable/non-free Packages
- Ign http://www.anheng.com.cn unstable/main Sources
- Ign http://www.anheng.com.cn unstable/contrib Sources
- Ign http://www.anheng.com.cn unstable/non-free Sources
- Ign http://www.anheng.com.cn unstable/main Packages
- Ign http://www.anheng.com.cn unstable/contrib Packages
- Ign http://www.anheng.com.cn unstable/non-free Packages
- Ign http://www.anheng.com.cn unstable/main Sources
- Ign http://www.anheng.com.cn unstable/contrib Sources
- Ign http://www.anheng.com.cn unstable/non-free Sources
- Err http://www.anheng.com.cn unstable/main Packages
- Unable to connect to www.anheng.com.cn http:
- Err http://www.anheng.com.cn unstable/contrib Packages
- Unable to connect to www.anheng.com.cn http:
- Err http://www.anheng.com.cn unstable/non-free Packages
- Unable to connect to www.anheng.com.cn http:
- Err http://www.anheng.com.cn unstable/main Sources
- Unable to connect to www.anheng.com.cn http:
- Err http://www.anheng.com.cn unstable/contrib Sources
- Unable to connect to www.anheng.com.cn http:
- Err http://www.anheng.com.cn unstable/non-free Sources
- Unable to connect to www.anheng.com.cn http:
- Fetched 197B in 7s (27B/s)
- Reading package lists... Done
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/main/i18n/Translation-en_US.bz2 Could not resolve ''
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/contrib/i18n/Translation-en_US.bz2 Could not resolve ''
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/non-free/i18n/Translation-en_US.bz2 Could not resolve ''
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/Release
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/main/binary-amd64/Packages Unable to connect to www.anheng.com.cn http:
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/contrib/binary-amd64/Packages Unable to connect to www.anheng.com.cn http:
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/non-free/binary-amd64/Packages Unable to connect to www.anheng.com.cn http:
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/main/source/Sources Unable to connect to www.anheng.com.cn http:
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/contrib/source/Sources Unable to connect to www.anheng.com.cn http:
- W: Failed to fetch http://www.anheng.com.cn/debian/dists/unstable/non-free/source/Sources Unable to connect to www.anheng.com.cn http:
- W: Some index files failed to download, they have been ignored, or old ones used instead.
- W: You may want to run apt-get update to correct these problems
复制代码 |
|