Pkgupdate issue due to missing vpn-policy-routing

After the latest update no way to proceed. I can’t uninstall vpn-policy-routing, too. Error report could be improved, very unclear why exactly it fails even on DBG level.

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
line not found

Blockquote
DBG:src/lib/download.c:78 (download_check_info):Download succesfull (https://repo.turris.cz/hbs/mox/packages/packages/Packages)
DBG:postprocess.lua:52 (Globals):Parsing index luci/https://repo.turris.cz/hbs/mox/packages/luci/Packages
DBG:postprocess.lua:52 (Globals):Parsing index packages/https://repo.turris.cz/hbs/mox/packages/packages/Packages
DBG:postprocess.lua:52 (Globals):Parsing index routing/https://repo.turris.cz/hbs/mox/packages/routing/Packages
DBG:postprocess.lua:52 (Globals):Parsing index core/https://repo.turris.cz/hbs/mox/packages/core/Packages
DBG:postprocess.lua:52 (Globals):Parsing index cesnet/https://repo.turris.cz/hbs/mox/packages/cesnet/Packages
DBG:postprocess.lua:52 (Globals):Parsing index turrispackages/https://repo.turris.cz/hbs/mox/packages/turrispackages/Packages
DBG:postprocess.lua:52 (Globals):Parsing index telephony/https://repo.turris.cz/hbs/mox/packages/telephony/Packages
DBG:postprocess.lua:52 (Globals):Parsing index base/https://repo.turris.cz/hbs/mox/packages/base/Packages
DBG:postprocess.lua:52 (Globals):Parsing index node/https://repo.turris.cz/hbs/mox/packages/node/Packages
DBG:postprocess.lua:293 (pkg_aggregate):Aggregating packages together
DBG:planner.lua:566 (Globals):Resolving Install and Uninstall requests
DBG:planner.lua:578 (Globals):Denying packages without any candidate
DBG:planner.lua:585 (Globals):Forcing penalty on expressions with free alternatives
DBG:planner.lua:597 (Globals):Deducing minimal set of required packages
DBG:src/lib/locks.c:45 (lua_acquire):Trying to get a lock at /var/lock/opkg.lock
DBG:backend.lua:394 (status_parse):Parsing status file /usr/lib/opkg/status
DBG:src/lib/locks.c:82 (lua_lock_release):Released lock at /var/lock/opkg.lock
line not found
ERROR:src/pkgupdate/main.c:151 (main):
[string “backend”]:1226: [string “backend”]:278: attempt to concatenate local ‘pkg_name’ (a nil value)
DBG:src/lib/events.c:572 (run_util_clean):Removing temporally busybox from: /tmp/updater-busybox-NoGjBh/busybox
line not found
line not found

It has been replaced pbr (policy-based-routing).

However pbr has dependencies on firewall4 which is not yet supported by Turris devices. Expectation is this will be available on TurrisOS 7.1.

There may be a way to use pbr-iptables on TurrisOS 7.0 but I was unable to figure it out.

Meainwhile i’m using this workaround

1 Like