Package: man-db Version: 2.10.2-3 Severity: important Tags: l10n X-Debbugs-Cc: Mario Blättermann <[email protected]>, "Dr. Tobias Quathamer" <[email protected]>
Hello Colin,
I'm the Debian maintainer of manpages-l10n, I put my co-maintainer and
manpages-l10n upstream in CC.
I observed the following unexpected behaviour:
Some man pages can be called under various names. Take, for example,
nss-mymachines and libnss_mymachines.so.2. In the file system, there
is only nss-mymachines.8.gz, but if I install manpages-de (this is
assumed for the rest of this bug report) I can issue
man nss-mymachines
and
man libnss_mymachines.so.2.
to read the German man page.
I do not have the English version installed currently, thus, as
expected,
LC_ALL=C man nss-mymachines
does not find anything.
This is the part that works (as expected).
Now let's take a different example, namely systemd-importd.service
and systemd-importd.
Again manpages-de ships only one file, i.e.
/usr/share/man/de/man8/systemd-importd.service.8.gz
With
man systemd-importd.service
I'm able to read the German version, however, with
man systemd-importd
I get the english version (which exists on my system, different from
the previous example).
If I manually enter (as root)
ln -s /usr/share/man/de/man8/systemd-importd.service.8.gz
/usr/share/man/de/man8/systemd-importd.8.gz
then it works as intended, i.e. I get the German page in both cases.
For information:
helge@twentytwo:/usr/share/man/de/man8$ lexgrog nss-myhostname.8.gz
nss-myhostname.8.gz: "nss-myhostname - Rechnernamenauflösung für die lokal
konfigurierten Systemrechnernamen"
nss-myhostname.8.gz: "libnss_myhostname.so.2 - Rechnernamenauflösung für die
lokal konfigurierten Systemrechnernamen"
helge@twentytwo:/usr/share/man/de/man8$ lexgrog systemd-importd.service.8.gz
systemd-importd.service.8.gz: "systemd-importd.service - VM- und
Container-Abbild-Import und -Exportdienst"
systemd-importd.service.8.gz: "systemd-importd - VM- und
Container-Abbild-Import und -Exportdienst"
Thus for the English → English man page the alias system works, but it
does not work for German → German, if the English exists. If it does
not exist, then it works.
I tried to understand where these links are processed, but
unfortunately I did not manage to do so.
I really would like to avoid adding tons of links in manpages-l10n for
each man page with aliases and each translation (we do ship quite a
few man pages and translations).
I chose the severity, as this bug prevents all users with localized
man pages to read them if they happen to call the "wrong" alias. Thus
impacting quite a bit manpages-l10n.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel taint flags: TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to de_DE.UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages man-db depends on:
ii bsdextrautils 2.38.1-1
ii bsdmainutils 12.1.7+nmu3
ii debconf [debconf-2.0] 1.5.79
ii groff-base 1.22.4-8
ii libc6 2.34-8
ii libgdbm6 1.23-2
ii libpipeline1 1.5.6-3
ii libseccomp2 2.5.4-1+b1
ii zlib1g 1:1.2.11.dfsg-4.1
man-db recommends no packages.
Versions of packages man-db suggests:
ii apparmor 3.0.7-1
ii chromium [www-browser] 105.0.5195.125-1
ii firefox-esr [www-browser] 102.2.0esr-1
ii groff 1.22.4-8
ii konqueror [www-browser] 4:21.12.3-1
ii less 590-1
ii links [www-browser] 2.27-1+b1
ii lynx [www-browser] 2.9.0dev.10-1+b1
ii sugar-browse-activity [www-browser] 207-1
ii w3m [www-browser] 0.5.3+git20220429-1+b1
-- debconf information:
man-db/install-setuid: false
man-db/auto-update: true
--
Dr. Helge Kreutzmann [email protected]
Dipl.-Phys. http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: PGP signature

