MOX - HBS@5.4.4 s SDIO se chce updatovat na TOS 6.0 i když by neměl

Nemam zaple automaticke aktualizace, protoze probirat kazdou chvili chciply mox me nebavilo, ale uz se tesim na TOS6 kde to snad bude vyresene.

Pustil jsem pkgupdate v domeni ze me to migruje na hbs 5.4.5 kde budu cekat az se vyresi update na TOS6 kde je vyresena SDIO 2.4G karta. Zkousel jsem opakovane prejit na 5.4.5, ale vzdycky jsem po rebootu skoncil na 5.4.4 viz schnapps

   98 | pre       |    25.48MiB | 2022-10-02 08:47:30 +0200 | Automatic pre-update snapshot (TurrisOS 5.4.2)
   99 | post      |    11.82MiB | 2022-10-02 08:50:03 +0200 | Automatic post-update snapshot (TurrisOS 5.4.4)
  100 | pre       |    14.14MiB | 2022-10-07 14:57:35 +0200 | Automatic pre-update snapshot (TurrisOS 5.4.4)
  101 | post      |    11.61MiB | 2022-10-07 14:58:19 +0200 | Automatic post-update snapshot (TurrisOS 5.4.4)
  102 | pre       |    11.63MiB | 2022-10-07 18:06:52 +0200 | Automatic pre-update snapshot (TurrisOS 5.4.4)
  103 | post      |    11.90MiB | 2022-10-07 18:07:41 +0200 | Automatic post-update snapshot (TurrisOS 5.4.4)
  104 | time      |    11.68MiB | 2022-10-09 01:05:01 +0200 | Snapshot created by cron
  105 | pre       |    14.14MiB | 2022-10-10 19:14:57 +0200 | Automatic pre-update snapshot (TurrisOS 5.4.4)
  106 | post      |    11.85MiB | 2022-10-10 19:15:42 +0200 | Automatic post-update snapshot (TurrisOS 5.4.4)
  107 | pre       |    14.37MiB | 2022-10-14 15:57:24 +0200 | Automatic pre-update snapshot (TurrisOS 5.4.4)
  108 | post      |    11.67MiB | 2022-10-14 15:58:08 +0200 | Automatic post-update snapshot (TurrisOS 5.4.4)
  109 | time      |    11.66MiB | 2022-10-16 01:05:01 +0200 | Snapshot created by cron
  110 | single    |    11.66MiB | 2022-10-18 22:06:19 +0200 | manual544

Aktualne dostavam vsak hlasku nize

 Warning: Changes performed using anything other than
 official web interface reForis are not covered by
 Turris support team unless instructed!


BusyBox v1.30.1 () built-in shell (ash)

      ______                _         ____  _____
     /_  __/_  ____________(_)____   / __ \/ ___/
      / / / / / / ___/ ___/ / ___/  / / / /\__ 
     / / / /_/ / /  / /  / (__  )  / /_/ /___/ / 
    /_/  \__,_/_/  /_/  /_/____/   \____//____/  
                                             
 -----------------------------------------------------
 TurrisOS 5.4.4, Turris Mox
 -----------------------------------------------------

root@hlogw:~# pkgupdate 
INFO:Target Turris OS: 6.0
line not found
line not found
line not found
line not found
line not found
ERROR:
inconsistent: Requested package wireguard that is not available.

Pak jeste neni dostupne tohle repo

Downloading https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz

Collected errors:
 * opkg_download: Failed to download https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz, wget returned 8.

Rucne prepnout na hbs-sdio zkousim … ale zda si to taha z hbs nikoliv z h

root@hlogw:~# switch-branch --force hbs-sdio
Downloading https://repo.turris.cz/hbs/mox/packages/core/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_core
Downloading https://repo.turris.cz/hbs/mox/packages/core/Packages.sig
.
.
.
Cekal bych https://repo.turris.cz/hbs-sdio/mox/packages/core/Packages.sig
..
..
Neprobehne tam nastaveni jako kdyz prepinam na hbs?
+ uci set 'updater.turris=turris'
+ uci set 'updater.turris.mode=branch'
+ uci set 'updater.turris.branch=hbs'
+ sed -i 's|https://repo\.turris\.cz/.*/\([^/]*\)/packages/|https://repo\.turris\.cz/hbs/\1/packages/|' /etc/opkg/distfeeds.conf
+ uci commit updater.turris
+ set +x

Takhle asi OK, jen se radsi ujistim at nedelam nejakou lamerinu

root@hlogw:~# uci set 'updater.turris.branch=hbs-sdio'
root@hlogw:~# uci commit
root@hlogw:~# pkgupdate 
1 Like

