• Bug#1082896: Please provide a configuration option to set an environmen

    From Josh Triplett@1:229/2 to All on Fri Sep 27 22:30:01 2024
    XPost: linux.debian.bugs.dist
    From: josh@joshtriplett.org

    Package: dpkg
    Version: 1.22.11
    Severity: wishlist
    X-Debbugs-Cc: josh@joshtriplett.org

    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.

    -- Package-specific info:

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unstable
    APT policy: (500, 'unstable'), (1, 'experimental')
    Architecture: amd64 (x86_64)
    Foreign Architectures: arm64

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

    Versions of packages dpkg depends on:
    ii libbz2-1.0 1.0.8-6
    ii libc6 2.40-3
    ii liblzma5 5.6.2-2
    ii libmd0 1.1.0-2
    ii libselinux1 3.7-3
    ii libzstd1 1.5.6+dfsg-1
    ii tar 1.35+dfsg-3
    ii zlib1g 1:1.3.dfsg+really1.3.1-1

    dpkg recommends no packages.

    Versions of packages dpkg suggests:
    ii apt 2.9.8
    pn debsig-verify <none>

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Guillem Jover@1:229/2 to Josh Triplett on Sat Sep 28 03:50:01 2024
    XPost: linux.debian.bugs.dist
    From: guillem@debian.org

    On Fri, 2024-09-27 at 13:22:07 -0700, Josh Triplett wrote:
    Package: dpkg
    Version: 1.22.11
    Severity: wishlist
    X-Debbugs-Cc: josh@joshtriplett.org

    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.

    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

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)