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:

  1. 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.
  2. 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.
  3. Check if you have enough free space left in /tmp.

Solutions:

  1. Check your network settings and get your internet access up and running, then it should work.
  2. See forum link above, or Use the forum search to find more related forum topics.
This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • Last modified: 2023/06/22 13:02
  • by dotesus