Bug#1127091: /usr/sbin/update-info-dir: Post-install processing of /etc/environment does not tolerate comments

Huey Chen <[email protected]>
Newsgroups gmane.linux.debian.devel.tetex
Message-ID <177034941254.178653.4140292032328818089.reportbug__34913.9929794305$1770349527$gmane$org@horsey-guy-debian-lenovo>
Package: install-info
Version: 7.2.90-1
Severity: normal
File: /usr/sbin/update-info-dir
X-Debbugs-Cc: [email protected]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

`update-info-dir` from post-installation of texinfo returns `/usr/sbin/update-info-dir: 22: export: # /etc/environment: bad variable name`. This occurs with a shell-style comment with a "#".

If comments are removed, `update-info-dir` works fine.

If this is intentional to not allow comments, then close this bug report.

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

Kernel: Linux 6.19-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_WARN
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages install-info depends on:
ii  libc6  2.43-1

install-info recommends no packages.

install-info suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTsigbt7ZnibbpjLSwmygukCVXDVgUCaYVjXwAKCRAmygukCVXD
Vtg4AQDgykN1T4Emr4m8b8PMLWdcC519zJ0Ik5yaUDCtvwhgCgD/WFX4Cdem1M8G
yqEn7h8cabvdZe1/iAgl2BcCSPW/qgE=
=AWQX
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.