Toto je bohužel chyba, pokud aktualizujete z 5.4.4 a ne z 5.4.5, update na 6.0 proběhne a nedostanete se do hbs-sdio větve.

inconsistent: Requested package wireguard that is not available.

O tomto víme a je to popsané v druhém postu v release vlákně. V 6.0.1 toto bude opravené, pokud byste se přeci jen teď chtěl posunout na 6.0 (s tím, že SDIO WiFi Vám zatím nebude fungovat), budete muset manuálně odinstalovat wireguard balíček a nainstalovat kmod-wireguard a wireguard-tools. wireguard byl pouze prázdný balíček s těmito dvěma závislostmi.

Pak jeste neni dostupne tohle repo

To by neměl být problém a po updatu na 6.0 by se měl tento repozitář smazat ze seznamu. Je to pouze varování protože updater běží na TOS5 se seznamem feedů z TOS5, ale v hbs je již TOS6 který neobsahuje sidn feed.

switch-branch --force hbs-sdio

Manuální přepnutí takto by mělo fungovat, nejsem si jistý co je tu za problém a nedaří se mi zreprodukovat. Pokud budete mít příležitost, mohl byste nám poslat výstup sh -x /usr/bin/switch-branch --force hbs-sdio?

root@hlogw:~# uci set 'updater.turris.branch=hbs-sdio'
root@hlogw:~# uci commit
root@hlogw:~# pkgupdate 

Ještě myslím budete muset nahradit hbs s hbs-sdio v /etc/opkg/distfeeds.conf.

+ set -e
+ SUPPORTED_BRANCHES='hbs
hbt
hbk
hbl
hbd'
+ target=
+ mode=
+ list_versions=n
+ verify=n
+ force=n
+ noopts=n
+ '[' 2 -gt 0 ]
+ '[' n '!=' y ]
+ arg_option --force
+ force=y
+ shift
+ continue
+ '[' 1 -gt 0 ]
+ '[' n '!=' y ]
+ '[' -z  ]
+ target=hbs-sdio
+ shift
+ '[' 0 -gt 0 ]
+ grep -q repo.turris.cz /etc/opkg/distfeeds.conf
+ '[' '!' -f /etc/turris-version ]
+ which opkg-cl
+ which pkgupdate
+ load_current_state
+ . /lib/functions.sh
+ N='
'
+ _C=0
+ NO_EXPORT=1
+ LOAD_STATE=1
+ LIST_SEP=' '
+ reset_cb
+ '[' -z  -a -f /lib/config/uci.sh ]
+ . /lib/config/uci.sh
+ CONFIG_APPEND=
+ config_load updater
+ '[' -n  ]
+ uci_load updater
+ local 'PACKAGE=updater'
+ local DATA
+ local RET
+ local VAR
+ _C=0
+ '[' -z  ]
+ export -n 'CONFIG_LIST_STATE='
+ export -n 'CONFIG_SECTIONS='
+ export -n 'CONFIG_NUM_SECTIONS=0'
+ export -n 'CONFIG_SECTION='
+ /sbin/uci -P /var/state -S -n export updater
+ DATA='package updater

config turris '"'"'turris'"'"'
	option mode '"'"'branch'"'"'
	option branch '"'"'hbs'"'"'

config l10n '"'"'l10n'"'"'
	list langs '"'"'cs'"'"'
	list langs '"'"'de'"'"'

config autorun '"'"'autorun'"'"'
	option enable '"'"'1'"'"'
	option approvals '"'"'1'"'"
+ RET=0
+ '[' 0 '!=' 0 -o -z 'package updater

config turris '"'"'turris'"'"'
	option mode '"'"'branch'"'"'
	option branch '"'"'hbs'"'"'

config l10n '"'"'l10n'"'"'
	list langs '"'"'cs'"'"'
	list langs '"'"'de'"'"'

config autorun '"'"'autorun'"'"'
	option enable '"'"'1'"'"'
	option approvals '"'"'1'"'" ]
+ eval 'package updater

config turris '"'"'turris'"'"'
	option mode '"'"'branch'"'"'
	option branch '"'"'hbs'"'"'

config l10n '"'"'l10n'"'"'
	list langs '"'"'cs'"'"'
	list langs '"'"'de'"'"'

config autorun '"'"'autorun'"'"'
	option enable '"'"'1'"'"'
	option approvals '"'"'1'"'"
