#1082896 Please provide a configuration option to set an environment variable

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Josh Triplett
Date:
2024-09-28 01:45:01 UTC
Severity:
normal
#1082896#3
Date:
2024-09-27 20:22:07 UTC
From:
To:
I'd love to be able to set an option in dpkg.cfg.d that causes dpkg to
set an environment variable when running any commands. This would make
it easy to, for instance, always set DEBIAN_FRONTEND=noninteractive for
apt/dpkg invocations, while not setting it systemwide in
/etc/environment.

#1082896#8
Date:
2024-09-28 01:41:11 UTC
From:
To:
I'm not sure that would be effective for debconf though, given that by
default it is doing pre-configuration via an apt hook.

Thanks,
Guillem