can you cat /etc/updater/auto.lua ? does wget appear in there? anything in that list should be auto-reinstalled on an upgrade. if it isn’t in the list, it won’t be re-installed after an upgrade.
installing via LuCI or opkg should add the package to the list, removing a package takes it out of the list.
It’s present in the file and probably was there before too - because I reinstalled wget a month ago because of the same issue. Wget was “formally” installed but probably overwritten by BusyBox.
Same happens with less, the problem is that these packages are made to remove busybox symlinks in postinstall script. If busybox is updated, nothing triggers these postinstall scripts again, and busybox wins as /usr/bin is placed in front of /bin in PATH.
Manual fix:
root@omnia:~# ls -la /bin/less
-rwxr-xr-x 1 root root 123028 Nov 7 10:21 /bin/less
root@omnia:~# ls -la /usr/bin/less
lrwxrwxrwx 1 root root 17 Dec 22 15:20 /usr/bin/less -> ../../bin/busybox
root@omnia:~# /usr/lib/opkg/info/less.postinst
root@omnia:~# ls -la /usr/bin/less
ls: /usr/bin/less: No such file or directory
root@omnia:~# ls -la /bin/less
-rwxr-xr-x 1 root root 123028 Nov 7 10:21 /bin/less
You can also automate this by calling the postinst after every update:
It’s something what the OpenWRT package management can not handle, not sure if it can be better handled in the updater.sh… Definitely it’s unexpected behavior.