[Bug 882084] [NEW] apt-extracttemplates(1) prints inappropriate \r characters in unattended-upgrades

Daniel Richard G. skunk at iskunk.org
Wed Oct 26 15:08:52 UTC 2011


Public bug reported:

This concerns apt-utils 0.8.16~exp5ubuntu13 in Oneiric, but may
potentially be an unattended-upgrades bug.

This morning, I received an unattended-updates log message in my work
mail. Curiously, Outlook Web Access did not display the log text, but
instead gave me a single .bin file to download. This .bin file contained
the plain text of the upgrade log, with the exception of the following
bit, as seen in less(1):

----8<----
 system-config-printer-gnome system-config-printer-udev tzdata 
 tzdata-java ubufox update-manager update-manager-core vinagre 
 xul-ext-ubufox 
Packages with upgradable origin but kept back:
 software-center 

Package installation log:
^MExtracting templates from packages: 54%^MExtracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 225967 files and directories currently installed.)
Preparing to replace libcups2 1.5.0-8ubuntu1 (using .../libcups2_1.5.0-8ubuntu3_amd64.deb) ...
---->8----

I've never seen the "Extracting templates from packages" line in an
unattended-upgrades mail message before. I suspect apt-
extracttemplates(1) may be thinking it's writing output to a terminal,
and not a regular file.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/882084

Title:
  apt-extracttemplates(1) prints inappropriate \r characters in
  unattended-upgrades

Status in “apt” package in Ubuntu:
  New

Bug description:
  This concerns apt-utils 0.8.16~exp5ubuntu13 in Oneiric, but may
  potentially be an unattended-upgrades bug.

  This morning, I received an unattended-updates log message in my work
  mail. Curiously, Outlook Web Access did not display the log text, but
  instead gave me a single .bin file to download. This .bin file
  contained the plain text of the upgrade log, with the exception of the
  following bit, as seen in less(1):

  ----8<----
   system-config-printer-gnome system-config-printer-udev tzdata 
   tzdata-java ubufox update-manager update-manager-core vinagre 
   xul-ext-ubufox 
  Packages with upgradable origin but kept back:
   software-center 

  Package installation log:
  ^MExtracting templates from packages: 54%^MExtracting templates from packages: 100%
  Preconfiguring packages ...
  (Reading database ... 225967 files and directories currently installed.)
  Preparing to replace libcups2 1.5.0-8ubuntu1 (using .../libcups2_1.5.0-8ubuntu3_amd64.deb) ...
  ---->8----

  I've never seen the "Extracting templates from packages" line in an
  unattended-upgrades mail message before. I suspect apt-
  extracttemplates(1) may be thinking it's writing output to a terminal,
  and not a regular file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/882084/+subscriptions




More information about the foundations-bugs mailing list