1

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.)

lofidevops
  • 20,924

1 Answers1

-1

Read how to configure apt-listchanges


before upgrade:

apt-get changelog <package name>

after upgrade:

To list all packages installed on the system, from a terminal prompt type (large output):

dpkg -l

To pipe the output through grep to see if a specific package is installed:

dpkg -l | grep <package name>

To list the files installed by a package:

dpkg -L <package name>

To identify which package was installed a file:

dpkg -S /somedir/some.file

Read more about dpkg or man dpkg.


swift
  • 3,281
  • 2
  • 23
  • 46
  • I thought what none limits to run apt-get changelog <package name> immediately before apt update && apt upgrade. Cause it is the same changes. – swift Jul 23 '14 at 13:10
  • look updated about apt-listchanges – swift Jul 23 '14 at 13:23
  • hey man )) what version of Ubuntu you are uses?

    Problem with your Update Manager resolvable by ONE clean update && upgrade (or dist-upgrade) from Terminal. Looks like you can not end session or forget to reboot ...

    – swift Jul 23 '14 at 14:51
  • hi swift, I've removed my comments and focused the question on apt-listchanges - I'm definitely looking for a configuration-based answer here - thanks! – lofidevops Jul 26 '14 at 09:55