进入scratchbox后,
在文件/etc/apt/apt.conf.d/99proxy 中
设置所需代理
Acatuire::http::Proxy "http://proxy_user:user_passwd@proxy_addess:proxy_port";
最好也在scratchbox 的当前目录下,修改.bashrc 文件,添加代理设置。
如果遇到dns 不能解析的问题,得退出scratchbox, 在主机的 /scartchbox/etc/resove.conf 中修改