+ package updater
+ return 0
+ config turris turris
+ local 'cfgtype=turris'
+ local 'name=turris'
+ export -n 'CONFIG_NUM_SECTIONS=1'
+ name=turris
+ append CONFIG_SECTIONS turris
+ local 'var=CONFIG_SECTIONS'
+ local 'value=turris'
+ local 'sep= '
+ eval 'export -n -- "CONFIG_SECTIONS=${CONFIG_SECTIONS:+${CONFIG_SECTIONS}${value:+$sep}}$value"'
+ export -n -- 'CONFIG_SECTIONS=turris'
+ export -n 'CONFIG_SECTION=turris'
+ config_set turris TYPE turris
+ local 'section=turris'
+ local 'option=TYPE'
+ local 'value=turris'
+ export -n 'CONFIG_turris_TYPE=turris'
+ '[' -n  ]
+ config_cb turris turris
+ return 0
+ option mode branch
+ local 'varname=mode'
+ shift
+ local 'value=branch'
+ config_set turris mode branch
+ local 'section=turris'
+ local 'option=mode'
+ local 'value=branch'
+ export -n 'CONFIG_turris_mode=branch'
+ '[' -n  ]
+ option_cb mode branch
+ return 0
+ option branch hbs
+ local 'varname=branch'
+ shift
+ local 'value=hbs'
+ config_set turris branch hbs
+ local 'section=turris'
+ local 'option=branch'
+ local 'value=hbs'
+ export -n 'CONFIG_turris_branch=hbs'
+ '[' -n  ]
+ option_cb branch hbs
+ return 0
+ config l10n l10n
+ local 'cfgtype=l10n'
+ local 'name=l10n'
+ export -n 'CONFIG_NUM_SECTIONS=2'
+ name=l10n
+ append CONFIG_SECTIONS l10n
+ local 'var=CONFIG_SECTIONS'
+ local 'value=l10n'
+ local 'sep= '
+ eval 'export -n -- "CONFIG_SECTIONS=${CONFIG_SECTIONS:+${CONFIG_SECTIONS}${value:+$sep}}$value"'
+ export -n -- 'CONFIG_SECTIONS=turris l10n'
+ export -n 'CONFIG_SECTION=l10n'
+ config_set l10n TYPE l10n
+ local 'section=l10n'
+ local 'option=TYPE'
+ local 'value=l10n'
+ export -n 'CONFIG_l10n_TYPE=l10n'
+ '[' -n  ]
+ config_cb l10n l10n
+ return 0
+ list langs cs
+ local 'varname=langs'
+ shift
+ local 'value=cs'
+ local len
+ config_get len l10n langs_LENGTH 0
+ eval export -n -- 'len=${CONFIG_l10n_langs_LENGTH:-${4}}'
+ export -n -- 'len=0'
+ '[' 0 '=' 0 ]
+ append CONFIG_LIST_STATE l10n_langs
+ local 'var=CONFIG_LIST_STATE'
+ local 'value=l10n_langs'
+ local 'sep= '
+ eval 'export -n -- "CONFIG_LIST_STATE=${CONFIG_LIST_STATE:+${CONFIG_LIST_STATE}${value:+$sep}}$value"'
+ export -n -- 'CONFIG_LIST_STATE=l10n_langs'
+ len=1
+ config_set l10n langs_ITEM1 cs
+ local 'section=l10n'
+ local 'option=langs_ITEM1'
+ local 'value=cs'
+ export -n 'CONFIG_l10n_langs_ITEM1=cs'
+ config_set l10n langs_LENGTH 1
+ local 'section=l10n'
+ local 'option=langs_LENGTH'
+ local 'value=1'
+ export -n 'CONFIG_l10n_langs_LENGTH=1'
+ append CONFIG_l10n_langs cs ' '
+ local 'var=CONFIG_l10n_langs'
+ local 'value=cs'
+ local 'sep= '
+ eval 'export -n -- "CONFIG_l10n_langs=${CONFIG_l10n_langs:+${CONFIG_l10n_langs}${value:+$sep}}$value"'
+ export -n -- 'CONFIG_l10n_langs=cs'
+ '[' -n  ]
+ list_cb langs cs
+ return 0
+ list langs de
+ local 'varname=langs'
+ shift
+ local 'value=de'
+ local len
+ config_get len l10n langs_LENGTH 0
+ eval export -n -- 'len=${CONFIG_l10n_langs_LENGTH:-${4}}'
+ export -n -- 'len=1'
+ '[' 1 '=' 0 ]
+ len=2
+ config_set l10n langs_ITEM2 de
+ local 'section=l10n'
+ local 'option=langs_ITEM2'
+ local 'value=de'
+ export -n 'CONFIG_l10n_langs_ITEM2=de'
+ config_set l10n langs_LENGTH 2
+ local 'section=l10n'
+ local 'option=langs_LENGTH'
+ local 'value=2'
+ export -n 'CONFIG_l10n_langs_LENGTH=2'
+ append CONFIG_l10n_langs de ' '
+ local 'var=CONFIG_l10n_langs'
+ local 'value=de'
+ local 'sep= '
+ eval 'export -n -- "CONFIG_l10n_langs=${CONFIG_l10n_langs:+${CONFIG_l10n_langs}${value:+$sep}}$value"'
+ export -n -- 'CONFIG_l10n_langs=cs de'
+ '[' -n  ]
+ list_cb langs de
+ return 0
+ config autorun autorun
+ local 'cfgtype=autorun'
+ local 'name=autorun'
+ export -n 'CONFIG_NUM_SECTIONS=3'
+ name=autorun
+ append CONFIG_SECTIONS autorun
+ local 'var=CONFIG_SECTIONS'
+ local 'value=autorun'
+ local 'sep= '
+ eval 'export -n -- "CONFIG_SECTIONS=${CONFIG_SECTIONS:+${CONFIG_SECTIONS}${value:+$sep}}$value"'
+ export -n -- 'CONFIG_SECTIONS=turris l10n autorun'
+ export -n 'CONFIG_SECTION=autorun'
+ config_set autorun TYPE autorun
+ local 'section=autorun'
+ local 'option=TYPE'
+ local 'value=autorun'
+ export -n 'CONFIG_autorun_TYPE=autorun'
+ '[' -n  ]
+ config_cb autorun autorun
+ return 0
+ option enable 1
+ local 'varname=enable'
+ shift
+ local 'value=1'
+ config_set autorun enable 1
+ local 'section=autorun'
+ local 'option=enable'
+ local 'value=1'
+ export -n 'CONFIG_autorun_enable=1'
+ '[' -n  ]
+ option_cb enable 1
+ return 0
+ option approvals 1
+ local 'varname=approvals'
+ shift
+ local 'value=1'
+ config_set autorun approvals 1
+ local 'section=autorun'
+ local 'option=approvals'
+ local 'value=1'
+ export -n 'CONFIG_autorun_approvals=1'
+ '[' -n  ]
+ option_cb approvals 1
+ return 0
+ unset DATA
+ config_cb
+ return 0
+ return 0
+ config_get CUR_MODE turris mode branch
+ eval export -n -- 'CUR_MODE=${CONFIG_turris_mode:-${4}}'
+ export -n -- 'CUR_MODE=branch'
+ CUR_BRANCH=hbs
+ '[' branch '=' branch ]
+ config_get CUR_BRANCH turris branch hbs
+ eval export -n -- 'CUR_BRANCH=${CONFIG_turris_branch:-${4}}'
+ export -n -- 'CUR_BRANCH=hbs'
+ cat /etc/turris-version
+ CUR_VERSION=5.4.5
+ '[' branch '=' version ]
+ IFS=. read -r CUR_VERSION_MAJOR CUR_VERSION_MINOR CUR_VERSION_FIXUP
+ '[' n '=' y ]
+ '[' -n  ]
+ mode=branch
+ '[' branch '=' version ]
+ '[' n '=' y ]
+ '[' n '=' y ]
+ '[' -n hbs-sdio ]
+ branch_alts
+ check_branch
+ '[' y '=' y ]
+ '[' -z hbs-sdio ]
+ '[' branch '!=' version ]
+ '[' '!' -f /usr/lib/opkg/info/cznic-repo-keys-test.control ]
+ opkg-cl update
Downloading https://repo.turris.cz/hbs/mox/packages/core/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_core
Downloading https://repo.turris.cz/hbs/mox/packages/core/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/base/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_base
Downloading https://repo.turris.cz/hbs/mox/packages/base/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/cesnet/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_cesnet
Downloading https://repo.turris.cz/hbs/mox/packages/cesnet/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_luci
Downloading https://repo.turris.cz/hbs/mox/packages/luci/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/node/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_node
Downloading https://repo.turris.cz/hbs/mox/packages/node/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_packages
Downloading https://repo.turris.cz/hbs/mox/packages/packages/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_routing
Downloading https://repo.turris.cz/hbs/mox/packages/routing/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz
*** Failed to download the package list from https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz

Downloading https://repo.turris.cz/hbs/mox/packages/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/turrisos_telephony
Downloading https://repo.turris.cz/hbs/mox/packages/telephony/Packages.sig
Signature check passed.
Downloading https://repo.turris.cz/hbs/mox/packages/turrispackages/Packages.gz
Updated list of available packages in Collected errors:
 * opkg_download: Failed to download https://repo.turris.cz/hbs/mox/packages/sidn/Packages.gz, wget returned 8.
/var/opkg-lists/turrisos_turrispackages
Downloading https://repo.turris.cz/hbs/mox/packages/turrispackages/Packages.sig
Signature check passed.
1 Like

Koukam ze ve skriptu je viz výše, ale MOTD vypisuje něco jiného

TurrisOS 5.4.4, Turris Mox