Your message dated Wed, 30 Jul 2025 17:51:34 +0000
with message-id <[email protected]>
and subject line Bug#1109333: Removed package(s) from unstable
has caused the Debian Bug report #1079780,
regarding apt.systemd.daily: ImportError: cannot import name 'HeaderWriteError' 
from 'email.errors'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1079780: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1079780
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 2.11
Severity: normal

Dear Maintainer,

I found the following python tracebacks in my syslog:

apt.systemd.daily: Traceback (most recent call last):
apt.systemd.daily:   File "/usr/bin/unattended-upgrade", line 2246, in main
apt.systemd.daily:     send_summary_mail(res.pkgs, res.success, res.result_str,
apt.systemd.daily:   File "/usr/bin/unattended-upgrade", line 1728, in 
send_summary_mail
apt.systemd.daily:     ret = _send_mail_using_sendmail(from_email, to_email, 
subject, body)
apt.systemd.daily:           
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
apt.systemd.daily:   File "/usr/bin/unattended-upgrade", line 1624, in 
_send_mail_using_sendmail
apt.systemd.daily:     sendmail.stdin.write(msg.as_string())
apt.systemd.daily:                          ^^^^^^^^^^^^^^^
apt.systemd.daily:   File "/usr/lib/python3.12/email/message.py", line 181, in 
as_string
apt.systemd.daily:     from email.generator import Generator
apt.systemd.daily:   File "/usr/lib/python3.12/email/generator.py", line 17, in 
<module>
apt.systemd.daily:     from email.errors import HeaderWriteError
apt.systemd.daily: ImportError: cannot import name 'HeaderWriteError' from 
'email.errors' (/usr/lib/python3.12/email/errors.py). Did you mean: 
'HeaderParseError'?
apt.systemd.daily: During handling of the above exception, another exception 
occurred:
apt.systemd.daily: Traceback (most recent call last):
apt.systemd.daily:   File "/usr/bin/unattended-upgrade", line 2757, in <module>
apt.systemd.daily:     sys.exit(main(options))
apt.systemd.daily:              ^^^^^^^^^^^^^
apt.systemd.daily:   File "/usr/bin/unattended-upgrade", line 2271, in main
apt.systemd.daily:     send_summary_mail(["<unknown>"], False, _("An error 
occurred"),
apt.systemd.daily:   File "/usr/bin/unattended-upgrade", line 1728, in 
send_summary_mail
apt.systemd.daily:     ret = _send_mail_using_sendmail(from_email, to_email, 
subject, body)
apt.systemd.daily:           
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
apt.systemd.daily:   File "/usr/bin/unattended-upgrade", line 1624, in 
_send_mail_using_sendmail
apt.systemd.daily:     sendmail.stdin.write(msg.as_string())
apt.systemd.daily:                          ^^^^^^^^^^^^^^^
apt.systemd.daily:   File "/usr/lib/python3.12/email/message.py", line 181, in 
as_string
apt.systemd.daily:     from email.generator import Generator
apt.systemd.daily:   File "/usr/lib/python3.12/email/generator.py", line 17, in 
<module>
apt.systemd.daily:     from email.errors import HeaderWriteError
apt.systemd.daily: ImportError: cannot import name 'HeaderWriteError' from 
'email.errors' (/usr/lib/python3.12/email/errors.py). Did you mean: 
'HeaderParseError'?

Regards,
Moritz

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.10.6-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages unattended-upgrades depends on:
ii  debconf [debconf-2.0]      1.5.87
ii  lsb-release                12.1-1
ii  python3                    3.12.5-1
ii  python3-apt                2.9.0+b1
ii  python3-dbus               1.3.2-5+b3
ii  python3-distro-info        1.7
ii  sysvinit-utils [lsb-base]  3.10-1
ii  ucf                        3.0043+nmu1
ii  xz-utils                   5.6.2-2

Versions of packages unattended-upgrades recommends:
ii  cron [cron-daemon]  3.0pl1-189
ii  systemd-sysv        256.5-1

Versions of packages unattended-upgrades suggests:
pn  bsd-mailx                          <none>
ii  needrestart                        3.7-2
ii  nullmailer [mail-transport-agent]  1:2.2+10~g7ed88a0-6
pn  powermgmt-base                     <none>
ii  python3-gi                         3.48.2-1+b1

-- debconf information:
  unattended-upgrades/enable_auto_updates: true

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


--- End Message ---
--- Begin Message ---
Version: 3.12.10-1+rm

Dear submitter,

as the package python3.12 has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1109333

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to