This bug was fixed in the package apt - 1.6.13
---
apt (1.6.13) bionic; urgency=medium
[ David Kalnischkies ]
* Fix incorrect base64 encoding due to int promotion (LP: #1916050)
* Harden test for no new acquires after transaction abort (Closes: #984966)
(LP: #1918920)
[
** Description changed:
[Impact]
- * unattended-upgrades --help crashes in apt.systemd.daily script when
+ * unattended-upgrades --help crashes in apt.systemd.daily script when
locale is not in UTF-8.
[Test Case]
In the fixed case no crash is observed.
rbalint@yogi:~$ lxc
I installed 1.6.13 and could verify that the regression wrt --help is
fixed. unattended-upgrades still logged a lot of errors because for some
reason gettext returned utf8 despite being on non-UTF-8 locale, but
that's all from the APT side.
** Tags removed: verification-needed
Log:
+ /usr/lib/apt/apt.systemd.daily lock_is_held update
---
Hello errors.ubuntu.com, or anyone else affected,
Accepted apt into bionic-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/apt/1.6.13 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
** Description changed:
+ [Impact]
+
+ * unattended-upgrades --help crashes in apt.systemd.daily script when
+ locale is not in UTF-8.
+
[Test Case]
+
+ In the fixed case no crash is observed.
rbalint@yogi:~$ lxc launch ubuntu:18.04 bb-lp-1806076
Creating bb-lp-1806076
Starting
** Changed in: unattended-upgrades (Ubuntu Xenial)
Status: New => Won't Fix
** Changed in: unattended-upgrades (Ubuntu Bionic)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in
** Changed in: apt (Ubuntu Bionic)
Status: New => Triaged
--
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/1806076
Title:
unattended-upgrade --help raises
** Changed in: unattended-upgrades (Ubuntu)
Status: New => Won't Fix
--
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/1806076
Title:
unattended-upgrade --help raises
** Also affects: apt (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: unattended-upgrades (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: apt (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: unattended-upgrades
This bug was fixed in the package apt - 1.8.0~alpha3
---
apt (1.8.0~alpha3) unstable; urgency=medium
[ Manuel A. Fernandez Montecelo ]
* Remove "Ultimedia" config for Acquire::Changelogs
* Remove "Tanglu" config for Acquire::Changelogs and as vendor
[ Julian Andres Klode ]
** Changed in: apt (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1806076
Title:
unattended-upgrade --help raises
** Description changed:
[Test Case]
rbalint@yogi:~$ lxc launch ubuntu:18.04 bb-lp-1806076
Creating bb-lp-1806076
Starting bb-lp-1806076
- rbalint@yogi:~$ lxc shell bb-lp-1806076
+ rbalint@yogi:~$ lxc shell bb-lp-1806076
mesg: ttyname failed: No such device
root@bb-lp-1806076:~#
Unattended-upgrades does not print to stdout by default thus it can
operate properly in the environments triggering the bug, but
apt.systemd.daily executes u-u --help that may crash.
To avoid the crash apt could set LC_ALL=C.UTF8 when running unattended-
upgrades --help as proposed in the MR
** Summary changed:
-
/usr/bin/unattended-upgrade:UnicodeEncodeError:/usr/bin/unattended-upgrade@1983:parse_args:_process_args:_process_long_opt:process:take_action:print_help
+ unattended-upgrade --help raises UnicodeEncodeError when stdout encoding is
ascii
--
You received this bug
15 matches
Mail list logo