On 2023-10-21 Jonathan Kamens <j...@kamens.us> wrote:
> I just noticed this:

> On 10/21/23 01:39, Andreas Metzler wrote:
[...]
> > *save_seen=none*

> How did you end up with "save_seen=none" here? That's not the default, or at
> least it shouldn't be if everything is working as it should. The default
> setting is "save_seen=/var/lib/apt/listchanges".

Hmm.

[...]
> If you made that config change, and you don't want to see duplicate
> changelog entries, then you need to set it back to
> "save_seen=/var/lib/apt/listchanges". If you didn't make that change, then
> we need to figure out how it got made, and that's the bug that needs to be
> fixed. Let me know.
[...]

I think I know why. During testing 4.x at one point in time I did a
purge and reinstall and had to reanswer debconf questions and stumbled
upon this:

+---------------------------
| A record of already displayed changes can be kept in order to avoid
| displaying them again. This is useful, for example, when retrying a
| upgrade.
| 
| Should apt-listchanges skip changes that have already been seen?
+---------------------------

Which was rather mysterious to me. ;-) The only thing I could map to
interaction with apt-listchanges was "This is useful, for example, when
retrying a upgrade." - When doing an upgrade I am shown the changelog
and can abort. If I abort and retry later I would want to be shown the
new changelogs entries again since I want to know changes to be
implemented, i.e. the difference between installed version and new
version, no matter whether the entries were already shown in an aborted
upgrade.

So I understood this question was for this special subcase and answered
accordingly. I did not expext for apt-listchanges having a mode when
invoked by apt to always ancient changelogs.

I gather my understanding was incorrect. ;-)

However I still do not get it.
* Is there a useful scenario where someone would set save_seen=none in
  the apt stanza?
* Would I be reshown changelog entries when I had already seen them
  before but aborted the upgrade if save_seen=/var/lib/apt/listchanges
  was set?

cu Andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

Reply via email to