volitank / nala

Nala is a front-end for libapt-pkg.
GNU General Public License v3.0
1.33k stars 49 forks source link

man page not displaying #40

Open mooncraft opened 2 months ago

mooncraft commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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 commented 2 months ago

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