LinuxSir.cn,穿越时空的Linuxsir!

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

debian下APT-GET 如何使用????老大还是不行!!

[复制链接]
发表于 2005-10-25 13:00:10 | 显示全部楼层 |阅读模式
我通过代理上网!怎么更新程序?
SU
****
export http_proxy="http://192.168.1.244:80“
apt-get update      (这里更新的太快!不像是从网络更新的)
APT-GET INSTALL webmin


提示找不到
发表于 2005-10-25 13:24:06 | 显示全部楼层
贴出你的 /etc/apt/sources.list
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-25 13:42:34 | 显示全部楼层
# deb http://debian.cn99.com/debian stable main non-free contrib
# deb ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware misc ustc
# deb-src ftp://debian.ustc.edu.cn/debian-uo sid marillat rareware misc
# deb ftp://debian.ustc.edu.cn/debian-uo/gnome2-woody/i386 ./
# deb-src ftp://debian.ustc.edu.cn/debian-uo/gnome2-woody/source ./
# deb ftp://debian.ustc.edu.cn/debian stable main non-free contrib
# deb-src ftp://debian.ustc.edu.cn/debian stable main non-free contrib
# deb ftp://debian.ustc.edu.cn/debian-uo/misc/i386 ./
# deb-src ftp://debian.ustc.edu.cn/debian-uo/misc/source ./
# deb ftp://debian.ustc.edu.cn/debian proposed-updates main contrib non-free
# deb-src ftp://debian.ustc.edu.cn/debian proposed-updates main contrib non-free
# deb ftp://debian.ustc.edu.cn/debian-uo/zh/i386 ./
# deb ftp://debian.ustc.edu.cn/debian-security stable/updates main
# deb http://debian.cn99.com/debian stable main non-free contrib
# deb httP://debian.ustc.edu.cn/debian-non-us sarge/non-us main non-free contrib
# deb http://http.us.debian.org/debian stable main non-free contrib
回复 支持 反对

使用道具 举报

发表于 2005-10-25 13:47:38 | 显示全部楼层
你的 sources.list 里的源都被注释掉了
选择速度快的源, 把 "#" 去掉
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-25 13:52:57 | 显示全部楼层
哪个比较快?能把你的给贴一个吗??谢了!
回复 支持 反对

使用道具 举报

发表于 2005-10-25 13:58:05 | 显示全部楼层
哪个比较快, 与你的网络有关吧

我是教育网的
deb ftp://debian.ustc.edu.cn/debian unstable main non-free contrib
deb-src ftp://debian.ustc.edu.cn/debian unstable main non-free contrib
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-25 14:45:28 | 显示全部楼层
hai shi bu xing

debian:/home/ytzh# apt-get update
E: 无法找到获取软件包的渠道 /usr/lib/apt/methods/httP 所需的驱动程序。
E: 无法找到获取软件包的渠道 /usr/lib/apt/methods/httP 所需的驱动程序。
回复 支持 反对

使用道具 举报

发表于 2005-10-25 15:26:17 | 显示全部楼层
没遇到过这个问题,
你用 google 搜 一下
The method driver /usr/lib/apt/methods/http could not be found
看能不能找到解决方法
回复 支持 反对

使用道具 举报

发表于 2005-10-25 15:59:33 | 显示全部楼层
export http_proxy="http://192.168.1.24480“

应该是 export http_proxy="http://192.168.1.244:80“
回复 支持 反对

使用道具 举报

发表于 2005-10-26 01:02:11 | 显示全部楼层
应该是改apt。conf吧?具体语法忘了,google下吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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