LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 729|回复: 3

运行apt-setup添加source站点出错

[复制链接]
发表于 2006-3-27 18:35:15 | 显示全部楼层 |阅读模式
运行apt-setup添加http或者ftp都会出现如下错误,怎么办?      
                                                        Apt configuration                                                               
                                                                                                                                             
   Failed to access the Debian archive                                                                                                        
                                                                                                                                             
   While trying to access the debian archive using the information you provided, the Debian package management tool, apt, returned the        
   following error. The questions will be asked again.                                                                                       
                                                                                                                                             
   Failed to fetch ftp://ftp.debian.org/debian/dist ... ry-i386/Packages.gz Temporary failure resolving 'ftp.debian.org'         
   Failed to fetch ftp://ftp.debian.org/debian/dists/stable/main/binary-i386/Release Temporary failure resolving 'ftp.debian.org' W:         
   Couldn't stat source package list ftp://ftp.debian.org stable/main Packages                                                               
   (/var/lib/apt/lists/ftp.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't         
   stat source package list ftp://ftp.debian.org stable/main Packages                                                                        
   (/var/lib/apt/lists/ftp.debian.org_debian_dists_stable_main_binary-i386_Packages) - stat (2 No such file or directory) W: You may want     
   to run apt-get update to correct these problems E: Some index files failed to download, they have been ignored, or old ones used           
   instead.                                                                                                                                   
                                                                                                                                             
                                                                   <Ok>
发表于 2006-3-27 18:57:41 | 显示全部楼层
你的 DNS 可用?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-27 19:09:43 | 显示全部楼层
Post by eTony
你的 DNS 可用?

奇怪
我用的和windows一样的dns啊,为什么在debian下不能用呢?
我再看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-27 19:16:37 | 显示全部楼层
重新启动机器居然好了。谢谢二楼的兄弟。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表