behaviour regression due to apt-listchanges

Bug #788519 reported by James Hunt
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-listchanges (Debian)
Fix Released
Unknown
apt-listchanges (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: apt

In Maverick, the following would prompt the user *once* (for the root password resulting from the initial 'sudo'):

$ sudo apt-get update && sudo apt-get -y upgrade

Now, due to apt-listchanges, if any changelogs need to be downloaded, apt will not complete until an admin manually pages through the changelog entries. This appears to be due to apt-listchanges, specifically /etc/apt/listchanges.conf which specifies:

  frontend=pager

To avoid regressing the traditional behaviour, a fix would be to change listchanges.conf to specify:

  frontend=text

James Hunt (jamesodhunt)
description: updated
James Hunt (jamesodhunt)
description: updated
Revision history for this message
Julian Andres Klode (juliank) wrote :

I don't see what apt has to do with apt-listchanges

affects: apt (Ubuntu) → apt-listchanges (Ubuntu)
Revision history for this message
James Hunt (jamesodhunt) wrote :

It seems that if you have apt-listchanges installed, "apt-get -y ..." isn't non-interactive anymore.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-listchanges (Ubuntu):
status: New → Confirmed
Revision history for this message
H.-Dirk Schmitt (dirk-computer42) wrote :

A workaround is the following command:

 env APT_LISTCHANGES_FRONTEND=none apt-get dist-upgrade -u -y

Changed in apt-listchanges (Debian):
status: Unknown → New
Revision history for this message
James Hunt (jamesodhunt) wrote :

APT_LISTCHANGES_FRONTEND only works I'm guessing if apt-listchanges is installed. I have now removed this package, but the behaviour is still the same since apt now calls sensible-pager automatically.

A work-around for this issue is to set PAGER=cat to make changelog viewing non-interactive again.

Changed in apt-listchanges (Debian):
status: New → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.1 KiB)

This bug was fixed in the package apt-listchanges - 2.89ubuntu1

---------------
apt-listchanges (2.89ubuntu1) yakkety; urgency=medium

  * Merge with Debian; remaining changes:
    - apt-listchanges/DebianFiles.py: only use apt-get changelog if which is
      changelogs or both, so not for news.

apt-listchanges (2.89) unstable; urgency=medium

  * Fix the 'none' frontend broken since version 2.86.
  * Introduce --select-frontend option for testing purposes
    to validate different frontends before release.
  * Quit early in the apt mode if there are no packages
    to process (this partially fixes #514865).
  * Standards-Version: 3.9.8 (no changes).

apt-listchanges (2.88) unstable; urgency=medium

  * Fix build reproducibility by forcing LC_ALL=C for docbook-to-man calls.
  * Update the previous debian/NEWS entry to mention renamed options.

apt-listchanges (2.87) unstable; urgency=medium

  * Use po4a for handling translations of man pages:
    + convert existing translations to *.po files, and unfuzzy them;
    + incorporate minor update of French man page by Alexandre Detiste
      from bug#796061;
    + make sure the Italian translation is actually installed;
    + update Makefiles, and add build dependency on po4a.
  * Fix encoding of non-ASCII mails (closes: #604922).
  * Convert http(s) and ftp(s) URLs into links in the browser frontend
    (closes: #587399). Additionally do the same CVE/CAN identifiers,
    and switch to using https for the Debian BTS links.
  * Introduce the --email-format option to optionally send mails in
    the HTML format (closes: #689731).
  * Rename the --save_seen option to --save-seen to match names of
    other command line options that contain hyphens rather than
    underscores (closes: #707667). Also rename --all to --show-all
    to match the name of the configuration file option. (Both older
    options are supported for backward compatibility, but no longer
    documented in the man page).
  * Enhance apt-listchanges(1) man page:
    + describe the format of the configuration file together with
      possible values of boolean options (see #707667);
    + document that browser, pager, and xterm settings can include
      arguments (closes: #784781);
    + disambiguate description of changes ordering (closes: #594844).
  * Introduce --ignore-apt-assume option to disable switching into
    non-interactive mode in case of `apt-get -y' (closes: #818712).
  * Switch to the non-interactive mode when DEBIAN_FRONTEND environment
    variable is set to "noninteractive". Add --ignore-debian-frontend
    to disable this.
  * Validate package names command line arguments (closes: #522700).
  * Try to prompt for confirmation when exception occurs (closes: #479530).
  * Update Polish translation.
  * Cleanup debian/rules a bit.
  * Drop useless build-dependency on libexpat1-dev.
  * Add debian/NEWS entry for recent changes.

apt-listchanges (2.86) unstable; urgency=medium

  * New maintainer (closes: #813245).
  * Merge binnmu entries with regular ones, not to display the low urgency
    binnmus before other possibly more important entries (closes: #746428).
  * If at least one package is being upgraded, do not...

Read more...

Changed in apt-listchanges (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.