Project

General

Profile

Bug #13187

Libreoffice breaks man

Added by Gary Mills 4 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
OI-Userland
Target version:
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.

Also available in: Atom PDF