[GH-ISSUE #20] Kernel 6.6 install issue #14

Open
opened 2026-10-13 21:04:55 +00:00 by bsakaguchi · 11 comments
Owner

Originally created by @PhYziCiAN on GitHub (Nov 7, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-openwrt/issues/20

Hello I can't install one of 3 packages for AWG on Flint2 router. The install log is below.

root@mt6000:~# opkg install /mnt/sda1/AWG/kmod_awg.ipk
Unknown package 'kmod-amneziawg'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-03ba5b5fee47f2232a088e3cd9832aec) for kmod-amneziawg
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-amneziawg.

Of note some info about router below:
Luci -> OpenWrt 24.0 r27229+44-ebe7c5f1a3 / LuCI Master 24.188.41532~d3bf675

opkg info kernel ->
Package: kernel
Version: 6.6.47~5f888a243508bd63116c3c6987914d47-r1
Depends: libc
Status: install ok installed
Architecture: aarch64_cortex-a53

P.S. I tested these 3 packages on OpenWRT 23.05.5, they were installed without any errors.

root@Bell:/overlay/upper# opkg install *.ipk
Installing amneziawg-tools (1.0.20240213-1) to root...
Installing kmod-amneziawg (5.15.167-1) to root...
Installing luci-app-amneziawg (git-24.063.59395-e991b44) to root...
Configuring amneziawg-tools.
Configuring luci-app-amneziawg.
Configuring kmod-amneziawg.
Originally created by @PhYziCiAN on GitHub (Nov 7, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-openwrt/issues/20 Hello I can't install one of 3 packages for AWG on Flint2 router. The install log is below. ``` root@mt6000:~# opkg install /mnt/sda1/AWG/kmod_awg.ipk Unknown package 'kmod-amneziawg'. Collected errors: * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-03ba5b5fee47f2232a088e3cd9832aec) for kmod-amneziawg * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package kmod-amneziawg. ``` Of note some info about router below: Luci -> OpenWrt 24.0 r27229+44-ebe7c5f1a3 / LuCI Master 24.188.41532~d3bf675 ``` opkg info kernel -> Package: kernel Version: 6.6.47~5f888a243508bd63116c3c6987914d47-r1 Depends: libc Status: install ok installed Architecture: aarch64_cortex-a53 ``` P.S. I tested these 3 packages on OpenWRT 23.05.5, they were installed without any errors. ``` root@Bell:/overlay/upper# opkg install *.ipk Installing amneziawg-tools (1.0.20240213-1) to root... Installing kmod-amneziawg (5.15.167-1) to root... Installing luci-app-amneziawg (git-24.063.59395-e991b44) to root... Configuring amneziawg-tools. Configuring luci-app-amneziawg. Configuring kmod-amneziawg. ```
Author
Owner

@xa0c-net commented on GitHub (Nov 15, 2024):

Not sure you will be able to build this module for GL.iNET's firmware until they public kernel config: https://forum.gl-inet.com/t/4-6-6-op24-source-vermagic/50529

<!-- gh-comment-id:2480013118 --> @xa0c-net commented on GitHub (Nov 15, 2024): Not sure you will be able to build this module for GL.iNET's firmware until they public kernel config: https://forum.gl-inet.com/t/4-6-6-op24-source-vermagic/50529
Author
Owner

@xa0c-net commented on GitHub (Dec 13, 2024):

done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000

<!-- gh-comment-id:2541919908 --> @xa0c-net commented on GitHub (Dec 13, 2024): done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000
Author
Owner

@phoenix-us commented on GitHub (Jan 21, 2025):

done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000

Thanks to your repo. I have done for MT6000 as well after GL.iNET providing the config file on your topic.

https://github.com/phoenix-us/amnezia-glinet-mt6000.git

Hello I can't install one of 3 packages for AWG on Flint2 router. The install log is below.

root@mt6000:~# opkg install /mnt/sda1/AWG/kmod_awg.ipk
Unknown package 'kmod-amneziawg'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-03ba5b5fee47f2232a088e3cd9832aec) for kmod-amneziawg
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-amneziawg.

Of note some info about router below: Luci -> OpenWrt 24.0 r27229+44-ebe7c5f1a3 / LuCI Master 24.188.41532~d3bf675

opkg info kernel ->
Package: kernel
Version: 6.6.47~5f888a243508bd63116c3c6987914d47-r1
Depends: libc
Status: install ok installed
Architecture: aarch64_cortex-a53

P.S. I tested these 3 packages on OpenWRT 23.05.5, they were installed without any errors.

root@Bell:/overlay/upper# opkg install *.ipk
Installing amneziawg-tools (1.0.20240213-1) to root...
Installing kmod-amneziawg (5.15.167-1) to root...
Installing luci-app-amneziawg (git-24.063.59395-e991b44) to root...
Configuring amneziawg-tools.
Configuring luci-app-amneziawg.
Configuring kmod-amneziawg.

It is done:

https://github.com/phoenix-us/amnezia-glinet-mt6000.git

<!-- gh-comment-id:2604688246 --> @phoenix-us commented on GitHub (Jan 21, 2025): > done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000 Thanks to your repo. I have done for MT6000 as well after GL.iNET providing the config file on your topic. https://github.com/phoenix-us/amnezia-glinet-mt6000.git > Hello I can't install one of 3 packages for AWG on Flint2 router. The install log is below. > > ``` > root@mt6000:~# opkg install /mnt/sda1/AWG/kmod_awg.ipk > Unknown package 'kmod-amneziawg'. > Collected errors: > * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-03ba5b5fee47f2232a088e3cd9832aec) for kmod-amneziawg > * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured > * opkg_install_cmd: Cannot install package kmod-amneziawg. > ``` > > Of note some info about router below: Luci -> OpenWrt 24.0 r27229+44-ebe7c5f1a3 / LuCI Master 24.188.41532~d3bf675 > > ``` > opkg info kernel -> > Package: kernel > Version: 6.6.47~5f888a243508bd63116c3c6987914d47-r1 > Depends: libc > Status: install ok installed > Architecture: aarch64_cortex-a53 > ``` > > P.S. I tested these 3 packages on OpenWRT 23.05.5, they were installed without any errors. > > ``` > root@Bell:/overlay/upper# opkg install *.ipk > Installing amneziawg-tools (1.0.20240213-1) to root... > Installing kmod-amneziawg (5.15.167-1) to root... > Installing luci-app-amneziawg (git-24.063.59395-e991b44) to root... > Configuring amneziawg-tools. > Configuring luci-app-amneziawg. > Configuring kmod-amneziawg. > ``` It is done: https://github.com/phoenix-us/amnezia-glinet-mt6000.git
Author
Owner

@ilgor commented on GitHub (Apr 30, 2025):

I am having the same issue with GL.iNet MT-3000 (Beryl AX) when tried to install kmod-amneziawg ipk...

I have OpenWrt 24 Firmware:
Version: 4.7.5-op24
Release Date: 2025-04-18

ipks:
kmod-amneziawg_v0.2.2_v24.10.1_aarch64_cortex-a53_mediatek_filogic.ipk
amneziawg-tools_v0.2.2_v24.10.1_aarch64_cortex-a53_mediatek_filogic.ipk
luci-proto-amneziawg_v0.2.2_v24.10.1_aarch64_cortex-a53_mediatek_filogic.ipk

I was able to install amneziawg-tools and luci-proto-amneziawg but kmod-amneziawg is giving the following error:

Collected errors:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.86~6ace983a14b769f576fe9c4c7961bd89-r1) for kmod-amneziawg
  • pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured
  • opkg_install_cmd: Cannot install package kmod-amneziawg.
    The opkg install command failed with code 255.

