Ubuntu package system

Stephen Ryan stephen at sryanfamily.info
Tue Oct 7 15:35:38 EDT 2008


On Tue, 2008-10-07 at 14:55 -0400, bruce.labitt at autoliv.com wrote:
> I don't seem to have an apt.conf.  Any Ubuntu people out there to tell me
> where to put a new one?  I found the configure-index file which gives an
> example for apt.conf.

You probably have /etc/apt/apt.conf.d/, which is a directory full of
snippets which are read sequentially; this way any local customizations
you make won't be overwritten by a package update.

Create a file named /etc/apt/apt.conf.d/01proxy and put just the proxy
settings in it.

It should look something like

Acquire::http::Proxy "http://proxy.server.name:port";

There's a one-of-everything sample file
in /usr/share/doc/apt/examples/configure-index.gz that you can look
through for inspiration, too.

> What to use for a proxy command?  Where in the file? beginning?  Syntax?
> 
> http_proxy=?
> ftp_proxy=?
> 
> Once I get this going I'll be onto stuff like printers...
> 
> ntlmaps worked fairly well on the old system.  I expect it will work ok 
> here.
> I still need to figure out how to put in a hash so it will ask me for the 
> password
> rather than using a file with it in clear text. :0
> 
> -Bruce
> 
> gnhlug-discuss-bounces at mail.gnhlug.org wrote on 10/07/2008 01:26:16 PM:
> 
> > On Tue, Oct 7, 2008 at 12:05 PM,  <bruce.labitt at autoliv.com> wrote:
> > > I think I will need to do the proxy thing again.
> > 
> >   Probably.  You might ask your IT people if it is possible to have
> > them configure an exception for your stuff.
> > 
> > > What is the name of the base package system ...
> > 
> >   APT (Advanced Package Tool), with "apt-get" being the most popular 
> command.
> > 
> > > ... where do I find the configuration files to send it to the proxy?
> > 
> >   I'm guessing /etc/apt/apt.conf wil be the most likely place for that
> > sort of option.  I seem to recall that "man apt.conf" was reasonably
> > comprehensive.
> > 
> > > I will use ntlmaps again.  It was fun the first time...
> > 
> >   I've never used or heard of ntlmaps before, but Google found its
> > home page for me.  (It appears to be a sort of HTTP proxy gateway.  It
> > acts as an HTTP proxy client speaking NTLM authentication to an
> > upstream proxy server that requires NTLM; it acts as an HTTP proxy
> > server speaking BASIC/DIGEST to downstream clients which don't speak
> > NTLM; and it bridges the two worlds.)  It is likely your upstream
> > proxy server supports other forms of authentication (such as BASIC or
> > DIGEST), and may even have them enabled.  If they're not enabled, you
> > might ask your IT people to enable them.  Or maybe it's easier to just
> > deploy ntlmaps; your call.  :)
> > 
> > -- Ben
> > _______________________________________________
> > gnhlug-discuss mailing list
> > gnhlug-discuss at mail.gnhlug.org
> > http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
> 
> 
> ******************************
> Neither the footer nor anything else in this E-mail is intended to or constitutes an <br>electronic signature and/or legally binding agreement in the absence of an <br>express statement or Autoliv policy and/or procedure to the contrary.<br>This E-mail and any attachments hereto are Autoliv property and may contain legally <br>privileged, confidential and/or proprietary information.<br>The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way <br>disseminating any material contained within this E-mail without prior written <br>permission from the author. If you receive this E-mail in error, please <br>immediately notify the author and delete this E-mail.  Autoliv disclaims all <br>responsibility and liability for the consequences of any person who fails to <br>abide by the terms herein. <br>
> ******************************
> 
> _______________________________________________
> gnhlug-discuss mailing list
> gnhlug-discuss at mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/



More information about the gnhlug-discuss mailing list