Failed to download, wget returned 4
Issue: When trying to install a package via opkg or LuCI you get the errormessage Failed to download, wget returned 4
Root causes:
- This “famous” wget 4 error in opkg is just a general error from wget that says that your network settings are wrong, see wget manual. It has almost nothing to do with opkg itself.
- Some people report that wget may give this response if it attempts to use IPv6 and fails. See https://forum.openwrt.org/t/opkg-update-error-wget-returned-4/637/6 for details.
- Check if you have enough free space left in
/tmp
.
Solutions:
- Check your network settings and get your internet access up and running, then it should work.
- See forum link above, or Use the forum search to find more related forum topics.