Only suspicion I have is GL.iNET documentation show Beryl AX CPU MediaTek MT7981B and on the https://github.com/Slava-Shchipunov/awg-openwrt/releases I dont see MT7981B. I see kmod-amneziawg_mediatek_mt7629.ipk and kmod-amneziawg_mediatek_mt7623.ipk packages.

Is this the issue? We don't have mt7981b packages for kmod-amneziawg? Or the OpenWRT 4.7.5-op24 is newer than 4.7 Amnezia packges?

Thank you for you help in advance!

<!-- gh-comment-id:2840638653 --> @ilgor commented on GitHub (Apr 30, 2025): I am having the same issue with GL.iNet MT-3000 (Beryl AX) when tried to install kmod-amneziawg ipk... I have OpenWrt 24 Firmware: Version: 4.7.5-op24 Release Date: 2025-04-18 ipks: kmod-amneziawg_v0.2.2_v24.10.1_aarch64_cortex-a53_mediatek_filogic.ipk amneziawg-tools_v0.2.2_v24.10.1_aarch64_cortex-a53_mediatek_filogic.ipk luci-proto-amneziawg_v0.2.2_v24.10.1_aarch64_cortex-a53_mediatek_filogic.ipk I was able to install `amneziawg-tools` and `luci-proto-amneziawg` but `kmod-amneziawg` is giving the following error: Collected errors: * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.86~6ace983a14b769f576fe9c4c7961bd89-r1) for kmod-amneziawg * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package kmod-amneziawg. The opkg install command failed with code 255. Only suspicion I have is GL.iNET documentation show Beryl AX CPU MediaTek MT7981B and on the https://github.com/Slava-Shchipunov/awg-openwrt/releases I dont see MT7981B. I see kmod-amneziawg_*_mediatek_mt7629.ipk and kmod-amneziawg_*_mediatek_mt7623.ipk packages. Is this the issue? We don't have mt7981b packages for kmod-amneziawg? Or the OpenWRT 4.7.5-op24 is newer than 4.7 Amnezia packges? Thank you for you help in advance!
Author
Owner

