Hello. I'd like to use one of my public "buckets" at Amazon S3 to store the package files. To do so, I uploaded the packages to s3. They are available at <http://public-files.askwar.gentoo-packages.s3.amazonaws.com/>, all stored under the prefix GentooUSB/packages, eg. at <http://public-files.askwar.gentoo-packages.s3.amazonaws.com/GentooUSB/packages/All/python-updater-0.3.tbz2>. To make portage use this binhost, I set in make.conf:
PORTAGE_BINHOST="http://public-files.askwar.gentoo-packages.s3.amazonaws.com/GentooUSB/packages/" But when I now try to use a package from there, eg. =app-admin/python-updater-0.3, I get an error message: winnb000488 / # emerge -vp --getbinpkgonly =app-admin/python-updater-0.3 These are the packages that would be merged, in order: Calculating dependencies \Fetching binary packages info... x-amz-request-id: 1C961B660CF71C9F x-amz-id-2: qH6bzWMvFg+tG1iI0JFTefqCoxJBg3lrL2jdRVw1LrSc2djm0s+oEYiSGlHw1rgE Content-Type: application/xml Transfer-Encoding: chunked Date: Wed, 31 Oct 2007 14:10:52 GMT Server: AmazonS3 <?xml version="1.0" encoding="UTF-8"?> <Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message><Key>GentooUSB/packages/</Key><RequestId>1C961B660CF71C9F</RequestId><HostId>qH6bzWMvFg+tG1iI0JFTefqCoxJBg3lrL2jdRVw1LrSc2djm0s+oEYiSGlHw1rgE</HostId></Error> address: /GentooUSB/packages/ Traceback (most recent call last): File "/usr/bin/emerge", line 5481, in ? retval = emerge_main() File "/usr/bin/emerge", line 5476, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 4802, in action_build mydepgraph = depgraph(settings, trees, myopts, myparams, spinner) File "/usr/bin/emerge", line 991, in __init__ "--getbinpkgonly" in self.myopts) File "/usr/lib/portage/pym/portage.py", line 6598, in populate self.remotepkgs = getbinpkg.dir_get_metadata( 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 294, 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 suppose that's so, because there's no /GentooUSB/packages "directory" on the server? If you go to <http://public-files.askwar.gentoo-packages.s3.amazonaws.com/GentooUSB/packages/>, you only get a 404 error. But the "file" <http://public-files.askwar.gentoo-packages.s3.amazonaws.com/GentooUSB/packages/All/python-updater-0.3.tbz2> exists just fine. Does anyone know, if it's somehow possible to use S3 with Portage as a host for PORTAGE_BINHOST? Thanks, Alexander -- [EMAIL PROTECTED] mailing list