Gentoo Archives: gentoo-user

From: Teresa and Dale <teendale@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] http-replicator fetching on the server
Date: Fri, 02 Jun 2006 14:24:23
Message-Id: 4480451E.2060305@vista-express.com
In Reply to: [gentoo-user] http-replicator fetching on the server by Peter Kelly
1 Peter Kelly wrote:
2
3 >Holas,
4 >
5 >I'm running http-replicator on a desktop (server). The laptop asks the
6 >desktop for files correctly, and that works just fine.
7 >
8 >The problem I'm seeing is on the desktop. Every night I do
9 ># emerge world --update --deep --newuse --fetchonly
10 ># /usr/bin/repcacheman
11 >
12 >which gets all the files I'll need (into /usr/portage/distfiles), and then
13 >moves all the files to http-rep cache (/var/cache/http-replicator).
14 >The next time I run
15 ># emerge -autvDN world
16 >
17 >portage looks in /usr/portage/distfiles ($DISTDIR in make.conf), and, of
18 >course, doesn't see the files. They've been moved
19 >to /var/cache/http-replicator. Then portage grabs the files, without
20 >consulting http-replicator.
21 >Now, like I said, everything works fine for external machines. They
22 >immediately use port 8080. It's just the desktop/http-rep server that
23 >doesn't use want to use the http-rep cache.
24 >
25 >Here are a few pertinent lines from /etc/make.conf
26 >http_proxy="http://crichton:8080"
27 >RESUMECOMMAND="/usr/bin/wget -t 5 --passive-ftp \${URI} -O \
28 >\${DISTDIR}/\${FILE}"
29 >
30 ># ping crichton
31 >PING localhost (127.0.0.1) 56(84) bytes of data.
32 >
33 >Any idea what I have mis-configured?
34 >
35 >Thanks.
36 >
37 >Peter
38 >
39 >
40 >
41
42 Try something like this in make.conf:
43 http_proxy="http://192.168.0.1:8080" Change the address to whatever
44 you are running your machine at. Basically you are pointing emerge back
45 at itself.
46
47 Dale
48 :-) :-)
49 --
50 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] http-replicator fetching on the server Peter Kelly <linuxpete@××××××××××.com>