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

opkg_download: Failed to download, wget returned 4 #939

Open
erik434 opened this issue Aug 11, 2024 · 2 comments
Open

opkg_download: Failed to download, wget returned 4 #939

erik434 opened this issue Aug 11, 2024 · 2 comments

Comments

@erik434
Copy link

erik434 commented Aug 11, 2024

Here's what seems to be the most relevant part:

 * opkg_download: Failed to download https://downloads.openwrt.org/releases/23.05.4/packages/aarch64_cortex-a53/packages/coreutils-sleep_9.3-1_aarch64_cortex-a53.ipk, wget returned 4.
 * opkg_download: Check your network settings and connectivity.

 * opkg_install_pkg: Failed to download coreutils-sleep. Perhaps you need to run 'opkg update'?
 * opkg_install_cmd: Cannot install package coreutils-sleep.

I can download the file just fine if I try downloading that URL locally. Is there something wrong with the asu server? Or is there something I can try on my end that would help here? Full details below in case they're helpful.

Request Data

STDOUT

STDERR

@erik434
Copy link
Author

erik434 commented Aug 11, 2024

FWIW, if anyone else runs into the same kind of issue, I had success running "auc" on the command line, instead of triggering the update via the luci web interface. No idea why it would make a difference - you'd think that in both cases they would be doing the same thing with the asu server.

@dangowrt
Copy link
Member

dangowrt commented Aug 11, 2024

The main difference is that the LuCI interface uses your browser to communicate with the asu server -- in this way you can update even devices which are not directly connected to the Internet themselves.
auc in contrast establishes direct https connection from the device itself to the asu server.

Edit: Looking at the error above I don't think this is related though.

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

No branches or pull requests

2 participants