Problem installing packages via web interface

I’m having issues installing packages through the LuCI interface, but not the command line.

If I try to install by the LuCI web interface I get the following:

Installing bc (1.06.95-1) to root...
Downloading https://repo.turris.cz/omnia/packages//packages/bc_1.06.95-1_mvebu.ipk.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 35918  100 35918    0     0  53358      0 --:--:-- --:--:-- --:--:-- 53449
Segmentation fault

But if I install using the command line works fine:

# opkg install bc
Installing bc (1.06.95-1) to root...
Downloading https://repo.turris.cz/omnia/packages//packages/bc_1.06.95-1_mvebu.ipk.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 35918  100 35918    0     0  53723      0 --:--:-- --:--:-- --:--:-- 53850
Configuring bc.
1 Like

Same problem with my TO.

Same here

LuCI tells me:

Installing squid-mod-cachemgr (3.5.23-2) to root...
Downloading https://repo.turris.cz/omnia/packages//turrispackages/squid-mod-cachemgr_3.5.23-2_mvebu.ipk.

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 25621  100 25621    0     0  64460      0 --:--:-- --:--:-- --:--:--  135k
Segmentation fault

The CL works fine:

# opkg install squid-mod-cachemgr
Installing squid-mod-cachemgr (3.5.23-2) to root...
Downloading https://repo.turris.cz/omnia/packages//turrispackages/squid-mod-cachemgr_3.5.23-2_mvebu.ipk.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 25621  100 25621    0     0   138k      0 --:--:-- --:--:-- --:--:--  139k
Configuring squid-mod-cachemgr.

Looks like a bug?

Same issue, fix please.

1 Like

Since this seems to affect others than just me, I submitted an issue at https://gitlab.labs.nic.cz/. Issue #45.

Straight from the documentation:

Option for more advanced users

The original opkg command only installs or removes the package. However, there’s also the updater, which keeps the packages it knows about up to date (and removes any it thinks are not necessary). The wrapper script mentioned above also adds installed packages to /etc/updater/auto.lua, or removes them on removal.

There’s a similar file, /etc/updater/user.lua, which is meant to be edited by the user. As an alternative mean, you may add the packages you want installed there and call ‘updater.sh’', which would install them.

TL;DR do not use LuCI but use the “/etc/updater/user.lua” file.
After an edit, run the updater by issuing: “updater.sh”.

It does look like

by calling this command on Turris Omnia, you don’t actually call the real opkg command directly. Instead, a script is run which calls the actual opkg and then adds the installed package to the list of packages to be updated.

So that auto.lua gets updated which is in the same directory as user.lua. I found my auto.lua pretty well populated already. I also see that auto.lua doesn’t contain any of the check-boxed software in the Turris interface.

Same bug here. Installing from command line is fine, LuCI fails.

I think this has something to do with the fact updater.sh may be already running in the background. I tried monitoring the process list and when it went away, the web interface worked fine.

Not sure what’s going on, but Turris is very good hardware that’s very short on good quality software.

still experiencing same issue when trying to install kmod cake, will this be addressed in an update at some point? it always reads “Segmentation fault”

Yes. It should be hopefully fixed in 3.7. Turris team can’t reproduce this issue.

Official reply from Turris team is here:
https://forum.test.turris.cz/t/segmentation-fault-installing-pkgs-with-luci/4113/5?u=pepe

i read somewhere that 3.7 will be released tomorrow for all users who have auto updates enabled? is this true?

That’s question for Turris team. I read it, too. We’ll see.

2 Likes