gl-iNet MT6000 opkg update failure

As title - and sorry if this topic has been addressed, but I have searched and found nothing.

The router is obviously on the internet via a wireless ap...

I'm trying to do 'opkg update' after flashing my MT6000 with the latest OpenWRT firmware. I get several error messages that the repo is not found or not available:


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

I haven't changed anything - this config is just as the firmware has been flashed to the router, so why is it not working please?

I then manually added a repo as I want to install some custom cellular modem packages and the list updated successfully from there:

Downloading https://github.com/4IceG/Modem-extras/raw/main/myrepo/Packages.gz
Updated list of available packages in /var/opkg-lists/IceG_repo
Downloading https://github.com/4IceG/Modem-extras/raw/main/myrepo/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05.5/targets/mediatek/filogic/packages/Packages.gz

What am I doing wrong, please!

I've just checked and I still can't update from the automaticlly installed OpenWRT repos.
The following are the error-messages:

Errors
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.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing/Packages.gz, wget returned 8.
 * opkg_download: Failed to download https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/telephony/Packages.gz, wget returned 8.
The opkg update command failed with code 6.

I can sucessfully download from the repo I added:

Downloading https://github.com/4IceG/Modem-extras/raw/main/myrepo/Packages.gz
Updated list of available packages in /var/opkg-lists/IceG_repo
Downloading https://github.com/4IceG/Modem-extras/raw/main/myrepo/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/snapshots/targets/mediatek/filogic/packages/Packages.gz

Please can someone advise?
Thanks.

I have tried several different builds of OpenWRT and the opkg update fails on all...

guess it wasn't a recent snapshot ? The future is now: opkg vs apk - #29 by efahl.

you could try a 24.10 snapshot too - https://mirror-03.infra.openwrt.org/releases/24.10-SNAPSHOT/.

1 Like

Having experimented a bit more, I think I should add that I've found the 'vanilla' OPenWRT build works with opkg.
The (more interesting) community build where opkg does not work is -

Custom builds by pesa1234

Thanks for the suggestions.

1 Like

The 24.10 snapshots have opkg instead of apk.

If you post the error I can see what's going wrong.
But I think that is due to is pointing to opkg and now apk on latest snapshot.
So if you want you can change link on opkg settings (you can do it simply from luci) to my repo. It is written on that thread first post.

1 Like

The error message is shown in my first post, thanks!
Please can you advise what is the correct 'link' to your repo.

Cheers.

Interestingly, I think I have a similar issue, but with APK.

It looks like to me that my MX6000 just up an decided it can't make reliable connections anymore.

Interesting! However, using the stock gl-iNet firmware, it seem to work ok. It will connect to a cellular network using a Quectel RM520N-GLAA modem.

But of course, we want to use proper OpenWRT...

Thanks, but please can you post the links to your repo to put in the opkg-configure.
I am rather an OpenWRT novice!

You do not go into any detail about this. Do you mean you have a wireless connection to an access point?
How did you configure this?

Show the output of:

wget -s https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a53/luci/Packages.gz

Note the -s means wget just "spiders" or tests the download without saving it anywhere.
It should look something like:

root@meshnode-8ecb:~# wget -s https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a53/luci/Packages.gz
Downloading 'https://downloads.openwrt.org/releases/23.05.5/packages/aarch64_cortex-a53/luci/Packages.gz'
Connecting to 151.101.2.132:443
(null)                 183k --:--:-- ETA
Download completed (187499 bytes)
root@meshnode-8ecb:~# 

(post deleted by author)

OK, I've now flashed it with the standard OpenWRT for the MT6000 and opkg updates correctly. It looks like it is a problem with the repos pesa1234 is using...