Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决在软件中心安装软件提示下载文件校验不一致的BUG 去掉wget无法识别的--tries参数 #342

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

solosky
Copy link

@solosky solosky commented Oct 13, 2019

root@Openwrt:/koolshare/scripts# wget
Usage: wget [options]
Options:
-4 Use IPv4 only
-6 Use IPv6 only
-q Turn off status messages
-O Redirect output to file (use "-" for stdout)
-P

Set directory for output files
--user= HTTP authentication username
--password= HTTP authentication password
--user-agent|-U Set HTTP user agent
--post-data=STRING use the POST method; send STRING as the data
--spider|-s Spider mode - only check file existence
--timeout=N|-T N Set connect/request timeout to N seconds
--proxy=on|off|-Y on|off Enable/disable env var configured proxy

HTTPS options:
--ca-certificate= Load CA certificates from file
--no-check-certificate don't validate the server's certificate

root@Openwrt:/koolshare/scripts# wget
Usage: wget [options] <URL>
Options:
	-4				Use IPv4 only
	-6				Use IPv6 only
	-q				Turn off status messages
	-O <file>			Redirect output to file (use "-" for stdout)
	-P <dir>			Set directory for output files
	--user=<user>			HTTP authentication username
	--password=<password>		HTTP authentication password
	--user-agent|-U <str>		Set HTTP user agent
	--post-data=STRING		use the POST method; send STRING as the data
	--spider|-s			Spider mode - only check file existence
	--timeout=N|-T N		Set connect/request timeout to N seconds
	--proxy=on|off|-Y on|off	Enable/disable env var configured proxy

HTTPS options:
	--ca-certificate=<cert>		Load CA certificates from file <cert>
	--no-check-certificate		don't validate the server's certificate
@whwlsfb
Copy link
Contributor

whwlsfb commented Oct 15, 2019

root@LEDEOS:~# strings /usr/bin/wget | grep tries
numtries
showalldnsentries
Reading HSTS entries from %s
Saving HSTS entries to %s
  -t,  --tries=NUMBER              set number of retries to NUMBER (0 unlimits)
       --waitretry=SECONDS         wait 1..SECONDS between retries of a retrieval

是有这个参数的。
这个参数表达重试次数。

@solosky
Copy link
Author

solosky commented Oct 15, 2019

奇怪,在我的这个版本怎么没有这个参数?
附上了我的截图,请帮忙诊断下问题。
谢谢。

image

@whwlsfb
Copy link
Contributor

whwlsfb commented Oct 15, 2019

固件版本低了吧,现在最新版本是2.33,你这是2.31

@solosky
Copy link
Author

solosky commented Oct 15, 2019

也就是说,2.31升级到最新版的softcenter会有问题?

@whwlsfb
Copy link
Contributor

whwlsfb commented Oct 17, 2019

应该是的

@ice2man
Copy link

ice2man commented Oct 24, 2019

how to fix

@2006gk
Copy link

2006gk commented Oct 26, 2019

同样问题,酷软下的软件都无法联网了,也不能用固件更新升2.33

@fw867
Copy link
Contributor

fw867 commented Jan 10, 2020

应该是你自己用opkg升级到官方版本造成的,所以没事别乱升级

@youngsundu
Copy link

下载时提示数据校验不成功是什么操作?

@zsh2020
Copy link

zsh2020 commented Jan 17, 2021

下载时提示数据校验不一致。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants