The user environment is not copied over to the sudo environment (by
default except with -E is passed or an override is added). What is
likely happening is apt itself (or another debian maintainer script) is
setting the errors variable before the python3 postinst script runs.
Causing the error and entirely out of control of the user. The issue I
found should be fixed asap. It is the only way for the script to exit
without actually detecting any errors (is: without any "error running
python pre-rtupdate hook" output)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078356

Title:
  python3 preinst failure to run pre-rtupdate hooks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to