Project

General

Profile

Bug #13187

Libreoffice breaks man

Added by Gary Mills about 2 months ago. Updated 30 days 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.

#1

Updated by Gary Mills about 1 month 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.

#2

Updated by Andreas Wacknitz about 1 month ago

OI #6144 has been integrated. Can we close this ticket?

#3

Updated by Gary Mills 30 days ago

  • Status changed from New to Closed

I'll see if I can do it.

Also available in: Atom PDF