免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4428 | 回复: 1
打印 上一主题 下一主题

[图形界面] sudo apt-get install gettext [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2012-07-21 11:50 |显示全部楼层 |倒序浏览
实用Ubuntu自动安装gettext时,提示连接失败,为什么会自动连接这个IP161.92.51.225呢?现在无法自动安装,该如何解决?求高手,谢谢
gav@ubuntu:~/gettext-0.18$ sudo apt-get install gettext
[sudo] password for gav:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  cvs
Suggested packages:
  gettext-doc
The following NEW packages will be installed:
  cvs gettext
0 upgraded, 2 newly installed, 0 to remove and 494 not upgraded.
Need to get 3,447kB of archives.
After this operation, 11.1MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  cvs gettext
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main cvs 1:1.12.13-12ubuntu1.10.04.1
  Could not connect to 161.92.51.225:8080 (161.92.51.225). - connect (110: Connection timed out)
Err http://us.archive.ubuntu.com/ubuntu/ lucid/main gettext 0.17-8ubuntu3
  Unable to connect to 161.92.51.225:8080:
Err http://security.ubuntu.com/ubuntu/ lucid-security/main cvs 1:1.12.13-12ubuntu1.10.04.1
  Could not connect to 161.92.51.225:8080 (161.92.51.225). - connect (110: Connection timed out)
Failed to fetch http://security.ubuntu.com/ubunt ... u1.10.04.1_i386.deb  Could not connect to 161.92.51.225:8080 (161.92.51.225). - connect (110: Connection timed out)
Failed to fetch http://us.archive.ubuntu.com/ubu ... 7-8ubuntu3_i386.deb  Unable to connect to 161.92.51.225:8080:
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

论坛徽章:
0
2 [报告]
发表于 2012-07-21 12:33 |显示全部楼层
我已经解决了,修改/etc/apt/apt.conf,将里面原有的网址替换成有效的IP即可。
比如我先ping us.archive.ubuntu.com,能够得到这个URL的有效IP,打开这个IP后界面提示使用80端口。然后把这些信息填到apt.conf里就行了
搞了好久才知道,浪费时间了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP