Bug #13187
Libreoffice breaks man
Start date:
Due date:
% Done:
0%
Estimated time:
Difficulty:
Bite-size
Tags:
Description
After installing the package desktop/office/libreoffice on one of my systems, I got this peculiar behavior:
$ man -l cat No manual entry for cat $ env | grep MANPATH MANPATH=::
This environment setting seems to originate with the file /etc/profile.d/modules.sh that is sourced by every login shell, and contains these lines:
MANPATH='::' export MANPATH
Setting the manual path variable to two colons seems to confuse the man command. What is the script attempting to do? It's delivered in the package/environment-modules package, by the way.
Updated by Gary Mills 3 months ago
I've now created a Github PR that fixes this problem. The number is 6163 . All it does is to remove the two lines in modules.sh that set and export MANPATH to the shell environment.