Opkg parse error while upgrading a package

I'm using OpenWrt 19.07.2 r10947-65030d81f3 on a NetGear NightHawk R7800 and I'm using no-ip to be able to avoid using IP addresses.

Yesterday I performed an update and upgrade to the system and while upgrading packages (one by one) I got these errors for package ddns-scripts_no-ip_com:

(Note: by mistake I reinstalled the package using opkg install instead of using opkg upgrade

# opkg install --force-reinstall ddns-scripts_no-ip_com
Removing package ddns-scripts_no-ip_com from root...
Installing ddns-scripts_no-ip_com (2.7.8-13) to root...
Downloading http://downloads.openwrt.org/releases/19.07.2/packages/arm_cortex-a15_neon-vfpv4/packages/ddns-scripts_no-ip_com_2.7.8-13_all.ipk
Configuring ddns-scripts_no-ip_com.
Parse error (invalid command) at line 84, byte 1
Parse error (invalid command) at line 85, byte 1
uci: Parse error (invalid command) at line 84, byte 1

But, as the note above says, I should have used upgrade instead of install. And if I use upgrade I see no parse errors. I'm not sure this is bad or not or if I should even do anything to fix this, if it needs to be fixed.


1 Like



So, it is normal that with opkg install <package_name>, errors occur but with opkg upgrade <package_name> no errors occur?

Doesn't seem to me corrupted config files. This is due to a script that has been working since always. I haven't change anything in this script!. In fact, this is a package. So, if it would have typos, then I would got errors the first time I installed it.

One of the configs is definitely a corrupted.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.