An ubuntu package contains a file that is not acceptable to me (not a config). I've applied my changes to it, but I'm afraid that eventually the package that it came from will be updated and my corrected version of the file will be overwritten. I set
chattr -i, so I'm hoping that apt will at least fail with an error trying to overwrite it, but I would like to avoid errors altogether.
Is there a way to make apt just leave the file alone and never modify it? Or some other clean way to override it?
No, I don’t want to prevent the package from updating, I need to freeze only one file.