Opkg update can not download Packages.gz on OpenWrt One

Hi. I bought the OpenWrt One router and tried to update the packages. It didn’t work, as you can see here:

root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz

Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base/Packages.gz, wget returned 8.

When I open the links manually, they also don’t load because they don’t exist. So I edited /etc/opkg/distfeeds.conf with vi , deleted the wrong entries, and added this: src/gz openwrt_core https://downloads.openwrt.org/releases/25.12.5/targets/mediatek/filogic/packages/

I saved the file with Esc , :wq and Enter , but it still didn’t help:

root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/25.12.5/targets/mediatek/filogic/packages//Packages.gz
*** Failed to download the package list from https://downloads.openwrt.org/releases/25.12.5/targets/mediatek/filogic/packages//Packages.gz

Collected errors:
 * opkg_download: Failed to download https://downloads.openwrt.org/releases/25.12.5/targets/mediatek/filogic/packages//Packages.gz, wget returned 8.

It tries to download Packages.gz , but that doesn’t seem to exist. What do I need to enter there? Device info:

root@OpenWrt:~# cat /etc/os-release
NAME="OpenWrt"
VERSION="SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt SNAPSHOT"
VERSION_ID="snapshot"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r27876+1-3098b4bf07"
OPENWRT_BOARD="mediatek/filogic"
OPENWRT_ARCH="aarch64_cortex-a53"
OPENWRT_TAINTS="no-all"
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt SNAPSHOT r27876+1-3098b4bf07"
OPENWRT_BUILD_DATE="1729584976"

It appears that you’re still using the previously-used opkg, whereas newer OpenWRT One routers use apk… so take this with that in mind.

In the LuCI interface (192.168.1.1, enter the root password), under System >> Software >> “Configure apk” button >> ‘/etc/apk/repositories.d/distfeeds.list’ text box:

 **- or -**

Just write the below to /etc/apk/repositories.d/distfeeds.list:

https://downloads.openwrt.org/releases/25.12.5/targets/mediatek/filogic/packages/packages.adb https://downloads.openwrt.org/releases/25.12.5/packages/aarch64_cortex-a53/base/packages.adb https://downloads.openwrt.org/releases/25.12.5/targets/mediatek/filogic/kmods/6.12.94-1-5a6c1f71be683ae9980b15d3ce73e24d/packages.adb https://downloads.openwrt.org/releases/25.12.5/packages/aarch64_cortex-a53/luci/packages.adb https://downloads.openwrt.org/releases/25.12.5/packages/aarch64_cortex-a53/packages/packages.adb https://downloads.openwrt.org/releases/25.12.5/packages/aarch64_cortex-a53/routing/packages.adb https://downloads.openwrt.org/releases/25.12.5/packages/aarch64_cortex-a53/telephony/packages.adb https://downloads.openwrt.org/releases/25.12.5/packages/aarch64_cortex-a53/video/packages.adb

Hello, I have the same problem as OP. My LuCI interface has System >> Software >> “Configure opkg” button not an apk one. I don’t imagine creating the directory would be helpful as I imagine further configuration would be needed. However, upgrading my firmware so as to be able to use apk is proving difficult as I can’t seem to download any packages including the recommended auc using opkg install auc as stated in https://openwrt.org/docs/guide-user/installation/attended.sysupgrade (I imagine due to opkg being deprecated).

I imagine the solution is a fresh flash of newer firmware? If so, any resources on how to flash the Openwrt One would be helpful (So far I have BPI-OpenWrt One NAND Image Replacement, but am rather new to this so am unsure if these are the proper steps to take).

1 Like

Flashing the latest Firmware (25.12.5) solved the issue and shipped the latest package manager.

You only need to download the sysupgrade file (https://firmware-selector.openwrt.org/) and choose “Flash new firmware image” in System => Backup/Flash Firmware (in LuCI).

https://openwrt.org/docs/guide-quick-start/factory_installation

Perhaps you can find it on the OpenWrt official website.