[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lenny install through apt-proxy



Jesús M. Navarro wrote:
Hi, Mike:

On Friday 05 June 2009 02:40:09 mike wrote:
Has anyone installed lenny, with a netinst cd, going to a server running
apt-proxy  to get packages?

Yes, but I think to remember that you can't completly do it "as is" since even on the expert mode you are not allowed to choose repos for security updates (nor you can choose to install without security updates). The net result is that security updates always go to the Internet.

But you could pass at boot time a boot param pointing to a D-I template which in turn overwrites all repos to point to your apt-proxy. I do it and go a step beyond that: I use a TFTP/DHCP/PXE server which feeds the netinst images and the URL to the template so I can automate most of the install process. You'll find step-by-step tutorial to achieve that on the Internet.

or is it better to put in a proxy server and do the initial install that way?

A "generalistic" web proxy server properly configured should do the trick since it would happily cache your security updated packages too. The netinst offers you to configure going through a proxy at least when on expert mode.


Jesús thanks for your input. I hadn't thought about using expert mode. But I had downloaded the 5.0.1 netinst disc. So, today I tried expert mode. To my surprise it asked if I wanted to include security and volatile. I said no. The install went through apt-proxy great. When I was done I copied the sources.list from another computer over and everything seems right. Thanks for your help.
-mike


Reply to: