This patch does the minimum required to sync the alternatives file when writing. IO::File is in perl-base, so no new dependencies.
If you think this approach is viable, I can have a look and do something similar with dpkg-statoverride and dpkg-divert, but I'll wait for comments on this first.
This patch does the minimum required to sync the alternatives file when writing. IO::File is in perl-base, so no new dependencies.
If you think this approach is viable, I can have a look and do something similar with dpkg-statoverride and dpkg-divert, but I'll wait for comments on this first.