I have installed and configured the apt-listchanges
package to display changelogs from updates.
Output of cat /etc/apt/listchanges.conf
(configured according to Ubuntu manpage for apt-listchanges
):
[apt]
frontend=xterm-pager
email_address=
confirm=false
which=both
It's a bit difficult to test different configurations, because it relies on updates coming through. So far, however, no configuration results in an output that remains on the screen after the update is complete.
For example:
- if I choose the browser option and Firefox is already running, it fails
- if I choose the xterm or GTK window option, the new window appears, but disappears when the update is complete
- if I choose the option to display text in the same terminal, even without the option to confirm before applying, I must quit the display before the update continues
- if I use Update Manager rather than the command line, it never works and throws an error (although the update is applied)
How can I configure apt-listchanges
and apt upgrade
(or Update Manager) to:
- download and apply updates without interruption or intervention required (that is, no confirmation prompt from apt-listchanges)
- display the news/changelogs on the screen (same terminal, different terminal, GTK window, browser window, Update Manager, I don't mind, but not email)
- have the display persist beyond the completion of the update
(As a last ditch attempt, output to a text file wouldn't be a terrible option.)
tee -a
as a pager? – lofidevops Jun 09 '17 at 12:22