* Paul Wise <p...@debian.org> [221014 01:35]: > On Thu, 2022-10-13 at 17:35 +0200, Julien Cristau wrote: > > > I'd prefer if we could make things work vs making things fail, > > however loudly. > > There seem to be a few ways to deal with this transition: > > 2. Add some code somewhere to automatically modify the apt sources, > somehow ensure that code is run by all Debian users and hope that other > automated processes (like ansible/puppet) don't overwrite those changes > and hope that users aren't storing apt sources config in packages, > which would mean conffile prompts after the modification happens.
Actually, I think this would work really well. Do not modify any existing sources.list; drop a new file in sources.list.d. This file can have a default name that includes "firmware-nonfree" so is highly unlikely to exist, but if it does, add "-NNN" suffix with the smallest numeric NNN that does not exist. Of course, the file would only be added if the current sources do not include that component, which would _really_ decrease the probability of a file name conflict to be about the same as the probability of the earth being destroyed by an asteroid. ...Marvin