@p0sixxx commented on GitHub (May 23, 2025):

done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000

can you build amneziawg packages for 4.7.5-op24 firmware?

<!-- gh-comment-id:2903996586 --> @p0sixxx commented on GitHub (May 23, 2025): > done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000 can you build amneziawg packages for 4.7.5-op24 firmware?
Author
Owner

@max107 commented on GitHub (Jul 3, 2025):

for 4.5.7-op24 https://github.com/max107/amnezia-glinet-mt3000/releases

<!-- gh-comment-id:3029978983 --> @max107 commented on GitHub (Jul 3, 2025): for 4.5.7-op24 https://github.com/max107/amnezia-glinet-mt3000/releases
Author
Owner

@tERB00 commented on GitHub (Jul 28, 2025):

In 2025 it is still an issue:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.93~ae7dcdf01cb63b83c64f5cb8d8960511-r1) for kmod-amneziawg
<!-- gh-comment-id:3127605875 --> @tERB00 commented on GitHub (Jul 28, 2025): In 2025 it is still an issue: * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.93~ae7dcdf01cb63b83c64f5cb8d8960511-r1) for kmod-amneziawg
Author
Owner

@phoenix-us commented on GitHub (Jul 28, 2025):

In 2025 it is still an issue:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.93~ae7dcdf01cb63b83c64f5cb8d8960511-r1) for kmod-amneziawg

I changed from their custom OS to OpenWrt without any issues. Currently on latest OpenWrt 24.10.2 release which has up2date releases for all Amnezia WG packages.

https://github.com/Slava-Shchipunov/awg-openwrt

<!-- gh-comment-id:3127623756 --> @phoenix-us commented on GitHub (Jul 28, 2025): > In 2025 it is still an issue: > > * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.93~ae7dcdf01cb63b83c64f5cb8d8960511-r1) for kmod-amneziawg I changed from their custom OS to OpenWrt without any issues. Currently on latest OpenWrt 24.10.2 release which has up2date releases for all Amnezia WG packages. https://github.com/Slava-Shchipunov/awg-openwrt
Author
Owner

