I follow this to setup the apt-cacher but it did NOT download some files correctly via wget(i think it is). In my previous post, I'm going to install Oracle Java 8, and the apt downloaded a html page but not a install package
Downloading Oracle Java 8...
--2015-05-25 07:22:54-- http://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.tar.gz
Connecting to 192.168.191.51:3142... connected.
Proxy request sent, awaiting response... 200 OK
Length: 5307 (5.2K) [text/html]
Saving to: ‘jdk-8u45-linux-x64.tar.gz’
0K 100% 38.5M=0s
2015-05-25 07:22:55 (38.5 MB/s) - ‘jdk-8u45-linux-x64.tar.gz’ saved [5307/5307]
Can someone tell me how to fix this problem?
NOTICE: I have change the the installer_files_regexp
from [a-z]+\.tar\.gz(?:\.gpg)?
to [a-z0-9\-]+\.tar\.gz(?:\.gpg)?
otherwise I can't download the file with a file name like jdk-8u45-linux-x64.tar.gz