Adblock: Download of block lists always fails

I just re-setup my OpenWrt router and also re-configured the adblock package. However, it immediately failed to download the block lists and I have no clue why.

Sat Aug 20 22:06:08 2022 user.info adblock-4.1.3[28161]: report directory '/tmp/adblock-Report' created
Sat Aug 20 22:06:08 2022 user.info adblock-4.1.3[28161]: adblock instance started ::: action: reload, priority: 0, pid: 28161
Sat Aug 20 22:06:16 2022 user.info adblock-4.1.3[28161]: download of 'adaway' failed, url: https://raw.githubusercontent.com/AdAway/adaway.github.io/master/hosts.txt, rule: /^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories: -, rc: 1, log: /usr/bin/wget: unrecognized option: no-cache Usage: /usr/bin/wget [options] <URL> Options: 	-4				Use IPv4 only 	-6				Use IPv6 only 	-O <file>			Redirect output to file (use "-" for stdout) 	-P <dir>			Set directory for output files 	--quiet | -q			Turn off status messages 	--continue | -c			Continue a partially-downloaded file 	--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 	--post-file=FILE		use the POST method; send FILE as the data 	--spider | -s			Spider mode - only check file existence 	--timeout=N | -T N		Set connect/request timeout to N seconds 	--proxy=on | -Y
Sat Aug 20 22:06:16 2022 user.info adblock-4.1.3[28161]: download of 'adguard' failed, url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt, rule: BEGIN{FS="[/|^|\r]"}/^\|\|([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+[\/\^\r]+$/{print tolower($3)}, categories: -, rc: 1, log: /usr/bin/wget: unrecognized option: no-cache Usage: /usr/bin/wget [options] <URL> Options: 	-4				Use IPv4 only 	-6				Use IPv6 only 	-O <file>			Redirect output to file (use "-" for stdout) 	-P <dir>			Set directory for output files 	--quiet | -q			Turn off status messages 	--continue | -c			Continue a partially-downloaded file 	--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 	--post-file=FILE		use the POST method; send FILE as the data 	--spider | -s			Spider mode - only check file existence 	--timeout=N | -T N		Set connect/request timeout to N seconds 	--proxy=on | -Y on		Enable
Sat Aug 20 22:06:16 2022 user.info adblock-4.1.3[28161]: download of 'disconnect' failed, url: https://s3.amazonaws.com/lists.disconnect.me/simple_malvertising.txt, rule: /^([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 1, log: /usr/bin/wget: unrecognized option: no-cache Usage: /usr/bin/wget [options] <URL> Options: 	-4				Use IPv4 only 	-6				Use IPv6 only 	-O <file>			Redirect output to file (use "-" for stdout) 	-P <dir>			Set directory for output files 	--quiet | -q			Turn off status messages 	--continue | -c			Continue a partially-downloaded file 	--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 	--post-file=FILE		use the POST method; send FILE as the data 	--spider | -s			Spider mode - only check file existence 	--timeout=N | -T N		Set connect/request timeout to N seconds 	--proxy=on | -Y on		Enable interpretation
Sat Aug 20 22:06:16 2022 user.info adblock-4.1.3[28161]: download of 'openphish' failed, url: https://openphish.com/feed.txt, rule: BEGIN{FS="/"}/^http[s]?:\/\/([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+(\/|$)/{print tolower($3)}, categories: -, rc: 1, log: /usr/bin/wget: unrecognized option: no-cache Usage: /usr/bin/wget [options] <URL> Options: 	-4				Use IPv4 only 	-6				Use IPv6 only 	-O <file>			Redirect output to file (use "-" for stdout) 	-P <dir>			Set directory for output files 	--quiet | -q			Turn off status messages 	--continue | -c			Continue a partially-downloaded file 	--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 	--post-file=FILE		use the POST method; send FILE as the data 	--spider | -s			Spider mode - only check file existence 	--timeout=N | -T N		Set connect/request timeout to N seconds 	--proxy=on | -Y on		Enable interpretation of proxy env vars (de
Sat Aug 20 22:06:16 2022 user.info adblock-4.1.3[28161]: download of 'phishing_army' failed, url: https://phishing.army/download/phishing_army_blocklist_extended.txt, rule: /^([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($1)}, categories: -, rc: 1, log: /usr/bin/wget: unrecognized option: no-cache Usage: /usr/bin/wget [options] <URL> Options: 	-4				Use IPv4 only 	-6				Use IPv6 only 	-O <file>			Redirect output to file (use "-" for stdout) 	-P <dir>			Set directory for output files 	--quiet | -q			Turn off status messages 	--continue | -c			Continue a partially-downloaded file 	--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 	--post-file=FILE		use the POST method; send FILE as the data 	--spider | -s			Spider mode - only check file existence 	--timeout=N | -T N		Set connect/request timeout to N seconds 	--proxy=on | -Y on		Enable interpretati
Sat Aug 20 22:06:16 2022 user.info adblock-4.1.3[28161]: download of 'whocares' failed, url: https://someonewhocares.org/hosts/hosts, rule: /^127\.0\.0\.1[[:space:]]+([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories: -, rc: 1, log: /usr/bin/wget: unrecognized option: no-cache Usage: /usr/bin/wget [options] <URL> Options: 	-4				Use IPv4 only 	-6				Use IPv6 only 	-O <file>			Redirect output to file (use "-" for stdout) 	-P <dir>			Set directory for output files 	--quiet | -q			Turn off status messages 	--continue | -c			Continue a partially-downloaded file 	--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 	--post-file=FILE		use the POST method; send FILE as the data 	--spider | -s			Spider mode - only check file existence 	--timeout=N | -T N		Set connect/request timeout to N seconds 	--proxy=on | -Y on		Enable interpretation of pro
Sat Aug 20 22:06:16 2022 user.info adblock-4.1.3[28161]: download of 'stevenblack' failed, url: https://raw.githubusercontent.com/StevenBlack/hosts/master/, rule: /^0\.0\.0\.0[[:space:]]+([[:alnum:]_-]{1,63}\.)+[[:alpha:]]+([[:space:]]|$)/{print tolower($2)}, categories:  alternates/fakenews/hosts alternates/gambling/hosts, rc: 1, log: /usr/bin/wget: unrecognized option: no-cache Usage: /usr/bin/wget [options] <URL> Options: 	-4				Use IPv4 only 	-6				Use IPv6 only 	-O <file>			Redirect output to file (use "-" for stdout) 	-P <dir>			Set directory for output files 	--quiet | -q			Turn off status messages 	--continue | -c			Continue a partially-downloaded file 	--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 	--post-file=FILE		use the POST method; send FILE as the data 	--spider | -s			Spider mode - only check file existence 	--timeout=N | -T N		Set connect/reques
Sat Aug 20 22:06:36 2022 user.info adblock-4.1.3[28161]: blocklist with overall 48469 blocked domains loaded successfully (TP-Link Archer A7 v5, OpenWrt 21.02.3 r16554-1d4dea6d4f)

I set wget as the download utility and already tried this without success.

Do you have any clue how to fix this?

Thank you!

Just start reading the error message:

Set the download utility to "uclient-fetch" (the default) and it should work ...

3 Likes

Thank you! That seems to have worked:

Sun Aug 21 14:01:47 2022 user.info adblock-4.1.3[26864]: blocklist with overall 176825 blocked domains loaded successfully (TP-Link Archer A7 v5, OpenWrt 21.02.3 r16554-1d4dea6d4f)

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.