Le 10/06/2015 15:27, David Kalnischkies a écrit : > Theoretically we could change this (= to let the previous parsed file > effect the next one), but in practice I am not sure all this work would > have much point beside blowing up my head and the complexity meter. > > I remember talking about adding a warning if apt notices that an option > is set "too late" in another bugreport, but I can't find it ATM. Someday > I might even implemented it…
I think this would be a reasonable compromise. >> Additionally, since ".distrib" is the default extension added by >> dpkg-divert, maybe it should be added to the built-in list of silently >> ignored extensions. I can report a separate bug with severity wishlist >> if you think this is necessary. > > Actually, I you aren't objecting I would like to repropose this > bugreport to request this as the rest should be covered by other > bugreports already. I don't object at all. > I have to say that I wonder why you divert a config file through. > Changes to the file can be detected by dpkg and even if you remove it > dpkg will not add it again on a package upgrade. Well, you're right, and I don't do it any more for quite some time now, but when I started this practice some months ago, it seemed like a good idea. The goal was to have a backup of the default config file, as provided by the maintainer, which would be automatically updated during package upgrades, without interrupting said upgrades. Unfortunately, this also meant that I wouldn't be notified when the maintainer changed the default configuration, which, after further thought, turned out to be a more disturbing downside than having to compare/update the files manually after each upgrade. Regards, -- Raphaël Halimi
signature.asc
Description: OpenPGP digital signature