@trvla commented on GitHub (Aug 18, 2025):

done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000

Thanks to your repo. I have done for MT6000 as well after GL.iNET providing the config file on your topic.

https://github.com/phoenix-us/amnezia-glinet-mt6000.git

Hello I can't install one of 3 packages for AWG on Flint2 router. The install log is below.

root@mt6000:~# opkg install /mnt/sda1/AWG/kmod_awg.ipk
Unknown package 'kmod-amneziawg'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-03ba5b5fee47f2232a088e3cd9832aec) for kmod-amneziawg
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-amneziawg.

Of note some info about router below: Luci -> OpenWrt 24.0 r27229+44-ebe7c5f1a3 / LuCI Master 24.188.41532~d3bf675

opkg info kernel ->
Package: kernel
Version: 6.6.47~5f888a243508bd63116c3c6987914d47-r1
Depends: libc
Status: install ok installed
Architecture: aarch64_cortex-a53

P.S. I tested these 3 packages on OpenWRT 23.05.5, they were installed without any errors.

root@Bell:/overlay/upper# opkg install *.ipk
Installing amneziawg-tools (1.0.20240213-1) to root...
Installing kmod-amneziawg (5.15.167-1) to root...
Installing luci-app-amneziawg (git-24.063.59395-e991b44) to root...
Configuring amneziawg-tools.
Configuring luci-app-amneziawg.
Configuring kmod-amneziawg.

It is done:

https://github.com/phoenix-us/amnezia-glinet-mt6000.git

Hi, how have you fixed it ? I tried to build to lates mt6000 - with Glinet OP24 but recive error below two times:

My version is 4.8.0-op24 from Glinet

Package: kernel
Version: 6.6.93~9469a6c8c449c47e503c05678ea1559d-r1
Depends: libc
Status: install ok installed
Architecture: aarch64_cortex-a53
Installed-Time: 1750711236

builed_env:

    build_env:
      - tag: "24.10.2"
        pkgarch: "aarch64_cortex-a53"
        target: "mediatek"
        subtarget: "filogic"
        vermagic: "9469a6c8c449c47e503c05678ea1559d"

Vermagic mismatch: 6a9e125268c43e0bae8cecb014c8ab03, expected 9469a6c8c449c47e503c05678ea1559d

<!-- gh-comment-id:3198009167 --> @trvla commented on GitHub (Aug 18, 2025): > > done for MT3000: https://github.com/xa0c-net/amnezia-glinet-mt3000 > > Thanks to your repo. I have done for MT6000 as well after GL.iNET providing the config file on your topic. > > https://github.com/phoenix-us/amnezia-glinet-mt6000.git > > > Hello I can't install one of 3 packages for AWG on Flint2 router. The install log is below. > > ``` > > root@mt6000:~# opkg install /mnt/sda1/AWG/kmod_awg.ipk > > Unknown package 'kmod-amneziawg'. > > Collected errors: > > * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.167-1-03ba5b5fee47f2232a088e3cd9832aec) for kmod-amneziawg > > * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured > > * opkg_install_cmd: Cannot install package kmod-amneziawg. > > ``` > > > > > > > > > > > > > > > > > > > > > > > > Of note some info about router below: Luci -> OpenWrt 24.0 r27229+44-ebe7c5f1a3 / LuCI Master 24.188.41532~d3bf675 > > ``` > > opkg info kernel -> > > Package: kernel > > Version: 6.6.47~5f888a243508bd63116c3c6987914d47-r1 > > Depends: libc > > Status: install ok installed > > Architecture: aarch64_cortex-a53 > > ``` > > > > > > > > > > > > > > > > > > > > > > > > P.S. I tested these 3 packages on OpenWRT 23.05.5, they were installed without any errors. > > ``` > > root@Bell:/overlay/upper# opkg install *.ipk > > Installing amneziawg-tools (1.0.20240213-1) to root... > > Installing kmod-amneziawg (5.15.167-1) to root... > > Installing luci-app-amneziawg (git-24.063.59395-e991b44) to root... > > Configuring amneziawg-tools. > > Configuring luci-app-amneziawg. > > Configuring kmod-amneziawg. > > ``` > > It is done: > > https://github.com/phoenix-us/amnezia-glinet-mt6000.git Hi, how have you fixed it ? I tried to build to lates mt6000 - with Glinet OP24 but recive error below two times: My version is 4.8.0-op24 from Glinet Package: kernel Version: 6.6.93~9469a6c8c449c47e503c05678ea1559d-r1 Depends: libc Status: install ok installed Architecture: aarch64_cortex-a53 Installed-Time: 1750711236 builed_env: build_env: - tag: "24.10.2" pkgarch: "aarch64_cortex-a53" target: "mediatek" subtarget: "filogic" vermagic: "9469a6c8c449c47e503c05678ea1559d" Vermagic mismatch: 6a9e125268c43e0bae8cecb014c8ab03, expected 9469a6c8c449c47e503c05678ea1559d
Author
Owner

