`Updater execution failed` error spam after trying to install package

I have a Turris Mox, and recently noticed that the packages vpn-policy-routing and luci-app-vpn-policy-routing were removed by a previous update. So I tried to reinstall them, however this failed because the packages were missing.

Since then, I get spammed by errors about every hour. First, I got

Error notifications
===================
Updater execution failed:
WARN:Couldn't read the status file: [string "backend"]:1226: [string "backend"]:278: attempt to concatenate local 'pkg_name' (a nil value)
INFO:Target Turris OS: 7.0.0
WARN:Request not satisfied to install package: luci-app-vpn-policy-routing
WARN:Request not satisfied to install package: sentinel-dynfw-client
WARN:Requested package reforis-openvpn-plugin-l10n-de that is missing, ignoring as requested.
WARN:Requested package reforis-diagnostics-plugin-l10n-de that is missing, ignoring as requested.
WARN:Requested package reforis-snapshots-plugin-l10n-de that is missing, ignoring as requested.
line not found
ERROR:
[string "backend"]:1226: [string "backend"]:278: attempt to concatenate local 'pkg_name' (a nil value)
line not found
line not found

Then tried to uninstall the package, and did a rollback, and now I get

Updater execution failed:
WARN:Couldn't read the status file: [string "backend"]:1226: [string "backend"]:278: attempt to concatenate local 'pkg_name' (a nil value)
INFO:Target Turris OS: 7.0.0
WARN:Request not satisfied to install package: sentinel-dynfw-client
WARN:Requested package reforis-openvpn-plugin-l10n-de that is missing, ignoring as requested.
WARN:Requested package reforis-snapshots-plugin-l10n-de that is missing, ignoring as requested.
WARN:Requested package reforis-diagnostics-plugin-l10n-de that is missing, ignoring as requested.
line not found
ERROR:
[string "backend"]:1226: [string "backend"]:278: attempt to concatenate local 'pkg_name' (a nil value)
line not found
line not found

Start reading from here. Vpn-policy-rouying was replaced by pbr

Thanks for the answer, but I don’t quite understand how to proceed. I’m fine using pbr instead of vpn-policy-routing, but how do I fix the error messages?

Delete problematic packages from /etc/updater/conf.d/opkg-auto.lua

1 Like

Ok, I looked into that file, and found only one entry: Install("luci-app-openvpn").

I then rolled back to an earlyer snapshot from a couple weeks ago, rebooted, and found that vpn-policy-routing was now in that list. I removed the entries, and now updates do work.

I then tried to install pbr, however this fails because it conflicts with vpn-policy-routing:

root@turris:~# opkg install pbr
Installing pbr (1.1.1-7) to root...
Collected errors:
 * check_conflicts_for: The following packages conflict with pbr:
 * check_conflicts_for: 	vpn-policy-routing *
 * opkg_install_cmd: Cannot install package pbr.

However, vpn-policy-routing is not installed, I can’t remove it:

root@turris:~# opkg remove vpn-policy-routing
No packages removed.

When I run opkg info, it lists it as install, and not installed?

root@turris:~# opkg info vpn-policy-routing
Package: vpn-policy-routing
Version: 0.3.4-8
Depends: libc, jshn, ipset, iptables, resolveip, kmod-ipt-ipset, iptables-mod-ipopt, ip-full
Status: install user not-installed
Architecture: all
Conffiles:
 /etc/config/vpn-policy-routing <some_hash>
Installed-Time: 1668510968