Control: forcemerge 879786 -1 On Sun, Aug 22, 2021 at 12:05:07PM -0400, Joey Hess wrote: > This could be fixed by making the apt-secure man page include, > in its "INFORMATION CHANGES" section, a mention of > apt-get update --allow-releaseinfo-change and/or of apt's ability to > prompt the user in this situation. The problem here is that apt-secure is – as it says early on – not about apt{,-get}, but about the whole family. The message pointing to it is equally printed for the whole family. Neither the message nor the manpage can really say: Append this commandline flag and be done. No such thing exists for e.g. GUIs like synaptics after all and it isn't even yet implemented in aptitude. And we can't really track the state of implementation in front ends either to update each of their supposed sections with how to check some checkboxes vs. click some buttons vs. type 'j' on the prompt vs. add a commandline flag vs. … its sort of the job of the front ends to do that and the apt-get manpage describes how. We can't even really mention the config options here like in some other cases as in this instance they can be completely overridden by the front end. Only the default implementation actually reacts to the defaults. Lastly, I actually envisioned that such changes would be accompanied with release notes – the code is there to show an URI for more information on the change, which could theoretically also describe how to react to all this with the preferred package manager of the involved distro/repo/whatever – but oh well, nobody ever wrote them or has set the Release file flag for it… I guess we could fiddle with the implementation (aka dirty hack) in the apt and especially apt-get front end to show an apt specific message about how you can add a command line flag. It feels like admitting defeat, but I guess I will have to bite this bullet at some point (again). Note through that the N: message pointing to the manpage and any message we could add are only shown if apt-get is connected to a terminal – aka in interactive use. In that case you could just save at least four keystrokes and have apt ask you interactively. ;) Best regards David Kalnischkies
Attachment:
signature.asc
Description: PGP signature