Results 1 to 3 of 3

Thread: apt-cacher-ng -> sources.list

  1. #1
    Join Date
    Apr 2008
    Beans
    332
    Distro
    Ubuntu 10.04 Lucid Lynx

    apt-cacher-ng -> sources.list

    Apt-cacher-ng is an unusual sort of server package. Server is super easy to setup and clients are hard.

    apt-get install apt-cacher-ng apache2

    and that's all it takes. It's up and running fine.

    Then you have the clients to the server. You have to go manually edit each line to add like 10.11.12.13:3142/ in for each of the sources. Sure does discourage the use of apt-cachers.

    Perhaps we could get a tool like:

    apt-cache server 10.11.12.13:3142

    Does it easy then?

  2. #2
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: apt-cacher-ng -> sources.list

    just put:
    Acquire::http::Proxy "http://your-host:3142";
    in your apt.conf or apt.conf.d
    adding a extra command for this one line is overkill in my opinion.

    also using the alternate installer you can set this up during installation.

    you can also use the -o flag on the command line to change the proxy temporarily or set the http_proxy environment variable (the later use very useful for pbuilder)
    Last edited by MadCow108; April 4th, 2011 at 10:51 PM.

  3. #3
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: apt-cacher-ng -> sources.list

    This really doesn't have anything to do with Natty Testing, moved to Server Platforms.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •