当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 通过proxy的APT怎么都不行!!!
帖子发表于 : 2006-03-13 14:41 

注册: 2006-02-21 15:25
帖子: 72
送出感谢: 0 次
接收感谢: 0 次
Network Proxy没有作用!web brower,APT,Gaim IM都要自己设!!

System--Preferences--Network Proxy设置成Automatic proxy configuration就是不行!
而Firfox web brower要自己的proxy设置才可以。
Gain Internet Messenger也要设proxy才行。

问题在于通过proxy的APT怎么都不行,我用的porxy是要用用户名密码鉴权的,而用户名是域用户,比如:用户user123,域是domain123,在windows里要用用户为“domain123\user123"
现在用了n种办法:
1,System--Preferences--Network Proxy设置成Automatic proxy configuration就是不行!
2,按http://wiki.ubuntu.org.cn/index/system/ConfigAptProxy修改文件不行!
3,新增/etc/apt/apt.conf为
Acquire::http::Proxy "http://user123:password@111.222.xxxx.xxx:8080";
or
Acquire::http::Proxy "http://domain123\user123:password@111.222.xxxx.xxx:8080";
or
Acquire::http::Proxy "http://user123:password@proxyabc.xxx.com.cn:8080";
or
"http://user123:password@proxyabc.xxx.com.cn";

总是提示:~# sudo apt-get install linux-686
Reading package lists... Done
Building dependency tree... Done
W: Couldn't stat source package list http://debian.cn99.com stable/main Packages (/var/lib/apt/lists/debian.cn99.com_debian_dists_stable_main_binary-i386_Packag es) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com stable/non-free Pack ages (/var/lib/apt/lists/debian.cn99.com_debian_dists_stable_non-free_binary-i38 6_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com stable/contrib Packa ges (/var/lib/apt/lists/debian.cn99.com_debian_dists_stable_contrib_binary-i386_ Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com stable/non-US/main P ackages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_stable_non-US_ma in_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com stable/non-US/contri b Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_stable_non-US _contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com stable/non-US/non-fr ee Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_stable_non-U S_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/mai n Packages (/var/lib/apt/lists/debian.cn99.com_debian_dists_proposed-updates_mai n_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/con trib Packages (/var/lib/apt/lists/debian.cn99.com_debian_dists_proposed-updates_ contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/non -free Packages (/var/lib/apt/lists/debian.cn99.com_debian_dists_proposed-updates _non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/non -US/main Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_propos ed-updates_non-US_main_binary-i386_Packages) - stat (2 No such file or directory )
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/non -US/contrib Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_pro posed-updates_non-US_contrib_binary-i386_Packages) - stat (2 No such file or dir ectory)
W: Couldn't stat source package list http://debian.cn99.com proposed-updates/non -US/non-free Packages (/var/lib/apt/lists/debian.cn99.com_debian-non-US_dists_pr oposed-updates_non-US_non-free_binary-i386_Packages) - stat (2 No such file or d irectory)
W: Couldn't stat source package list http://debian.cn99.com woody/updates/main P ackages (/var/lib/apt/lists/debian.cn99.com_debian-security_dists_woody_updates_ main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com woody/updates/contri b Packages (/var/lib/apt/lists/debian.cn99.com_debian-security_dists_woody_updat es_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://debian.cn99.com woody/updates/non-fr ee Packages (/var/lib/apt/lists/debian.cn99.com_debian-security_dists_woody_upda tes_non-free_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/main Pac kages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_breezy_main_ binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/restrict ed Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_breezy _restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/universe Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_breezy_u niverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/multiver se Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_breezy _multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-security /main Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_bre ezy-security_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-security /restricted Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dis ts_breezy-security_restricted_binary-i386_Packages) - stat (2 No such file or di rectory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-security /universe Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists _breezy-security_universe_binary-i386_Packages) - stat (2 No such file or direct ory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-security /multiverse Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dis ts_breezy-security_multiverse_binary-i386_Packages) - stat (2 No such file or di rectory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-updates/ main Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_bree zy-updates_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-updates/ restricted Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dist s_breezy-updates_restricted_binary-i386_Packages) - stat (2 No such file or dire ctory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-updates/ universe Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_ breezy-updates_universe_binary-i386_Packages) - stat (2 No such file or director y)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-updates/ multiverse Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dist s_breezy-updates_multiverse_binary-i386_Packages) - stat (2 No such file or dire ctory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-backport s/main Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dists_br eezy-backports_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-backport s/restricted Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_di sts_breezy-backports_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-backport s/universe Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_dist s_breezy-backports_universe_binary-i386_Packages) - stat (2 No such file or dire ctory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-backport s/multiverse Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_archive_di sts_breezy-backports_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/main Pac kages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_ubuntu-cn_dists_breezy_mai n_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/restrict ed Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_ubuntu-cn_dists_bree zy_restricted_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/universe Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_ubuntu-cn_dists_breezy _universe_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy/multiver se Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_ubuntu-cn_dists_bree zy_multiverse_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-extras/m ain Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_backports_dists_bre ezy-extras_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-extras/r estricted Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_backports_dis ts_breezy-extras_restricted_binary-i386_Packages) - stat (2 No such file or dire ctory)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-extras/u niverse Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_backports_dists _breezy-extras_universe_binary-i386_Packages) - stat (2 No such file or director y)
W: Couldn't stat source package list http://mirror.lupaworld.com breezy-extras/m ultiverse Packages (/var/lib/apt/lists/mirror.lupaworld.com_ubuntu_backports_dis ts_breezy-extras_multiverse_binary-i386_Packages) - stat (2 No such file or dire ctory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package linux-686


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-04-08 9:54 

