On Sun, Jul 26, 2015 at 09:23:23AM +0100, Antonio Marcos López Alonso wrote: > Package: unattended-upgrades > Version: 0.86.2 > Severity: normal
Thanks for your bugreport. > --- Please enter the report below this line. --- > > Dear maintainers: > > APT complains on some operand error due to unattended-upgrades: > > /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 816, in send_summary_mail > body = _("Unattended upgrade returned: %s\n\n") % res > TypeError: unsupported operand type(s) for %: 'bytes' and 'bool' I tried to reproduce this in various way, but failed so far. Is this reproducable if you run unattended-upgrades manually? Or only via cron? Anything special in your env or language environment or python environment that might help me to find a way to reproduce? If you can reproduct, could you add debug lines like: """ print(type(res)) print(type(_("Unattended upgrade returned: %s\n\n"))) """ right before the line that crashes and send me the output? Thanks, Michael > Regards, > Antonio > > --- System information. --- > Architecture: amd64 > Kernel: Linux 4.0.0-2-amd64 > > Debian Release: stretch/sid > 900 testing security.debian.org > 900 testing ftp.es.debian.org > 800 stable update.devolo.com > 800 stable kxstudio.linuxaudio.org > 800 stable dl.google.com > 500 trusty ppa.launchpad.net > 500 sid linux.dropbox.com > 500 lucid ppa.launchpad.net > > --- Package information. --- > Package's Depends field is empty. > > Package's Recommends field is empty. > > Package's Suggests field is empty.