Adding OPKG Repo Fails

Hi,

Is Glinet rom version of Openwrt able to download and update/install custom repositories?
I tried to download and update repo to install Passwall, and I keep getting the following errors when executing “opkg update” after adding opkg repo.
Any idea?

Device: GL-MT3000
Rom: 4.2.3 (stock GL.iNet rom, latest stable version)

log:
root@GL-MT3000:~# wget -O passwall.pub https://master.dl.sourceforge.net/project/ope
nwrt-passwall-build/passwall.pub
Downloading ‘https://master.dl.sourceforge.net/project/openwrt-passwall-build/passwall.pub
Connecting to 216.105.38.12:443
Redirected to /project/openwrt-passwall-build/passwall.pub on downloads.sourceforge.net
Redirected to /project/openwrt-passwall-build/passwall.pub?viasf=1 on master.dl.sourceforge.net
Writing to ‘passwall.pub’
passwall.pub 100% |*******************************| 109 0:00:00 ETA
Download completed (109 bytes)
root@GL-MT3000:~# opkg-key add passwall.pub
root@GL-MT3000:~# read release arch << EOF

$(. /etc/openwrt_release ; echo ${DISTRIB_RELEASE%.*} $DISTRIB_ARCH)
EOF
for feed in passwall_luci proot@GL-MT3000:~# for feed in passwall_luci passwall_packages passwall2; do
echo “src/gz $feed https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-$release/$arch/$feed” >> /etc/opkg/customfeeds.conf
done
root@GL-MT3000:~# opkg update
Downloading https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21/aarch64_cortex-a53/passwall_packages/Packages.gz
*** Failed to download the package list from https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21/aarch64_cortex-a53/passwall_packages/Packages.gz

Downloading https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21/aarch64_cortex-a53/passwall2/Packages.gz
*** Failed to download the package list from https://master.dl.sourceforge.net/project/openwrt-passwall-build/releases/packages-21/aarch64_cortex-a53/passwall2/Packages.gz

Downloading https://fw.gl-inet.com/releases/v21.02.3/kmod-4.2.1/aarch64_cortex-a53/mediatek/mt7981/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_core
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/glinet/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/v21.02.3/packages-4.0/aarch64_cortex-a53/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_packages
Updating database.
Database update completed.
Collected errors:

1 Like

‘Packages.gz’ does not exist.So it prompt ‘Failed to download’.

I know this about adding external sources, but seems related…

Any fix coming for the failure to update with the default gl-inet sources?

Please disregard, it turns out Adguard was blocking updates for me. as soon as I turned it off I could update normally.

if you add the line @@||master.dl.sourceforge.net^important to the AdGuardHome Customer filtering rules, then it will be unblocked in the future without turning it off.

I do not work for and I do not have formal association with GL.iNet

1 Like

Thank you. What does that do?

It modifies the filtering rules on Adguardhome to allow your source to pass through.

1 Like

Awesome. Updated. Thanks!

@lizh
how about “opkg update” failure of stock glinet repo for Mudi and Spitz 4.3.6 build as “https://fw.gl-inet.com/releases/v22.03.4/kmod-4.2.3/e750/Packages.gz” is not available:

Downloading https://fw.gl-inet.com/releases/v22.03.4/kmod-4.2.3/e750/Packages.gz
*** Failed to download the package list from https://fw.gl-inet.com/releases/v22.03.4/kmod-4.2.3/e750/Packages.gz

Downloading https://fw.gl-inet.com/releases/v22.03.4/packages-4.2/ath79/glinet/Packages.gzUpdated list of available packages in /var/opkg-lists/glinet_gli_pub
Downloading https://fw.gl-inet.com/releases/v22.03.4/packages-4.2/ath79/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/glinet_gli_packages
Updating database.
Database update completed.
Collected errors:

I have both Mudi and Spitz, I’ve been waiting to get version 22 of Openwrt to install an important plugin without which I can’t use those routers.
I understand these are still snapshot builds, but it looks like the stable version is also not coming anytime soon, been waiting for that release for months now.
any help to update default repo is appreciated.

It have not update.It will update with release.

@lizh
Any estimate as to when the stable 22.03 build will be released for the two routers GL-X750 & GL-E750?
Until I don’t have that build, I pretty much can’t use them.

Also, any idea on flashing generic OpenWrt firmware?
https://firmware-selector.openwrt.org/?version=23.05.0-rc2&target=ath79%2Fgeneric&id=glinet_gl-x750

2 Likes

I get it. I will inform relevant personnel to update next week.

@lizh
Many thanks :pray:t3:

The software repository has been updated
vi /etc/opkg/distfeeds.conf

Change the marked red position in the picture to kmod-4.3.2

opkg update

1 Like

@ywp
Thank you, you made my day! I can confirm that the distfeeds.conf repo update is now working for /kmod-4.3.2/e750

Just a question, when trying to install iptables-mod-iprange.ipk, I get the following error:
Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.176-1-458ea791ab57701ad5359ae6568f3fd9) for kmod-ipt-iprange
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-iprange found, but incompatible with the architectures configured
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for iptables-mod-iprange:
  •  kernel (= 5.10.176-1-458ea791ab57701ad5359ae6568f3fd9)
    
  • opkg_install_cmd: Cannot install package iptables-mod-iprange.
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.176-1-458ea791ab57701ad5359ae6568f3fd9) for kmod-nf-socket
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-nf-socket found, but incompatible with the architectures configured
  • pkg_hash_check_unresolved: cannot find dependency kernel (= 5.10.176-1-458ea791ab57701ad5359ae6568f3fd9) for kmod-ipt-socket
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-ipt-socket found, but incompatible with the architectures configured
  • satisfy_dependencies_for: Cannot satisfy the following dependencies for iptables-mod-socket:
  •  kernel (= 5.10.176-1-458ea791ab57701ad5359ae6568f3fd9)
    
  • opkg_install_cmd: Cannot install package iptables-mod-socket.

And on LuCi:

A conflict of kernel not matching with the original 22.03.4 build.
Is there any workaround you can suggest? highly appreciated!

Look at the firmware version informat

@ywp
Will that firmware (release2) with that kernel (458ea79…) be available to E750 to us anytime soon?! cause it doesn’t look it’s available yet

Here is mine based on the latest snapshot version available:

This version is still in testing, whether it will be released is yet to be evaluated, but I can put it on the server first, and you can download and upgrade by yourself

@ywp
with this new firmware (release2), everything works like a charm now, many thanks! :slight_smile:
I haven’t encountered any issues yet, and was able to install the module I have been waiting for so long!

by the way, can you confirm if /etc/opkg/distfeeds.conf, software repository, of release2 firmware for X750 (Spitz) similar to kmod-4.3.2 is also live just like E750?

https://dl.gl-inet.com/?model=x750&type=beta
yes it exists

1 Like