This seems like a bit of an abuse of conffiles, as those files aren't really intended for user modification. It seems like this is a pretty niche use case that doesn't apply to the vast majority of users.
Have you looked at dpkg-divert? This can be used to force packages to install specific files to a diverted location. For example, 'dpkg-divert --add --rename --divert /lib/firmware/nic_AMDA0058-0011_2x40.nffw.foo /lib/firmware/nic_AMDA0058-0011_2x40.nffw' should cause the nic_AMDA0058-0011_2x40.nffw file from linux-firmware updates to be written to nic_AMDA0058-0011_2x40.nffw.foo. https://debian-administration.org/article/118 /Replacing_binaries_with_dpkg-divert ** Changed in: linux-firmware (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1804183 Title: netronome firmware symlinks are overwritten by package upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-firmware/+bug/1804183/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
