Exception: unsupported operand type(s) for %: 'bytes' and 'tuple'

Bug #1519816 reported by Ralf Hildebrandt
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
APT
New
Unknown
apt (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I'm getting cron mails containing errors:

Subject: Cron <root@www> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
...
/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 812, in send_summary_mail
    host(), res)
TypeError: unsupported operand type(s) for %: 'bytes' and 'tuple'
~

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: apt 1.0.10.2ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Wed Nov 25 14:08:48 2015
InstallationDate: Installed on 2011-02-22 (1736 days ago)
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release amd64 (20101007)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: Upgraded to wily on 2015-10-22 (34 days ago)

Revision history for this message
Ralf Hildebrandt (ralf-hildebrandt) wrote :
Revision history for this message
S. W. (cebit2006) wrote :

+1

Revision history for this message
S. W. (cebit2006) wrote :

seems to be related to that upstream issue

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=793663

we have in wily:
unattended-upgrades/wily,now 0.86.2ubuntu1 all [installiert]

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

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

Changed in apt (Ubuntu):
status: New → Confirmed
Changed in apt (Ubuntu):
importance: Undecided → Medium
Changed in apt:
status: Unknown → New
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.