我跟随这设置 apt-cacher,但它没有通过 wget 正确下载某些文件(我认为是的)。在我的上一篇我要安装 Oracle Java 8,apt 下载了一个 html 页面,但没有下载安装包
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]
有人能告诉我如何解决这个问题吗?
installer_files_regexp
注意:我已将文件名更改[a-z]+\.tar\.gz(?:\.gpg)?
为,[a-z0-9\-]+\.tar\.gz(?:\.gpg)?
否则我无法下载文件名为jdk-8u45-linux-x64.tar.gz