[ubuntu-us-ut] Pass-through Cache for Apt?
Charles Curley
charlescurley at charlescurley.com
Thu Oct 4 19:58:49 BST 2007
On Thu, Oct 04, 2007 at 11:44:37AM -0600, Christer Edwards wrote:
> On Thu Oct 04, 2007 at 09:28:12AM -0600, Charles Curley wrote:
> > I have that set up one one machine, with two clients, itself and one
> > other. The other client can update ("apt-get update") just fine when I
> > use the host name. The server cannot update anything if I use the host
> > name, and can update everything if I use localhost. The two
> > sources.list are identical, except for the host name.
> >
> > --------------------------------------------------
> > allowed_hosts=192.168.1.0/24
> > denied_hosts=
> > --------------------------------------------------
> The documentation says that localhost (127.0.0.1) should always be
> allowed despite the allowed_hosts= definition, but I wonder if you
> append 127.0.0.1 to the list if that would help?
>
> allowed_hosts=192.168.1.0/24, 127.0.0.1
>
> worth a try..
Thanks.
The problem isn't using localhost while
"allowed_hosts=192.168.1.0/24". that works regardless. The problem is
in trying to have the server uses its own hostname while
"allowed_hosts=192.168.1.0/24".
--
Charles Curley /"\ ASCII Ribbon Campaign
Looking for fine software \ / Respect for open standards
and/or writing? X No HTML/RTF in email
http://www.charlescurley.com / \ No M$ Word docs in email
Key fingerprint = CE5C 6645 A45A 64E4 94C0 809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-us-ut/attachments/20071004/158316f7/attachment.pgp
More information about the ubuntu-us-ut
mailing list