Skip to content

Set MANPATH starting with : - #3890

Open
al0ksar wants to merge 1 commit into
nvm-sh:masterfrom
al0ksar:as-nvm-sh-fix
Open

Set MANPATH starting with :#3890
al0ksar wants to merge 1 commit into
nvm-sh:masterfrom
al0ksar:as-nvm-sh-fix

Conversation

@al0ksar

@al0ksar al0ksar commented Jul 27, 2026

Copy link
Copy Markdown

I recently updated from Ubuntu 24.04 to Ubuntu 26.04 and my man pages stopped working. Upon help from other people, found out that MANPATH should start with : instead of overriding the existing values by giving the path straight away. Found out the problem is in nvm.sh file and I just tried adding the : in the beginning, restarted the PC and it worked.

Before

alok@mylinux:~$ printenv | ag MANPATH
MANPATH=/home/alok/.nvm/versions/node/v24.15.0/share/man:/opt/testwell/ctc_v10.3.0/man
alok@mylinux:~$ man time
No manual entry for time

After

alok@mylinux:~$ printenv | ag MANPATH
MANPATH=:/home/alok/.nvm/versions/node/v24.15.0/share/man:/opt/testwell/ctc_v10.3.0/man
alok@mylinux:~$ man time
alok@mylinux:~$ 

It doesn't show but it did show man page for time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant