← Back to team overview

touch-packages team mailing list archive

[Bug 1519816] [NEW] Exception: unsupported operand type(s) for %: 'bytes' and 'tuple'

 

Public bug reported:

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)

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


** Tags: amd64 apport-bug wily

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

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

Status in apt package in Ubuntu:
  New

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)

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


Follow ups