Updater.sh WARN:Morpher is obsoleted!

Since the 3.8 update i get this message from updater.sh.
WARN:Morpher is obsoleted! You have used morpher syntax with function: Install

Morpher is syntax without brackets and commas used in updater’s configuration. Please review what you have in /etc/updater/user.lua and change syntax to not use morpher any more (it should be just plain lua). So for example

Install "pkga" "pkgb" { repository = {"turris"} }

Should become

Install("pkga", "pkgb", { repository = {"turris"} })
5 Likes

so how to fix this

WARN:Morpher is obsoleted! You have used morpher syntax with function: Uninstall
WARN:Morpher is obsoleted! You have used morpher syntax with function: Uninstall
WARN:Morpher is obsoleted! You have used morpher syntax with function: Uninstall
WARN:Morpher is obsoleted! You have used morpher syntax with function: Uninstall
WARN:Morpher is obsoleted! You have used morpher syntax with function: Uninstall

As I wrote. Go to /etc/updater/user.lua and update syntax.

1 Like

That worked. Thank you.
There are two more warnings.
WARN:Script revision-specific not found, but ignoring its absence as requested
WARN:Script serial-specific not found, but ignoring its absence as requested

Don’t care about those. They will be removed in next major release and are harmless.

1 Like

So, is this correct?

Package "mysql-server" { content = "file:///root/upravy/packages/mysql-server_5.1.73-2_mvebu.ipk" }
Install "mysql-server"
Package "vncrepeater" { content = "file:///root/upravy/packages/vncrepeater_0.17-4_mvebu.ipk" }
Install "vncrepeater"
Install "mc"
Install "lighttpd-mod-redirect"
Install "collectd-mod-thermal"
Install "collectd-mod-memory"
Install "collectd-mod-wireless"
Install "collectd-mod-cpu"
Install "collectd-mod-openvpn"
Package "collectd-mod-cpufreq" { content = "file:///root/upravy/packages/collectd-mod-cpufreq_4.10.8-3_mvebu.ipk" }
Install "collectd-mod-cpufreq"

became

Package("mysql-server", { content = "file:///root/upravy/packages/mysql-server_5.1.73-2_mvebu.ipk" })
Install("mysql-server")
Package("vncrepeater", { content = "file:///root/upravy/packages/vncrepeater_0.17-4_mvebu.ipk" })
Install("vncrepeater")
Install("mc")
Install("lighttpd-mod-redirect")
Install("collectd-mod-thermal")
Install("collectd-mod-memory")
Install("collectd-mod-wireless")
Install("collectd-mod-cpu")
Install("collectd-mod-openvpn")
Package("collectd-mod-cpufreq", { content = "file:///root/upravy/packages/collectd-mod-cpufreq_4.10.8-3_mvebu.ipk" })
Install("collectd-mod-cpufreq")

Maybe dumb question, but if this will not be correct in next updater’s run, it would break a lot of things :frowning:

I converted my configuration successfully, but is this priority stuff aka

Uninstall("transmission-daemon-openssl", "luci-i18n-transmission-en", "luci-app-transmission", {priority=60})
Uninstall("fswebcam", {priority=60})
Uninstall("luci-app-mjpg-streamer", "mjpg-streamer", {priority=60})

still needed?

I am asking cause the dnsmasq-full instead of Knot example I got from a forum post by a Omnia Turris team member her, is just:

Install("dnsmasq-full")
Uninstall("knot-resolver")