Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

man page not displaying #40

Open
mooncraft opened this issue Apr 19, 2024 · 3 comments
Open

man page not displaying #40

mooncraft opened this issue Apr 19, 2024 · 3 comments

Comments

@mooncraft
Copy link

I have installed and uninstalled Nala multiple times now via 'apt install nala' and entering the command 'nala' returns

~ $ nala
man: No entry for nala in the manual.

However, nala --help does display the general help page but the help pages for the individual commands are not displaying.

Ex.

~ $ nala history --help
man: No entry for nala-history in the manual.

I am still relatively new to the Linux operating system, so maybe I'm being an idiot here but it seems like at least upon installation I should be able to get working manpages. I have tested man with coreutlis and standard output to terminal works no problem.

~ $ nala --version
nala 0.15.1

@volitank
Copy link
Owner

Hmm. You're likely not an idiot, I'm not really sure how this would get messed up though. So I guess we can start by seeing if the man pages actually exist on disk. Can you run find /usr/share/man/man8/ | grep nala and paste the output?

Expected behavior is you should see several nala-{command}.8.gz files.

@mooncraft
Copy link
Author

find /usr/share/man/man8/ | grep nala

find: ‘/usr/share/man/man8/’: No such file or directory

I checked, no gzip files for nala

For what it's worth I'm on termux, here is my full path to man8

pwd
/data/data/com.termux/files/usr/share/man/man8

@volitank
Copy link
Owner

Oh Termux does make a difference. I would speak to the Termux packagers about this as I don't do this.

But maybe I should add a check so if the man page doesn't exist it prints the regular help info. Not everyone has man on their systems, minimal debian/ubuntu come without it as well I believe

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

No branches or pull requests

2 participants