fpv-wtf / wtfos

A framework for modifying the firmware of DJI FPV Goggles and Air Units
https://fpv.wtf
MIT License
266 stars 12 forks source link

OPKG fails downloading Packages.gz #83

Open LeoniePhiline opened 1 year ago

LeoniePhiline commented 1 year ago

grafik

Since yesterday, and reproducible always:

Failed fetching package list:

Collected errors:

* opkg_download: Failed to download http://repo.fpv.wtf/entware-armv7sf-k3.2/Packages.gz, wget returned 255.

* opkg_download: Failed to download http://repo.fpv.wtf/pigeon/Packages.gz, wget returned 255.

Downloading http://repo.fpv.wtf/entware-armv7sf-k3.2/Packages.gz

*** Failed to download the package list from http://repo.fpv.wtf/entware-armv7sf-k3.2/Packages.gz

Downloading http://repo.fpv.wtf/pigeon/Packages.gz

*** Failed to download the package list from http://repo.fpv.wtf/pigeon/Packages.gz
j005u commented 1 year ago

Thanks to some of the detailed info you posted on Discord I think I've solved this issue with a new version of wtfos-healthchecks (which the configurator runs upon connecting to a device).

The issue was the wtfos-system package owning the busybox binary (which is also symlinked to wget) and during certain permutations of package updates it would get wiped out and not be able to be re-installed. The real fix is to remove it from the wtfos-system package obviously, which I intend to do soon, but the healthchecks workaround was required as otherwise any replacement package could fail to install in the first place.

Leaving this issue open until wtfos-system has also been correctly updated. Please do ping me if you see this issue again.