Temat: Cannot install package - incompatible with the architectures configur

Hej,

Potrzebuje doinstalować paczkę, która pozwoli mi zarządzać CA i primary band. Niestety w moim miejscu zamieszkanie przełącza się primary band na nie ten co trzeba i transfer jest do 5 MBps, a ja pracuje zdalnie sad
Próbuje zainstalować 3gInfo ale mam jakiś problem z zależnościami karnel i architekturą.

Błąd jaki pojawia się przy instalacji większości paczek to:
pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-oid-registry
* pkg_hash_fetch_best_installation_candidate: Packages for kmod-oid-registry found, but incompatible with the architectures configured

Przy próbuje instalacji z GUI mam informacje, że Wymagana zależność kernel nie jest dostępna w żadnym repozytorium ze wskazaniem na karnel.

Moja wersja OpenWrt to:
OpenWrt 23.05-SNAPSHOT, r23077-bb03069691

Próbowałem przez  --force-depends ale nie pomogło.
Macie jakiś fix na to? bardzo by się przydał bo nie mogę pracować przez to hmm
Z góry dzięki

2

Odp: Cannot install package - incompatible with the architectures configur

Żaden pakiet do 3ginfo czy modem nie zależy od kernela, jak już to moduły do modemu który próbujesz zainstalować.
Do zarządzania pasmami służy pakiet modemband: https://eko.one.pl/?p=openwrt-modemband

Pokaż cały wynik z konsoli, co wpisujesz i co się wyświetla. Jeżeli używasz moich obrazów - a tak sądzę po numerze - to nie ma prawa być żadnych problemów z zależnościami, chyba że sam zmieniłeś repozytoria i stąd jest problem.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez errorfree 2023-06-18 11:33:36)

Odp: Cannot install package - incompatible with the architectures configur

Próbuje wykonać to co z linku https://eko.one.pl/?p=openwrt-3ginfo, próbowałem również zainstalować modemband ale wynik jest ten sam.
Kroki jakie wykonuje po zalogowaniu przez ssh:
1)

 opkg update 


-> rozpoczyna pobieranie pakietów i sprawdzenie listy np.

 Updated list of available packages in /var/opkg-lists/eko1_kmods
Downloading [url]https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/kmods-5.15.114/Packages.sig[/url]
Signature check passed. 

2)

 opkg install modemband 


wynik:
Unknown package 'modemband'.

 Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libc for sms-tool
 * pkg_hash_fetch_best_installation_candidate: Packages for sms-tool found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency libc for modemband
 * pkg_hash_fetch_best_installation_candidate: Packages for modemband found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package modemband. 

3) w przypadku próby instalacji kmod-usb-serial kmod-usb-serial-option
wynik:

Unknown package 'kmod-usb-serial'.
Unknown package 'kmod-usb-serial-option'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-nls-base
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nls-base found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-core
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-core found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-serial
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-serial found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-serial.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-serial-wwan
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-serial-wwan found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-serial-option
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-serial-option found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-serial-option. 

4

Odp: Cannot install package - incompatible with the architectures configur

Pokaż całość z wykonania i nic nie usuwaj w tego co będzie na ekranie.

opkg update
opkg install modemband

Użyj tagów [ code ] i [ /code ] (bez spacji) do umieszczenia wyniku na forum.
Napisz jaki używasz router do tego celu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez errorfree 2023-06-18 11:31:50)

Odp: Cannot install package - incompatible with the architectures configur

Modem: ZTE MF286D

root@OpenWrt:~# opkg update
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-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_core
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/packages/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_base
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_luci
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_packages
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_routing
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_telephony
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/kmods-5.15.114/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_kmods
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/kmods-5.15.114/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install modemband
Unknown package 'modemband'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency libc for sms-tool
 * pkg_hash_fetch_best_installation_candidate: Packages for sms-tool found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency libc for modemband
 * pkg_hash_fetch_best_installation_candidate: Packages for modemband found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package modemband.
root@OpenWrt:~#

6

Odp: Cannot install package - incompatible with the architectures configur

Wywal repo https://github.com/4IceG/Modem-extras, zrób

opkg update

i zainstaluj normalnie modemband i pozostałość.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Cannot install package - incompatible with the architectures configur

Zrobiłem jak poleciłeś, wynik bez zmian przykład dla kmod-usb-serial kmod-usb-serial-option

root@OpenWrt:~# opkg update
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_base
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_luci
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_packages
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_routing
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/openwrt_telephony
Downloading https://downloads.openwrt.org/releases/23.05-SNAPSHOT/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_core
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/packages/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/base/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_base
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/base/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_luci
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/luci/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_packages
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/packages/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_routing
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/routing/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_telephony
Downloading https://dl.eko.one.pl/openwrt-23.05/packages/arm_cortex-a7_neon-vfpv4/telephony/Packages.sig
Signature check passed.
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/kmods-5.15.114/Packages.gz
Updated list of available packages in /var/opkg-lists/eko1_kmods
Downloading https://dl.eko.one.pl/openwrt-23.05/targets/ipq40xx/generic/kmods-5.15.114/Packages.sig
Signature check passed.
root@OpenWrt:~# opkg install kmod-usb-serial kmod-usb-serial-option
Unknown package 'kmod-usb-serial'.
Unknown package 'kmod-usb-serial-option'.
Collected errors:
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-nls-base
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-nls-base found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-core
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-core found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-serial
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-serial found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-serial.
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-serial-wwan
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-serial-wwan found, but incompatible with the architectures configured
 * pkg_hash_check_unresolved: cannot find dependency kernel (= 5.15.114-1-e2eab8a7b7746bd48217602dcd2c209d) for kmod-usb-serial-option
 * pkg_hash_fetch_best_installation_candidate: Packages for kmod-usb-serial-option found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package kmod-usb-serial-option.

Czy jest ewentualnie inny sposób na ustawienie primary bandów?

8

Odp: Cannot install package - incompatible with the architectures configur

Tak, możesz ustawiać wszystko ręcznie poleceniami AT

pokaż

opkg list-installed | grep kernel 
opkg list-installed | grep kmod 
Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Cannot install package - incompatible with the architectures configur

Niestety nic tutaj nie pokazuje:

root@OpenWrt:~# opkg list-installed | grep kernel
root@OpenWrt:~# opkg list-installed | grep kmod

10

Odp: Cannot install package - incompatible with the architectures configur

Musi pokazywać, to jest lista zainstalowanych pakietów. A jakiś kernel i kmody musisz mieć. Chyba że zepsułeś listę zainstalowanych pakietów - wtedy musisz zrobić firstboota.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

11

Odp: Cannot install package - incompatible with the architectures configur

nie zwraca mi żadnego output po wykonaniu tych komend. Spróbowałem jeszcze raz

 opkg update && opkg list-installed | grep kernel 

ale z grepa nie pokazuje nic.

12

Odp: Cannot install package - incompatible with the architectures configur

Przywróć ustawienia domyślne routera.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

13

Odp: Cannot install package - incompatible with the architectures configur

Cezary napisał/a:

Przywróć ustawienia domyślne routera.

czy to spowoduje usunięcie skonfigurowanych interface? pytam, bo robił mi to kolega a więc jest ryzyko że pozostane bez internetu całkiem smile

btw. w GUI pokazuje wersje kernela

 Wersja kernela:5.15.114

Model:ZTE MF286D

Architektura:ARMv7 Processor rev 5 (v7l)

Wersja firmware:OpenWrt 23.05-SNAPSHOT r23077-bb03069691

14

Odp: Cannot install package - incompatible with the architectures configur

Tak, spowoduje przywrócenie ustawień domyślnych i będziesz musiał wszystko ustawić od nowa.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

15

Odp: Cannot install package - incompatible with the architectures configur

ok, dzięki za dotychczasową pomoc.

Pytanie o modemband. Bo ogólnie to mam zainstalowane więc mogę używać.
Czy komendą

 modemband.sh setbands "1 3 20" 

