[GH-ISSUE #28] As Package Manager is now apk and all the sms-tool packages are in apk format, what is now the install line? #19

Closed
opened 2026-03-04 12:10:57 +03:00 by kerem · 12 comments
Owner

Originally created by @jksmurf on GitHub (Apr 21, 2025).
Original GitHub issue: https://github.com/4IceG/luci-app-sms-tool-js/issues/28

Currently your instructions show:

(wget https://downloads.openwrt.org/snapshots/packages/*architecture*/packages/sms-tool_2022-03-21-f07699ab-1_*architecture*.**ipk** -O /tmp/sms-tool_2022-03-21.**ipk**
opkg install /tmp/sms-tool_2022-03-21.**ipk**

ref https://forum.openwrt.org/t/the-future-is-now-opkg-vs-apk/201164

I tried this

wget https://downloads.openwrt.org/snapshots/packages/*architecture*/packages/sms-tool_2022-03-21-f07699ab-1_*architecture*.ipk -O /tmp/sms-tool_2022-03-21.apk
apk install /tmp/sms-tool_2022-03-21.apk

but it does not work?

I also tried opkg install /tmp/sms-tool_2022-03-21.apk

Could you please advise what the package installer is now please (It's a GLiNET Beryl AX MT-3000, OpenWRt 21.02, aarch64_cortex-a53. After I got the pub from your repo, it says I need the sms-tool dependencies).

I used this:

wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk -O /tmp/sms-tool_2023-09-21.apk

Thanks!

Originally created by @jksmurf on GitHub (Apr 21, 2025). Original GitHub issue: https://github.com/4IceG/luci-app-sms-tool-js/issues/28 Currently your instructions show: ``` (wget https://downloads.openwrt.org/snapshots/packages/*architecture*/packages/sms-tool_2022-03-21-f07699ab-1_*architecture*.**ipk** -O /tmp/sms-tool_2022-03-21.**ipk** opkg install /tmp/sms-tool_2022-03-21.**ipk** ``` ref https://forum.openwrt.org/t/the-future-is-now-opkg-vs-apk/201164 I tried this ``` wget https://downloads.openwrt.org/snapshots/packages/*architecture*/packages/sms-tool_2022-03-21-f07699ab-1_*architecture*.ipk -O /tmp/sms-tool_2022-03-21.apk apk install /tmp/sms-tool_2022-03-21.apk ``` but it does not work? I also tried opkg install /tmp/sms-tool_2022-03-21.**apk** Could you please advise what the package installer is now please (It's a GLiNET Beryl AX MT-3000, OpenWRt 21.02, aarch64_cortex-a53. After I got the pub from your repo, it says I need the sms-tool dependencies). I used this: ``` wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk -O /tmp/sms-tool_2023-09-21.apk ``` Thanks!
kerem closed this issue 2026-03-04 12:10:57 +03:00
Author
Owner

@4IceG commented on GitHub (Apr 21, 2025):

Hi,
You have two repositories available, add the one that is compatible with installed system.

https://github.com/4IceG/Modem-extras-apk

or

https://github.com/4IceG/Modem-extras

<!-- gh-comment-id:2817601206 --> @4IceG commented on GitHub (Apr 21, 2025): Hi, You have two repositories available, add the one that is compatible with installed system. https://github.com/4IceG/Modem-extras-apk or https://github.com/4IceG/Modem-extras
Author
Owner

@jksmurf commented on GitHub (Apr 21, 2025):

Hi, You have two repositories available, add the one that is compatible with installed system.

https://github.com/4IceG/Modem-extras-apk

or

https://github.com/4IceG/Modem-extras

Hi, thank you. I tried the second one as the first did not work, but I’m not sure what to do next please?

Image

Image
Image

<!-- gh-comment-id:2817619883 --> @jksmurf commented on GitHub (Apr 21, 2025): > Hi, You have two repositories available, add the one that is compatible with installed system. > > https://github.com/4IceG/Modem-extras-apk > > or > > https://github.com/4IceG/Modem-extras Hi, thank you. I tried the second one as the first did not work, but I’m not sure what to do next please? ![Image](https://github.com/user-attachments/assets/afdaaef2-2a97-462b-aba4-9d8028d5414a) ![Image](https://github.com/user-attachments/assets/e4733b9c-5f5d-4daa-82bd-040b4395b7a4) ![Image](https://github.com/user-attachments/assets/08d82876-e771-4b6b-aedf-9df46f073f71)
Author
Owner

@4IceG commented on GitHub (Apr 21, 2025):

If your system uses apk to install packages, click the link https://github.com/4IceG/Modem-extras-apk and follow instructions.

Are you using opkg or apk?

<!-- gh-comment-id:2817630597 --> @4IceG commented on GitHub (Apr 21, 2025): If your system uses apk to install packages, click the link https://github.com/4IceG/Modem-extras-apk and follow instructions. Are you using opkg or apk?
Author
Owner

@jksmurf commented on GitHub (Apr 21, 2025):

If your system uses apk to install packages, click the link https://github.com/4IceG/Modem-extras-apk and follow instructions.

Hi, thanks again and really sorry to trouble you, but the system Aarch64-cortex53 doesn’t use apk AFAIK. It’s OpenWRT 21.02. It seems to only use opkg. But the sms-tool dependency (manual download) is only in apk format and I can’t work out a way to install it.

Image

root@GL-MT3000:~# opkg install luci-app-sms-tool-js
Unknown package 'luci-app-sms-tool-js'.
Collected errors: * pkg_hash_check_unresolved: cannot find dependency sms-tool for luci-app-sms-tool-js * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-sms-tool-js found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package luci-app-sms-tool-js.
root@GL-MT3000:~# 
<!-- gh-comment-id:2817637901 --> @jksmurf commented on GitHub (Apr 21, 2025): > If your system uses apk to install packages, click the link https://github.com/4IceG/Modem-extras-apk and follow instructions. Hi, thanks again and really sorry to trouble you, but the system Aarch64-cortex53 doesn’t use apk AFAIK. It’s OpenWRT 21.02. It seems to only use opkg. But the sms-tool dependency (manual download) is only in apk format and I can’t work out a way to install it. ![Image](https://github.com/user-attachments/assets/59348a7b-8bca-42fc-8e60-b0a5f0223402) ``` root@GL-MT3000:~# opkg install luci-app-sms-tool-js����������������������������������������������������������������� Unknown package 'luci-app-sms-tool-js'.����������������������������������������������������������������������������� Collected errors:��������������������������������������������������������������������������������������������������� * pkg_hash_check_unresolved: cannot find dependency sms-tool for luci-app-sms-tool-js������������������������������ * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-sms-tool-js found, but incompatible with the architectures configured��������������������������������������������������������������������������������������������� * opkg_install_cmd: Cannot install package luci-app-sms-tool-js.��������������������������������������������������� root@GL-MT3000:~# ������������������������������������������������������������������������������������������������������������������������� ```
Author
Owner

@4IceG commented on GitHub (Apr 21, 2025):

Check this link https://github.com/4IceG/luci-app-3ginfo-lite there is an instruction on how to install sms-tool manually.

<!-- gh-comment-id:2817674337 --> @4IceG commented on GitHub (Apr 21, 2025): Check this link https://github.com/4IceG/luci-app-3ginfo-lite there is an instruction on how to install sms-tool manually.
Author
Owner

@jksmurf commented on GitHub (Apr 21, 2025):

Check this link https://github.com/4IceG/luci-app-3ginfo-lite there is an instruction on how to install sms-tool manually.

Hi thank you, but the instruction is similar to (and ends up with the same problem) as my original post.

  1. This worked fine; but was already installed.

opkg install kmod-usb-serial kmod-usb-serial-option sms-tool

  1. I tried step 1a, got this error.
opkg update
opkg install sms-tool

Image

  1. I tried step 1b.

My architecture is aarch64_cortex-a53 (MT7981b chip, Mediatek Filogic 820)
In the https://downloads.openwrt.org/snapshots/packages/ is an aarch64_cortex-a53 dir.
I go in there and find packages i.e https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/
I then look for sms-tool.
It is here https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk

BUT it is only an apk.

So following the instructions, the wget line should be this, but you cannot wget an apk and save it as an ipk, it does not work.

wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk -O /tmp/sms-tool_2023-09-21.ipk

Then
opkg install /tmp/sms-tool_2029-09-21.ipk. This did not work.

So I tried

wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk -O /tmp/sms-tool_2023-09-21.apk

Then
apk add /tmp/sms-tool_2029-09-21.apk

This did not work either. I am really sorry, but I cannot find a way to install sms-tool as the instructions rely on ipks and opkg but there is no ipk, only apk.

Image
Image
Image
Image
Image
Image

The Modem-Extras-Apk attempt below. Also fails.

Image

<!-- gh-comment-id:2817760172 --> @jksmurf commented on GitHub (Apr 21, 2025): > Check this link https://github.com/4IceG/luci-app-3ginfo-lite there is an instruction on how to install sms-tool manually. Hi thank you, but the instruction is similar to (and ends up with the same problem) as my original post. 1. This worked fine; but was already installed. `opkg install kmod-usb-serial kmod-usb-serial-option sms-tool` 2. I tried step 1a, got this error. ``` opkg update opkg install sms-tool ``` ![Image](https://github.com/user-attachments/assets/5d83e28d-89a2-41ba-a9c8-b50503d995d4) 3. I tried step 1b. 4. My architecture is aarch64_cortex-a53 (MT7981b chip, Mediatek Filogic 820) In the https://downloads.openwrt.org/snapshots/packages/ is an aarch64_cortex-a53 dir. I go in there and find packages i.e https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/ I then look for sms-tool. It is here https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk BUT it is only an apk. So following the instructions, the wget line should be this, but you cannot wget an apk and save it as an ipk, it does not work. `wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk -O /tmp/sms-tool_2023-09-21.ipk` Then opkg install /tmp/sms-tool_2029-09-21.ipk. This did not work. So I tried `wget https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/sms-tool-2023.09.21~1b6ca032-r1.apk -O /tmp/sms-tool_2023-09-21.apk` Then apk add /tmp/sms-tool_2029-09-21.apk This did not work either. I am really sorry, but I cannot find a way to install sms-tool as the instructions rely on ipks and opkg but there is no ipk, only apk. ![Image](https://github.com/user-attachments/assets/bb90c3d7-d268-499e-a339-d33b28c8edfd) ![Image](https://github.com/user-attachments/assets/ce2aaca7-2f72-49e9-a875-6695fb289f43) ![Image](https://github.com/user-attachments/assets/62d78db9-2efb-4bcf-b62e-14d1c713121a) ![Image](https://github.com/user-attachments/assets/4c1051a5-3f8b-4c15-8b1f-0b4d5e00f2c6) ![Image](https://github.com/user-attachments/assets/9ef3b06d-14ff-4a82-b477-b39effa1d1ea) ![Image](https://github.com/user-attachments/assets/526e3e3f-e370-4d3a-9225-1605240a06d5) The Modem-Extras-Apk attempt below. Also fails. ![Image](https://github.com/user-attachments/assets/89e4d844-b8d2-4e1e-8b36-c104fb257dc2)
Author
Owner

@4IceG commented on GitHub (Apr 21, 2025):

You need to update OpenWrt system because you have 21.02, an older version in which there was no sms-tool yet.

Sms-tool is available from OpenWrt version 23.05.0 https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a53/packages/sms-tool_2023-09-21-1b6ca032-1_aarch64_cortex-a53.ipk

<!-- gh-comment-id:2817838434 --> @4IceG commented on GitHub (Apr 21, 2025): You need to update OpenWrt system because you have 21.02, an older version in which there was no sms-tool yet. Sms-tool is available from OpenWrt version 23.05.0 https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a53/packages/sms-tool_2023-09-21-1b6ca032-1_aarch64_cortex-a53.ipk
Author
Owner

@jksmurf commented on GitHub (Apr 21, 2025):

You need to update OpenWrt system because you have 21.02, an older version in which there was no sms-tool yet.

Unfortunately that’s not an option for me.

I’m a bit confused by that recommendation though because your installation instructions refer to various versions of OpenWRT, including 21.02.

Anyway while it’s been very frustrating, thank you for trying to assist, much appreciated.

Image
Image

<!-- gh-comment-id:2817880951 --> @jksmurf commented on GitHub (Apr 21, 2025): > You need to update OpenWrt system because you have 21.02, an older version in which there was no sms-tool yet. Unfortunately that’s not an option for me. I’m a bit confused by that recommendation though because your installation instructions refer to various versions of OpenWRT, including 21.02. Anyway while it’s been very frustrating, thank you for trying to assist, much appreciated. ![Image](https://github.com/user-attachments/assets/fe01eb06-1714-4aaa-8922-cb0197955414) ![Image](https://github.com/user-attachments/assets/b629a9e8-1969-4dca-93f8-175105c45ec4)
Author
Owner

@4IceG commented on GitHub (Apr 21, 2025):

Try to install ipk manually from a higher version of Openwrt. If it doesn't work, then only compilation remains.

<!-- gh-comment-id:2817949855 --> @4IceG commented on GitHub (Apr 21, 2025): Try to install ipk manually from a higher version of Openwrt. If it doesn't work, then only compilation remains.
Author
Owner

@jksmurf commented on GitHub (Apr 21, 2025):

Try to install ipk manually from a higher version of Openwrt. If it doesn't work, then only compilation remains.

Thank you I will try. I’m not sure where to find the ipk though, your instructions about the package dirs all operate on the basis of the snapshot (which are all apk based).

<!-- gh-comment-id:2817965231 --> @jksmurf commented on GitHub (Apr 21, 2025): > Try to install ipk manually from a higher version of Openwrt. If it doesn't work, then only compilation remains. Thank you I will try. I’m not sure where to find the ipk though, your instructions about the package dirs all operate on the basis of the snapshot (which are all apk based).
Author
Owner

@4IceG commented on GitHub (Apr 21, 2025):

You have ipk versions above in my answer.

<!-- gh-comment-id:2817974126 --> @4IceG commented on GitHub (Apr 21, 2025): You have ipk versions above in my answer.
Author
Owner

@jksmurf commented on GitHub (Apr 21, 2025):

You have ipk versions above in my answer.

@4IceG, you are a star! Based on your suggestion, I was able to install the ipk via the Luci GUI. I just downloaded the ipl and uploaded it via Luci.

After that I was finally able to install luci-ap-sms-tool-js.

Sms-tool is available from OpenWrt version 23.05.0.

Thank you very much for your patience and your persistance, much appreciated. Hopefully helps others too.

Image
Image
Image
Image

<!-- gh-comment-id:2818107661 --> @jksmurf commented on GitHub (Apr 21, 2025): > You have ipk versions above in my answer. @4IceG, you are a star! Based on your suggestion, I was able to install the ipk via the Luci GUI. I just downloaded the ipl and uploaded it via Luci. After that I was finally able to install luci-ap-sms-tool-js. Sms-tool is [available from OpenWrt version 23.05.0](https://downloads.openwrt.org/releases/23.05.0/packages/aarch64_cortex-a53/packages/sms-tool_2023-09-21-1b6ca032-1_aarch64_cortex-a53.ipk). Thank you very much for your patience and your persistance, much appreciated. Hopefully helps others too. ![Image](https://github.com/user-attachments/assets/7a854f3e-1d6c-4d83-be2b-f9d2c2efaacd) ![Image](https://github.com/user-attachments/assets/ab45ef29-f33f-474f-9e3a-d54604eeebf9) ![Image](https://github.com/user-attachments/assets/65469bd9-8251-4149-9ab9-e2b8582092e1) ![Image](https://github.com/user-attachments/assets/8cf80930-c7e0-4936-9ca5-28f203723cbd)
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
starred/luci-app-sms-tool-js#19
No description provided.