Hello,
I am having difficulties setting up an http-replicator on a gentoo box for binary portage caching purposes. The setup seems trivial, however when accessed from a client I get the following exception:
xen ~ # emerge -pg vim
These are the packages that would be merged, in order:
Fetching binary packages info...
date: Mon, 28 Aug 2006 12:33:40 GMT
connection: close
<html><body><pre><h1>Not found</h1></pre></body></html>
address: /ALL
Traceback (most recent call last):
File "/usr/bin/emerge", line 3435, in ?
mydepgraph=depgraph(myaction,myopts)
File "/usr/bin/emerge", line 922, in __init__
portage.db["/"]["bintree"].populate(("--getbinpkg" in myopts), ("--getbinpkgonly" in myopts))
File "/usr/lib/portage/pym/portage.py", line 5724, in populate
self.remotepkgs = getbinpkg.dir_get_metadata(settings["PORTAGE_BINHOST"], chunk_size=chunk_size)
File "/usr/lib/portage/pym/getbinpkg.py", line 448, in dir_get_metadata
filelist = dir_get_list(baseurl, conn)
File "/usr/lib/portage/pym/getbinpkg.py", line 293, in dir_get_list
raise Exception, "Unable to get listing: %s %s" % (rc,msg)
Exception: Unable to get listing: 404 Server did not respond successfully (404: Not Found)
I am having suspicions about the server config, where you setup the alias to the precompiled portage such as:
## Local dir to serve clients. Great for serving binary packages
## See PKDIR and PORTAGE_BINHOST settings in 'man make.conf'
## --alias /path/to/serve:location will make /path/to/serve
## browsable at
http://http-replicator.comort/location
DAEMON_OPTS="$DAEMON_OPTS --alias /usr/portage/packages/All:All"
Does anyone have any clues about this? What do they mean in the config of the replicator - 'browsable at
http://.... ?
Thanks!
-igor