On Mon, May 10, 2021 at 11:23:05AM +0200, Andreas Beckmann wrote: >> What is a good alternative? Can I “give it back” to mlocate in prerm if >> mlocate is installed? > Looks like a '$foo-locate-common' package is needed owning the conffile and > its manpage and then have ?locate depend on it. (What about plain locate? > Does it use the same config file, too? 'locate-common' looks like it would > belong to 'locate's namespace.) Perhaps updatedb-common?
I guess this is a pretty large change to make in a freeze, though. The file is only used for mlocate and plocate; locate.findutils doesn't have an updatedb.conf IIRC. The backup plan would possibly be that I move to updatedb.plocate.conf; I'm not sure whether I should cp updatedb.conf updatedb.plocate.conf in postinst (assuming it exists) or not. Or, yes, add breaks; there's limited value to having both installed now that plocate has stabilized. What do you think? /* Steinar */ -- Homepage: https://www.sesse.net/