ustawiam band primary na band 1 ?

16

Odp: Cannot install package - incompatible with the architectures configur

Nie. Nie ma możliwości ustawienia primaryband jako takowego, nie znamy polecenia do tego. Możesz ustawić tylko jeden band (np. 1) lub inne (np. 1 3 20) żeby pozostałych nie używał. Ale poza wyborem jednego konkretnego nie ma możliwości jawnego wskazania że to on ma być primary.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

17

Odp: Cannot install package - incompatible with the architectures configur

Ogólnie jest postęp, po przywróceniu ustawień fabrycznych i ponownym configu interface pojawia się output z powyższych komend i udaje się instalować paczki. Jednak 3ginfo nie pojawia się w zakładach, po restarcie również. W zainstalowanych paczkach widzę 3ginfo i 3ginfo-text w wersji 20220205. Czy to jest wersja bez GUI? Czy należy doinstalować lite ?

18

Odp: Cannot install package - incompatible with the architectures configur

3ginfo jest programem konsolowym, nie będzie tego w gui. Dlatego miałeś dodatkowe repo od Ice4 bo pewnie kolega doinstalować ci pakiety do luci który są nakładkami na w/w programy. Chcesz to zrobić to dodaj sobie repozytora Rafała i zainstaluj co potrzebujesz. Opis po polsku masz tutaj: https://github.com/4IceG/Modem-extras

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

19

Odp: Cannot install package - incompatible with the architectures configur

Wydaje się, że już działa. Po kolejnym reset factory udało się zainstalować luci-app-3ginfo-lite i pojawia się w zakładach.
Widziałem wersje w której udało się edytować CA i primary band ale w tej wersji takich opcji nie widzę.

Nie mniej jednak dzięki Cezary za pomoc - główny problem z tematu został rozwiązany dzięki Twojej pomocy.
Pozdrawiam i szukam dalej

20

Odp: Cannot install package - incompatible with the architectures configur

Nie, nigdy nie było takiej wersji. Serio. Albo ktoś odkrył polecenie którego nie znam.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

21

Odp: Cannot install package - incompatible with the architectures configur

Cezary napisał/a:

Nie, nigdy nie było takiej wersji. Serio. Albo ktoś odkrył polecenie którego nie znam.

Widziałem to na własne oczy u sąsiada. Ta sama wersja modemu i Luci tylko u Niego jest rozszerzenie gdzie kolejkuje prio bandów i gdy ustawia primary band na 1 - internet z 5 mbps wskakuje na 30 mbps. Porozmawiam z Nim i dam odpowiedź tutaj.

22

Odp: Cannot install package - incompatible with the architectures configur

update:
Wtyczka ta to ModemBand (GUI) ale ona służy do wyboru preferowanych a nie primary. Więc po prostu to przypadek że tak się to ustawia w tej lokalizacji. No nic, trzeba się przeprosić z biurem albo wyprowadzić wink

Dzięki Cezary za pomoc.

23

Odp: Cannot install package - incompatible with the architectures configur

No  dokładniem plugin od IceG bazujący na modemband smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

24

Odp: Cannot install package - incompatible with the architectures configur

errorfree napisał/a:
Cezary napisał/a:

Nie, nigdy nie było takiej wersji. Serio. Albo ktoś odkrył polecenie którego nie znam.

Widziałem to na własne oczy u sąsiada. Ta sama wersja modemu i Luci tylko u Niego jest rozszerzenie gdzie kolejkuje prio bandów i gdy ustawia primary band na 1 - internet z 5 mbps wskakuje na 30 mbps. Porozmawiam z Nim i dam odpowiedź tutaj.

Jesteś pewien, że masz w ogóle agregację?
Bo 5 Mbps przy agregacji 3 bandów na tym routerze wydaje się jakoś podejrzanie mało.

25

Odp: Cannot install package - incompatible with the architectures configur

Zapraszam na warszawskie okęcie. Na orange przy 5G i agregacji 4 pasm można uzyskać całe 15Mbps.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.