@PGoski commented on GitHub (Oct 14, 2025):

In 2025 it is still an issue:

  • pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.93~ae7dcdf01cb63b83c64f5cb8d8960511-r1) for kmod-amneziawg

I was able to compile & install amnezia for 4.8.2-op24 image.

Image Image

Files are here: https://github.com/PGoski/amnezia-glinet-mt6000/releases/tag/AneziaWG_OpenWRT_v4.8.2

<!-- gh-comment-id:3403247648 --> @PGoski commented on GitHub (Oct 14, 2025): > In 2025 it is still an issue: > > * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.93~ae7dcdf01cb63b83c64f5cb8d8960511-r1) for kmod-amneziawg I was able to compile & install amnezia for 4.8.2-op24 image. <img width="722" height="500" alt="Image" src="https://github.com/user-attachments/assets/fbc76e30-daf6-4415-83e7-8a3a0b1a856f" /> <img width="888" height="302" alt="Image" src="https://github.com/user-attachments/assets/730e0a7a-7441-4158-bd6a-60543573ebaf" /> Files are here: https://github.com/PGoski/amnezia-glinet-mt6000/releases/tag/AneziaWG_OpenWRT_v4.8.2
Author
Owner

@Adelai1111 commented on GitHub (May 27, 2026):

Same issue here. Globitel Bt R320, open wrt 24.6, could inslall tools and ptoton but not kmod

root@ImmortalWrt:~# opkg install /tmp/kmod-amneziawg_v24.10.6_aarch64_cortex-a53_mediatek_filogic.ipk --force-depends
Unknown package 'kmod-amneziawg'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.127~43cbcde0affaaf16309bb4ab09799e9a-r1) for kmod-amneziawg
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-amneziawg.

Is there any way to fix it?

<!-- gh-comment-id:4558560298 --> @Adelai1111 commented on GitHub (May 27, 2026): Same issue here. Globitel Bt R320, open wrt 24.6, could inslall tools and ptoton but not kmod ``` root@ImmortalWrt:~# opkg install /tmp/kmod-amneziawg_v24.10.6_aarch64_cortex-a53_mediatek_filogic.ipk --force-depends Unknown package 'kmod-amneziawg'. Collected errors: * pkg_hash_check_unresolved: cannot find dependency kernel (= 6.6.127~43cbcde0affaaf16309bb4ab09799e9a-r1) for kmod-amneziawg * pkg_hash_fetch_best_installation_candidate: Packages for kmod-amneziawg found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package kmod-amneziawg. ``` Is there any way to fix it?
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amneziawg-openwrt#14
No description provided.