← Back to team overview

touch-packages team mailing list archive

[Bug 1527106] Re: Fatal exception failure of unattended-upgrade

 

The problem only shows up when the following line has been uncommented
in the file /etc/apt/apt.conf.d/50unattended-upgrades

Unattended-Upgrade::Mail "root";

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1527106

Title:
  Fatal exception failure of unattended-upgrade

Status in unattended-upgrades package in Ubuntu:
  Incomplete

Bug description:
  Every morning, since I upgraded to Ubuntu 15.10, I get a mail (root)
  reporting a fatal exception in unatteded-upgrade containing the
  following.

  /etc/cron.daily/apt:
  Exception: unsupported operand type(s) for %: 'bytes' and 'tuple'
  Traceback (most recent call last):
    File "/usr/bin/unattended-upgrade", line 1435, in <module>
      main(options)
    File "/usr/bin/unattended-upgrade", line 1382, in main
      pkgs, pkg_install_success, pkgs_kept_back, mem_log, log_content)
    File "/usr/bin/unattended-upgrade", line 815, in send_summary_mail
      host(), res)
  TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'

  As a consequence no automatic updates are performed anymore, including
  security updates. For this reason I flag this as a security
  vulnerability although it is only indirect.

  Manual updates is still working.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1527106/+subscriptions