This is really my only major complaint about the Omnia, but it’s ridiculous that one of the main selling points of the Omnia (auto updates) can be such a nightmare. All I want is for it to stop trying to install other DNS-related packages and just use dnsmasq-full for everything DNS and DHCP related, rather than trying to use some combination of dnsmasq/unbound/kresd/whatever else.
This certainly isn’t anything new. There are questions (including mine) dating all the way back to January, as well as some more recent. It’s a total deal-breaker to have to jump through so many hoops just to use the “automatic” updates. I had to do the workaround described here just to get the update to work, let alone clean up the aftermath.
The addition of the “Install”/“Uninstall” features in /etc/updater/user.lua was a welcome addition, but for some reason they’re crippled by the fact that “basic system” packages will completely override that and install themselves anyway. The whole point of those keywords is to give the user control, but it ends up falling flat on the actual important bits of the system. If a package is blacklisted by the user, it shouldn’t install, period.
I thought for a while that I would be able to circumvent the issue by simply leaving those packages installed, but disabling their services. But even then, you run into issues like this. It seems the only way to make sure your system doesn’t get broken randomly by updates is to either:
- Disable automatic updates
- chattr +i anything of value
- Use the default set of packages
OpenWRT/Turris doesn’t come with chattr, so #2 is out of the question. As for #3, well, there’s a reason I’m not using the default packages, so that’s not really a solution either. All you can really do is re-enable updates every so often when you’ll have a couple hours to fix whatever got broken.
Lastly, there’s also the odd choice to either have updater disabled completely, or update automatically. You can’t set it to “update manually”. This isn’t a huge deal, since you can just enable updater when you want to update, but still seems odd.