Your message dated Thu, 05 Feb 2026 22:51:31 +0000
with message-id <[email protected]>
and subject line Bug#1114610: fixed in texinfo 7.2.90-1
has caused the Debian Bug report #1114610,
regarding post-installation script failed due to incorrect processing of
/etc/environment
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1114610: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1114610
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: update-info-dir
Version: 6.8-6+b1
After an "apt-get upgrade", I got this output:
```
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up install-info (6.8-6+b1) ...
/usr/sbin/update-info-dir: 4: /etc/environment: help: not found
dpkg: error processing package install-info (--configure):
installed install-info package post-installation script subprocess
returned error exit status 127
Errors were encountered while processing:
install-info
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
The script /usr/sbin/update-info-dir sources /etc/environment, but
/etc/environment is not a shell script.
Usually, this file is loaded by pam_env, from the man page PAM_ENV(7):
Second a file (/etc/environment by default) with simple KEY=VAL pairs
on separate lines will be read
Please note that /etc/environment does not contain any form of quoting
or escaping, nor can it contain comments.
Because the script /usr/sbin/update-info-dir sources /etc/environment,
if any of the values contains a space, it'll try executing part of it as
a command, which is not desirable.
Loading this file in a script correctly can be quiet tricky. I'm not
sure why it's done here at all, but I think the following should work:
```
exec 9<&0 </etc/environment
while read -r env
do if [ -n "$env" ]
then export "$env"
fi; done
exec 0<&9 9<&-
```
There is one more thing to consider. Some packages seam to distribute
config files stored in /etc/environment.d/.
On my system, they do not seam to get loaded, although I'm pretty sure
on distros where pam_env is built with econf support, they usually do
get loaded.
I also don't know where else /etc/environment and /etc/environment.d/
may get loaded nowadays, it's quiet possible other scripts may have
similar issues.
And I think the inconsistent use of /etc/environment.d/ in debian is a
bigger issue, a decision should be made what to do about it.
--- End Message ---
--- Begin Message ---
Source: texinfo
Source-Version: 7.2.90-1
Done: Hilmar Preuße <[email protected]>
We believe that the bug you reported is fixed in the latest version of
texinfo, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Hilmar Preuße <[email protected]> (supplier of updated texinfo package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 05 Feb 2026 23:00:19 +0100
Source: texinfo
Architecture: source
Version: 7.2.90-1
Distribution: experimental
Urgency: medium
Maintainer: Debian TeX Task Force <[email protected]>
Changed-By: Hilmar Preuße <[email protected]>
Closes: 1114610
Changes:
texinfo (7.2.90-1) experimental; urgency=medium
.
* New upstream (beta) version.
* Bump Standards version, no changes needed.
* Add patch from Daniel Abrecht <[email protected]> to stop
sourcing /etc/environment (Closes: #1114610).
Checksums-Sha1:
7cccd8e818045703d33d508cee8597061a1577cb 2507 texinfo_7.2.90-1.dsc
59d941497ed48344d5c71c119516d548bcd92c5b 6878264 texinfo_7.2.90.orig.tar.xz
48a6083005e27ae813f3827dbe3285db75a3f4cb 32772 texinfo_7.2.90-1.debian.tar.xz
436b5f7b66d65976fabe88c125caf00a3f68ec8b 5628 texinfo_7.2.90-1_source.buildinfo
Checksums-Sha256:
25e49312ca089258bb331e48932598b9cbd81574529e771a085b42d46b0da2f5 2507
texinfo_7.2.90-1.dsc
775b5b57c7cf9896f84aa7d1e6870885244c22b14e5aa152386097d5df06996b 6878264
texinfo_7.2.90.orig.tar.xz
8c0d01224ebf31069eb7637f82eab57f1bb15cea7df923b8a74ba577b923e63f 32772
texinfo_7.2.90-1.debian.tar.xz
69f523d1192d17da2cc8d25d078687387a6ec3fd546a1fab18e4582e529f5fe5 5628
texinfo_7.2.90-1_source.buildinfo
Files:
7b217f8873513d04ee84dfddf82236d8 2507 doc standard texinfo_7.2.90-1.dsc
578621f3df4be8215c692bbadd1720e8 6878264 doc standard
texinfo_7.2.90.orig.tar.xz
c29788a62fc4438dedb5d314e8b9aa87 32772 doc standard
texinfo_7.2.90-1.debian.tar.xz
769762085d346cc9a387c536fddb6204 5628 doc standard
texinfo_7.2.90-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmmFGYxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY5
NzFBNjBCRjlFNDZDODg3MTdGNUVBNEM2MjY1ODQ2QUJFMDJDOEIACgkQxiZYRqvg
LIvJTA/+OpHJYtBsAMpXGQ/zAPPhbqdM7JfphvVJUm4Rok8ai3EXyFzZqF+ERR+y
HRno5ZSw77qq2bHVGV8zkvkGpKNUp2NcQTT3cbvtE6uYyjnjeSJjOLIDg0QYqUKn
a4w8JpkhZRZmk1ZLe8thGNo5WRhC7e5O5fFHAWg8YwgWT68sr97G70rdxtktOrzN
GrSxDpz8cspLkvmsCGDYoZ3YRtBk1Wqv/18yevjGHzTczX0jM+ead2m7VuAwwOsQ
yd8Btf2LYIQ511naLMy1rYEkV8eUn2fFCtC493Diafd04bK4rvKQYoKC9X/szWkV
h9HPDBzrzHAqt/hNx1/X4+3fUn9vJvXDaPullvVazZpAZuHhq+iOxmgauXtrPr9s
POLiW7oEVCTUWFk2Z7kpbBu7TWTUcDkXEOo14q0Yu8Y/FdZ2Fb7KclFJN7amir3J
ndv/mf4UZy6QnhdaC3fRCEB9oovUQ4oF+u6K/Pz6hcLvj4k0JAo59pxNaJt8mlH7
1toQf4qc+BvAXzzFezEIfTY1X0WswdRzhPRz5k/DFFarIaNPtK0KO39yQmBWIF4H
wp4ea/ZNTtIfyUUaESW3CKwN1R0kZXEqEf0SltwJZc64KMLKD4Z1ztAo8j44LTLg
CFpFxhbT6M5pKEJ9SjJMr4hBR/q0t1r0z2JTQVIocXr++0sZpaY=
=y8nV
-----END PGP SIGNATURE-----
pgpYOn1H0aSGi.pgp
Description: PGP signature
--- End Message ---