Your message dated Wed, 01 Jan 2025 17:50:45 +0000
with message-id <e1tt2rl-00c84f...@fasolo.debian.org>
and subject line Bug#940151: fixed in unattended-upgrades 2.12
has caused the Debian Bug report #940151,
regarding unattended-upgrades: issue with Debian Backports Origins
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 ow...@bugs.debian.org
immediately.)
--
940151: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=940151
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 1.11.2
Severity: normal
Dear Maintainer,
i configure my unattended-upgrade conf with following Origins:
Unattended-Upgrade::Allowed-Origins {
"o=Debian, a=stable";
"o=Debian Backports, a=buster-backports"; };
sudo unattended-upgrade -d --dry-run go to error:
Ein Fehler ist aufgetreten: too many values to unpack (expected 2) Traceback
(most recent call last):
File "/usr/bin/unattended-upgrade", line 1663, in main
install_start_time)
File "/usr/bin/unattended-upgrade", line 1758, in run
allowed_origins = get_allowed_origins()
File "/usr/bin/unattended-upgrade", line 537, in get_allowed_origins
allowed_origins = get_allowed_origins_legacy()
File "/usr/bin/unattended-upgrade", line 516, in get_allowed_origins_legacy
(distro_id, distro_codename) = s.split()
ValueError: too many values to unpack (expected 2) Extracting content from
/var/log/unattended-upgrades/unattended-upgrades-dpkg.log since 2019-09-12
12:36:26 Traceback (most recent call last):
File "/usr/bin/unattended-upgrade", line 2195, in <module>
sys.exit(main(options))
File "/usr/bin/unattended-upgrade", line 1663, in main
install_start_time)
File "/usr/bin/unattended-upgrade", line 1758, in run
allowed_origins = get_allowed_origins()
File "/usr/bin/unattended-upgrade", line 537, in get_allowed_origins
allowed_origins = get_allowed_origins_legacy()
File "/usr/bin/unattended-upgrade", line 516, in get_allowed_origins_legacy
(distro_id, distro_codename) = s.split()
ValueError: too many values to unpack (expected 2)
I patched the /usr/bin/unattended-upgrade script on line 516
- (distro_id, distro_codename) = s.split()
+ (distro_id, distro_codename) = s.split(", ")
And unattended-upgrade runs without errors.
-- System Information:
Debian Release: 10.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8),
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
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.71
ii lsb-base 10.2019051400
ii lsb-release 10.2019051400
ii python3 3.7.3-1
ii python3-apt 1.8.4
ii python3-dbus 1.2.8-3
ii python3-distro-info 0.21
ii ucf 3.0038+nmu1
ii xz-utils 5.2.4-1
Versions of packages unattended-upgrades recommends:
ii cron [cron-daemon] 3.0pl1-134
ii systemd-sysv 241-7~deb10u1
Versions of packages unattended-upgrades suggests:
pn bsd-mailx <none>
ii needrestart 3.4-5
ii postfix [mail-transport-agent] 3.4.5-1
pn powermgmt-base <none>
ii python3-gi 3.30.4-1
-- debconf information:
* unattended-upgrades/enable_auto_updates: false
--- End Message ---
--- Begin Message ---
Source: unattended-upgrades
Source-Version: 2.12
Done: Michael Vogt <m...@debian.org>
We believe that the bug you reported is fixed in the latest version of
unattended-upgrades, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 940...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Vogt <m...@debian.org> (supplier of updated unattended-upgrades package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 01 Jan 2025 18:22:25 +0100
Source: unattended-upgrades
Architecture: source
Version: 2.12
Distribution: unstable
Urgency: medium
Maintainer: Michael Vogt <m...@debian.org>
Changed-By: Michael Vogt <m...@debian.org>
Closes: 940151 1029026 1031852 1033760 1073745
Changes:
unattended-upgrades (2.12) unstable; urgency=medium
.
[ middlingphys ]
* update japanese translation
.
[ Chris Hofstaedtler ]
* Install systemd-sleep part into /usr/lib (Closes: #1073745)
.
[ Adam Chovanec ]
* document missing option in the readme
.
[ Michael Vogt ]
* u-u: supress "DeprecationWarning" about fork() and multithreading
* test: create fake etc/apt/preferences.d to silence test warnings
* u-u: import "email.genators" package early as workaround
* data/50unattended-upgrades.md5sum: Update for config file changes
.
[ Kenyon Ralph ]
* unattended-upgrade-shutdown: fix typo in documentation
.
[ Wesley Schwengle ]
* Correct examples for Debian backports (Closes: #940151)
.
[ Marekjdj ]
* Fixed small typo in '50unattended-upgrades' config files.
.
[ Remus-Gabriel Chelu ]
* [INTL:ro] Romanian debconf templates translation of unattended-upgrades
(Closes: #1033760)
.
[ Atila KOÇ ]
* [INTL:tr] turkish debconf translation update (Closes: #1031852)
.
[ Camaleón ]
* [INTL:es] Spanish translation of the debconf template (Closes: #1029026)
Checksums-Sha1:
56f66941e800b542055465f80a6424d53db1b830 1860 unattended-upgrades_2.12.dsc
ddfea169e8da566f1d016276321516f8681b00c2 132188 unattended-upgrades_2.12.tar.xz
2b2622186e3cc18dc9629a5cb491f2044ca3c3fc 8571
unattended-upgrades_2.12_source.buildinfo
Checksums-Sha256:
9cb56901bb833365ecdea693e3652a0679224560950c0e065602c2b1e2a8e8e8 1860
unattended-upgrades_2.12.dsc
effc658d7f8baf3e7436cb8943821c8a72f20db0b3e87268d4b51424b9d9ca01 132188
unattended-upgrades_2.12.tar.xz
8af49ea0d388e35712a2421b8ed56e6a6b61382dc168243e964a6398c9a1c84e 8571
unattended-upgrades_2.12_source.buildinfo
Files:
ed604b43c9604de82518db6dce6c13d1 1860 admin optional
unattended-upgrades_2.12.dsc
979ba8b7ecef87f90c9a0e0d45a8771e 132188 admin optional
unattended-upgrades_2.12.tar.xz
cb4b639806bad3019f799e26c0706e22 8571 admin optional
unattended-upgrades_2.12_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE2mxnVNiIdibNBqEomMq7Or1MpZ4FAmd1ez4ACgkQmMq7Or1M
pZ6+RA/9G78FwbO0AQbS9bsXCTC53oh9YDewP3rfZYaF0TpDL6GBFV5CWFsNisn8
EvQI4OAUgA58dTsBnoadjxMAHBpMhniTiRzGX6tmpm+Jzn8SILYUkW0Xo0npkDGH
qIwRNlvTx6v3H1lRzMUxnmplHylyMStkW8jIMxxHQw5oDpOd9wSBVHCARXWjRL50
4x4pJqNAFKdE+PFQIg0jIKZ04E0OUjR4jqFimzj0oVSewjkgLKY6T2vXE6+Ncdei
uv9ccAPicm8DVFhF4gkZq7EiLS3NEYdotq2A6YJ2IyWfBh+HDp7/+qGwdtPX7zIK
4uyAST3BcrDdDwjpvdDsBZjp6UsWtmD/w926l4KI8fGYNNb1dz2wXIFbOCDMhmNy
Kv4pcAWn3UjdOktw551x71sRIv2ZENNkghFpPADKhzg39ZCLhtWS8xYr5F4vfHIA
AUt2kEaI70/SKQuSlGnSRuimRl3v0zaspYBWNSXLTldLdmz2hQa0CZZPN+zYNQpK
Fk7MIKGvD2AoDwSoMGNXyNkYNDS3p5Lo+V+dFo2wppKhPG501oQ9ApKX/tVaWiRz
CskhXXE/ZmI7phf//8QZTY9dutHMRM5tShl6Mty+6OczRDfTap1ZVbBazUkRq4BG
Pv0791eEnM8IbRBxXNUPlAr8XVgMLZ5eTTOc/yFmkEO4ssOovCQ=
=IJW1
-----END PGP SIGNATURE-----
pgpPXfXVfh1ES.pgp
Description: PGP signature
--- End Message ---