[Apt-cacher-ng-users] problem to download some packages?

Tony Bussieres t.bussieres at gmail.com
Mon Oct 22 02:26:32 UTC 2012


I'm installing  hosts that run behind apt-cacher-ng and I'm trying to
install a package : oracle-java7-installer


....
Downloading Oracle Java 7...
--2012-10-21 16:57:28--
http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz
Resolving xxxxx (xxxxxx)... x.x.x.x
Connecting to xxxxx(xxxxx)|x.x.x.x|:3142... connected.
Proxy request sent, awaiting response... 302 Moved Temporarily
Location:
https://edelivery.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz[following]
--2012-10-21 16:57:28--
https://edelivery.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz
Resolving edelivery.oracle.com (edelivery.oracle.com)... 173.222.186.174
Connecting to edelivery.oracle.com
(edelivery.oracle.com)|173.222.186.174|:443...
connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location:
http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz?AuthParam=1350872255_85e207a5d55476ad697927f6a73c2412[following]
--2012-10-21 16:57:28--
http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz?AuthParam=1350872255_85e207a5d55476ad697927f6a73c2412
Connecting to xxxxx|xxxxx|:3142... connected.
Proxy request sent, awaiting response... 403 Forbidden file type or location
2012-10-21 16:57:28 ERROR 403: Forbidden file type or location.
....


I can wget from another host within the time limit that the token is good
for the following url
http://download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz?AuthParam=1350872255_85e207a5d55476ad697927f6a73c2412

But behind apt-cacher-ng it doesn't work, and modifying apt config file to
allow direct connection for this url is not an option for me.

This is the line I have in the apt-cacher-ng log :
1350871854|O|308|xxxxxx|
download.oracle.com/otn-pub/java/jdk/7u9-b05/jdk-7u9-linux-x64.tar.gz


I suspect that maybe apt-cacher-ng removes the http request parameters, is
it the case?

Is there a solution to this problem?

Thanks

-tony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/apt-cacher-ng-users/attachments/20121021/12978463/attachment.html>


More information about the Apt-cacher-ng-users mailing list