ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.97k stars 893 forks source link

install man-db-2.9.4-r0 error #1800

Open zhouxingoddog312 opened 2 years ago

zhouxingoddog312 commented 2 years ago

31190594-46AA-493D-AF2A-CD787D674514

I want to view the manpages. But it doesn’t seem to be working properly.:rofl:

NitroNils commented 2 years ago

Same issue - ´bad system call´ on man-commands.

zhouxingoddog312 commented 2 years ago

Same issue - ´bad system call´ on man-commands.

Is there any way around this?:sunny:

NitroNils commented 2 years ago

I did ´apk add man-pages´ too, but same error.

0x7BA6 commented 1 year ago

As a workaround can recommend using mandoc package instead of man-db works fine on my end

iSH 1.2.3 build 298
mandoc-1.14.5-r5
zhouxingoddog312 commented 1 year ago

As a workaround can recommend using mandoc package instead of man-db works fine on my end

iSH 1.2.3 build 298
mandoc-1.14.5-r5

This is useful, thank:blush:

NitroNils commented 1 year ago

I have the same version of iSH and man works with mandoc, but there are many entries missing: ssh, ls, man, ps, ksh, etc. All of which are installed.

I did an #ls -R /usr/share/man and found many - like xattr, break, chroot, idle, etc.

Seems like something's missing here. Can it be because the basic utilities are included in busybox (no man entry)?

PS: Here's a head(1) of my man1 entries:


usr/share/man/man1:
getent.1.gz        localedef.1.gz
iconv.1.gz         memusage.1.gz
_Exit.2.gz
__clone2.2.gz
_exit.2.gz
_llseek.2.gz
_newselect.2.gz
_syscall.2.gz
_sysctl.2.gz
accept.2.gz
accept4.2.gz
access.2.gz
acct.2.gz
add_key.2.gz
adjtimex.2.gz
afs_syscall.2.gz
alarm.2.gz
alloc_hugepages.2.gz
arch_prctl.2.gz
arm_fadvise.2.gz
arm_fadvise64_64.2.gz
arm_sync_file_range.2.gz
bdflush.2.gz
…
husshpup commented 23 hours ago

Necrobump: You might have to create the file /etc/man.conf with the following:

manpath /usr/share/man

Another issue for fish shell users: the manpages in the fish-doc package are installed separately from the default manpath. Running man will not work without an additional manpath entry:

manpath /usr/share/fish/man
manpath /usr/share/man

The apropos command requires the presence of a mandoc.db file at the root of the manpath. Run makewhatis as root to generate it.