Tuesday, November 27, 2012

pbuilder set proxy

I have always dabbled with Debian package building. And the tool of choice is pbuilder.

I now learnt that even if you have an proxy set in your /etc/apt/preferences, pbuilder does not look at that.

If you are like me, and stuck with cheap DSL, you may be forced to run an apt-cacher. That way you don't need to waste valuable bandwidth on already downloaded packages.

But in order to make pbuilder make use of your apt-cache, you just need to set this

export http_proxy=http://your-proxy:8080/ in ~/.pbuilderrc


No comments:

Post a Comment