Updater removes packages (Luci and more) - What to do?

Hello,

I’m having a problem with the Turris updater.sh script which wants to remove a lot of packages after re-installing the Mox image “mox-medit-latest.tar.gz” which was successfully flashed via SD card.

When I start the update search following list is shown:

Your approval is required to apply pending updates. You can grant it in the Foris administrative interface in the 'Updater' menu.
 • Install turris-mox-firmware 1.1-1
 • Install turris-nor-update 1.1.0-1
 • Install shield-support 2.3.0-4
 • Install common_passwords 20181218-1
 • Install firewall-redirect-192-168-1-1 0.1.1-1
 • Install sentinel-eula 1.1-1
 • Install msgpack-c 3.3.0-1
 • Install libconfig 1.7.2-2
 • Install libpaho-mqtt-c 1.3.9-1
 • Install liblz4 1.9.2-4
 • Install libmicrohttpd-no-ssl 0.9.62-3
 • Install libsodium 1.0.18-1
 • Install libzmq-curve 4.3.3-2
 • Install czmq 4.2.1-2
 • Install sentinel-proxy 1.4-1
 • Install sentinel-i_agree_with_eula 1-4
 • Install ethtool 5.2-1
 • Install ip_autoselector 1.0.2-1
 • Install kmod-tun 4.14.290-1-28a6284edbf84ab22e01f492fbad32dd
 • Install openvpn-openssl 2.4.11-1
 • Install python3-zmq 19.0.1-3.7-1
 • Install python3-msgpack 1.0.0-3.7-1
 • Install turris-survey 0.4-3.7-1
 • Install sentinel-firewall 0.1.2-1
 • Install libipset 7.3-1
 • Install ipset 7.3-1
 • Install sentinel-dynfw-client 1.4.0-2
 • Install base64c 0.2.1-1
 • Install logc 0.4.0-1
 • Install logc-libevent 0.1.0-1
 • Install logc-czmq 0.1.0-1
 • Install logc-argp 0.4.0-1
 • Install sentinel-minipot 2.3.0-1
 • Install ouidb 20220320-1
 • Install python3-pyroute2 0.5.6-3.7-1
 • Install dev-detect 0.3.1-3.7-2
 • Install kmod-nfnetlink-log 4.14.290-1-28a6284edbf84ab22e01f492fbad32dd
 • Install kmod-ipt-nflog 4.14.290-1-28a6284edbf84ab22e01f492fbad32dd
 • Install iptables-mod-nflog 1.8.3-1
 • Install libnetfilter-log 1.0.1-2
 • Install sentinel-fwlogs 0.3.0-1
 • Install rmbt-client 1.1-1
 • Install python3-pyserial 3.4-3.7-1
 • Install netmetr 1.6.0-3.7-1
 • Install sshpass 1.06-1
 • Install python3-pyasn1 0.4.8-3.7-1
 • Install python3-pyasn1-modules 0.2.8-3.7-1
 • Install python3-service-identity 18.1.0-3.7-1
 • Install python3-crypto 2.6.1-3.7-4
 • Install python3-zope-interface 4.7.2-3.7-1
 • Install python3-hyperlink 19.0.0-3.7-1
 • Install python3-incremental 17.5.0-3.7-1
 • Install python3-constantly 15.1.0-3.7-1
 • Install python3-automat 0.8.0-3.7-1
 • Install python3-twisted 19.10.0-3.7-2
 • Install python3-bcrypt 3.1.7-3.7-1
 • Install python3-cachetools 3.1.1-3.7-1
 • Install haas-proxy 2.0.2-3.7-2
 • Install foris-controller-sentinel-module 0.3.0-3.7-1
 • Install reforis-data-collection-plugin 0.4.0-3.7-1
 • Install foris-controller-haas-module 0.1.1-3.7-1
 • Install reforis-haas-plugin 0.1.3-3.7-1
 • Install foris-controller-openvpn_client-module 0.5.1-3.7-1
 • Install foris-controller-openvpn-module 0.7.0-3.7-1
 • Install reforis-openvpn-plugin 1.5.0-3.7-1
 • Install foris-controller-netmetr-module 0.4.2-3.7-4
 • Install reforis-netmetr-plugin 0.3.0-3.7-1
 • Install openvpn-hotplug 0.2-1
 • Install reforis-data-collection-plugin-l10n-cs 0.4.0-3.7-1
 • Install reforis-haas-plugin-l10n-cs 0.1.3-3.7-1
 • Install reforis-openvpn-plugin-l10n-cs 1.5.0-3.7-1
 • Install reforis-netmetr-plugin-l10n-cs 0.3.0-3.7-1
 • Remove luci-i18n-firewall-cs 
 • Remove luci-i18n-base-de 
 • Remove luci-i18n-commands-de 
 • Remove luci-i18n-firewall-de 
 • Remove initial-config 
 • Remove kmod-fs-ext4 
 • Remove resolver-debug 
 • Remove luci-i18n-base-cs 
 • Remove luci-i18n-opkg-de 
 • Remove luci-i18n-firewall-en 
 • Remove kmod-fs-exfat 
 • Remove kmod-fs-xfs 
 • Remove luci-i18n-opkg-cs 
 • Remove luci 
 • Remove luci-mod-admin-full 
 • Remove luci-mod-status 
 • Remove luci-mod-system 
 • Remove luci-mod-network 
 • Remove rpcd-mod-iwinfo 
 • Remove luci-theme-bootstrap 
 • Remove luci-app-firewall 
 • Remove libiwinfo-lua 
 • Remove kmod-fs-exportfs 
 • Remove kmod-fs-vfat 
 • Remove kmod-nls-iso8859-1 
 • Remove kmod-nls-utf8 
 • Remove kmod-nls-cp437 
 • Remove luci-i18n-base-en 
 • Remove mox-support 
 • Remove luci-i18n-commands-cs 
 • Remove kmod-fs-btrfs 
 • Remove kmod-lib-crc32c 
 • Remove kmod-crypto-crc32c 
 • Remove kmod-lib-zlib-inflate 
 • Remove kmod-lib-xor 
 • Remove kmod-lib-zstd 
 • Remove turris-webapps-luci 
 • Remove turris-webapps 
 • Remove lighttpd-mod-cgi 
 • Remove luci-i18n-opkg-en 
 • Remove reforis-storage-plugin 
 • Remove foris-controller-storage-module 
 • Remove coreutils-stat 
 • Remove kmod-lib-raid6 
 • Remove rpcd-mod-rrdns 
 • Remove luci-i18n-commands-en 
 • Remove luci-app-commands 
 • Remove luci-compat 
 • Remove luci-base 
 • Remove luci-lib-nixio 
 • Remove luci-lib-ip 
 • Remove libubus-lua 
 • Remove liblucihttp-lua 
 • Remove liblucihttp 
 • Remove rpcd-mod-file 
 • Remove rpcd-mod-luci 
 • Remove cgi-io 
 • Remove luci-lib-jsonc 
 • Remove luci-app-opkg 
 • Remove kmod-lib-zlib-deflate 

Is there any way to fix this? I don’t want that the updater deletes any packages.

Best regards

Hello,

From the output, it seems like you have Turris Shield and you installed Turris MOX medkit. Is that correct?

Hello Pepe,

that’s right, I bought a Shield and didn’t know about the limitations.

When I read you could flash the MOX medkit I tried it and it worked, the only problem I encountered is that the updater seems to downgrade the device again to a Shield.

Is there any way to change to device type from Shield to Mox? If not I will have to get a Mox instead I guess.

Best regards

1 Like

Is it possible, but officially unsupported.