Error Emails because Thermometer Missing

Hello,
after the automatic upgrade to TurrisOS 5.3.1, my Turris Omnia sends me the same email several times a day:

Error notifications
===================
Updater failed: 

inconsistent: Requested package thermometer that is not available.

From a search in the forum I understand that thermometer is no longer available. OK. Now how do I stop the device from trying to download and install it? The emails are annoying.

TNX

Uninstall thermometer and install lm-sensors.

Souhrn
root@mox:~# sensors
socinternalregsd0000000mdio32004switch02mdio14-mdio-e
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

socinternalregsd0000000mdio32004switch02mdio12-mdio-c
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

d0032004mdiomii01-mdio-1
Adapter: MDIO adapter
temp1:        +52.0°C  (crit = +100.0°C)

ath10k_hwmon-pci-0200
Adapter: PCI adapter
temp1:        +53.0°C

socinternalregsd0000000mdio32004switch02mdio13-mdio-d
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

socinternalregsd0000000mdio32004switch02mdio11-mdio-b
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

root@mox:~# thermometer
-ash: thermometer: not found
root@mox:~# sensors
socinternalregsd0000000mdio32004switch02mdio14-mdio-e
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

socinternalregsd0000000mdio32004switch02mdio12-mdio-c
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

d0032004mdiomii01-mdio-1
Adapter: MDIO adapter
temp1:        +52.0°C  (crit = +100.0°C)

ath10k_hwmon-pci-0200
Adapter: PCI adapter
temp1:        +52.0°C

socinternalregsd0000000mdio32004switch02mdio13-mdio-d
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

socinternalregsd0000000mdio32004switch02mdio11-mdio-b
Adapter: MDIO adapter
temp1:        +21.0°C  (crit = +100.0°C)

Hello,

You are looking for details, which are described in our documentation:

Would you please take a look there? You will find there how to proceed with this. If you are not able to solve this, @Stepan will help you. Don’t hesitate to reach him.

OK, but HOW do I do that? I know I have to remove thermometer, but I can’t find it anywhere. I went through all the menus in reFORIS and LuCi.

From terminal
To remove

opkg remove thermometer

To install lm-sensors

opkg update
opkg install lm-sensors

To get help about opkg you can type without any option

opkg

Btw be careful with the opkg cmd, if you don’t know what you are doing or unsure better don’t use it.

How do I find the terminal?
I have terminals on my computers, but I’ve never used a terminal for the Turris Omnia.

That means I should probably heed your advice not to use opkg. So what is the alternative?

If you are on windows then install putty and login to your router with command:
ssh root@IPOFYOURROUTER

Thank you. I have tried that now, but it didn’t work:

root@turris:~# opkg remove thermometer
No packages removed.

What to do?

Hello,

Unfortunately, the package cannot be removed, since it has been removed already. The problem is that it got stuck in a configuration file. The only solution for now is to remove the appropriate line in the /etc/updater/conf.d/opkg-auto.lua file (the whole line), as it is mentioned among the known problems and solutions in the documentation site:

If you are an advanced user you can also investigate files in the directory /etc/updater/conf.d and check the content of any file you created as well as the content of /etc/updater/conf.d/opkg-auto.lua. You should remove any unnecessary Install and Uninstall lines.

You can do it for example the following way:

  1. run the vim /etc/updater/conf.d/opkg-auto.lua command
  2. move the cursor to the line with thermometer
  3. type “dd”
  4. type “:wq”
  5. press enter

We are sorry for your inconvenience.

Sorry, just one more note. If you don’t feel very comfortable with SSH and the Vim text editor, you may take advantage of a WinSCP file manager on Windows. You can download it from their website.

For login, you can keep the protocol as “SFTP” or choose “SCP”. Anyway, the hostname will be “192.168.1.1” (if you didn’t change the LAN IP address), the user name will be “root” and the Password the same as for the LuCI web interface. Port number remains 22.

When you open the mentioned file /etc/updater/conf.d/opkg-auto.lua, you can easily edit it. Just make sure, you delete the whole line.

Thank you. I tried editing the line with thermometer out of
/etc/updater/conf.d/opkg-auto.lua
However, there is no such line. Maybe today’s update fixed the issue. I received a News Announcement stating, i.a., “Various fixes for migration from Turris OS 3.x”. And I haven’t received any warning emails about thermometer since. :slight_smile:

1 Like