注册: 2005-12-28 16:23
帖子: 233
送出感谢: 0 次
接收感谢: 0 次
i can't do it too .......


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2006-04-09 3:30 
头像

注册: 2006-02-18 22:53
帖子: 175
地址: 啊里不吐纳星球
送出感谢: 0 次
接收感谢: 0 次
the same to you :(


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-04-09 5:30 
头像

注册: 2006-02-18 22:53
帖子: 175
地址: 啊里不吐纳星球
送出感谢: 0 次
接收感谢: 0 次
找了半天,终于搜到如何解决这个问题了

在/etc/apt/ 下建立一个apt.conf 文件
内容为
Acquire::http::Proxy "http://usrer:password@proxyip:port";

这样就ok了 :P


页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2006-04-09 7:51 

注册: 2005-12-28 16:23
帖子: 233
送出感谢: 0 次
接收感谢: 0 次
chieftain 写道:
找了半天,终于搜到如何解决这个问题了

在/etc/apt/ 下建立一个apt.conf 文件
内容为
Acquire::http::Proxy "http://usrer:password@proxyip:port";

这样就ok了 :P


可以用apt-get update 测试一下。


页首
 用户资料  
 
6 楼 
 文章标题 :
帖子发表于 : 2006-04-11 10:05 
头像

注册: 2006-02-18 22:53
帖子: 175
地址: 啊里不吐纳星球
送出感谢: 0 次
接收感谢: 0 次
chieftain@ubuntu:~$ sudo apt-get update
Password:
获取:1 http://archive.ubuntu.org.cn breezy Release.gpg [189B]
获取:2 http://archive.ubuntu.org.cn breezy-security Release.gpg [189B]
获取:3 http://archive.ubuntu.org.cn breezy-updates Release.gpg [189B]
获取:4 http://archive.ubuntu.org.cn breezy-backports Release.gpg [189B]
忽略 http://archive.ubuntu.org.cn breezy Release.gpg
忽略 http://archive.ubuntu.org.cn breezy-extras Release.gpg
命中 http://archive.ubuntu.org.cn breezy Release
命中 http://archive.ubuntu.org.cn breezy-security Release
命中 http://archive.ubuntu.org.cn breezy-updates Release
命中 http://archive.ubuntu.org.cn breezy-backports Release
忽略 http://archive.ubuntu.org.cn breezy Release
忽略 http://archive.ubuntu.org.cn breezy-extras Release
命中 http://archive.ubuntu.org.cn breezy/main Packages
命中 http://archive.ubuntu.org.cn breezy/restricted Packages
命中 http://archive.ubuntu.org.cn breezy/universe Packages
命中 http://archive.ubuntu.org.cn breezy/multiverse Packages
命中 http://archive.ubuntu.org.cn breezy-security/main Packages
命中 http://archive.ubuntu.org.cn breezy-security/restricted Packages
命中 http://archive.ubuntu.org.cn breezy-security/universe Packages
命中 http://archive.ubuntu.org.cn breezy-security/multiverse Packages
命中 http://archive.ubuntu.org.cn breezy-updates/main Packages
命中 http://archive.ubuntu.org.cn breezy-updates/restricted Packages
命中 http://archive.ubuntu.org.cn breezy-updates/universe Packages
命中 http://archive.ubuntu.org.cn breezy-updates/multiverse Packages
命中 http://archive.ubuntu.org.cn breezy-backports/main Packages
命中 http://archive.ubuntu.org.cn breezy-backports/restricted Packages
命中 http://archive.ubuntu.org.cn breezy-backports/universe Packages
命中 http://archive.ubuntu.org.cn breezy-backports/multiverse Packages
忽略 http://archive.ubuntu.org.cn breezy/main Packages
忽略 http://archive.ubuntu.org.cn breezy/restricted Packages
忽略 http://archive.ubuntu.org.cn breezy/universe Packages
忽略 http://archive.ubuntu.org.cn breezy/multiverse Packages
忽略 http://archive.ubuntu.org.cn breezy-extras/main Packages
忽略 http://archive.ubuntu.org.cn breezy-extras/restricted Packages
忽略 http://archive.ubuntu.org.cn breezy-extras/universe Packages
忽略 http://archive.ubuntu.org.cn breezy-extras/multiverse Packages
命中 http://archive.ubuntu.org.cn breezy/main Packages
命中 http://archive.ubuntu.org.cn breezy/restricted Packages
命中 http://archive.ubuntu.org.cn breezy/universe Packages
命中 http://archive.ubuntu.org.cn breezy/multiverse Packages
命中 http://archive.ubuntu.org.cn breezy-extras/main Packages
命中 http://archive.ubuntu.org.cn breezy-extras/restricted Packages
命中 http://archive.ubuntu.org.cn breezy-extras/universe Packages
命中 http://archive.ubuntu.org.cn breezy-extras/multiverse Packages
下载 4B,耗时 11s (0B/s)
正在读取软件包列表... 完成
chieftain@ubuntu:~$

这是我的apt.conf文件内容:

Acquire::http::Proxy "http://ccwhcz:chieftain@10.185.11.61:80";


:D


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

当前时区为 UTC + 8 小时


在线用户

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


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

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

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