apt-proxy on Ubuntu 6.06

Bjørn Ingmar Berg bjorn.ingmar.berg at gmail.com
Mon Oct 23 13:42:36 UTC 2006


Hi

apt-ptoxy has been recommended several times when posters have wanted
to set up a local partial mirror.  After reading about it it sounds
like a promising solution.  It gets difficult after installing it via
Synaptic, as apt-proxy doesn't do anything "out of the box".

I have googled for howtos but not had much success finding anything useful.
Hopefully someone here on the list can help a little.

* How do I get apt-proxy to start running as a daemon at the same time
as the machine I've installed it on boots?  (As far as I can
understand apt-proxy's home-page this should be possible.)

* Editing /etc/apt-proxy/apt-proxy-v2.conf
I set "Server IP to listen on" to the machines own IP.  When trying to
run apt-proxy I get the message
"twisted.internet.error.CannotListenError: Couldn't listen on
any:9999: (98, 'Address already in use')."  What have I misunderstood?

* Editing /etc/apt-proxy/apt-proxy-v2.conf
There are many entries in the file pointing to various debian
backends.  As there are only Ubuntu machines on this LAN I assume they
can all be removed.  Correct?
Also I assume I should add backend entries for things like Seveas'
mirror.  I guess that would make a line like "backends =
http://mirror.ubuntulinux.nl/dapper-seveas"  Any chance this will
work, or should I do it differently?

* Changing sources.list on the clients
As far as I can understand all machines that want to use the proxy
must change their sources list.  Is this simply repacing the URL to
point to the machine running apt-proxy, leaving the rest as it is?
(For every entry in sources.list of course.)


Thanks in advance!

Regards,
Bjørn Ingmar Berg

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?




More information about the ubuntu-users mailing list