You are not logged in.
Pages: 1
Each time that I run man, I receive an empty screen and on exit the following error is displayed:
man: command exited with status 3: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8)
| (cd /usr/share/man && neqn -Tutf8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=204n -rLT=204n -Tutf8)
I already tried to solve it by setting export MAN_DISABLE_SECCOMP = 1 in my .bashrc but it doesn't work, reinstalling man doesn't solve the problem either.
Say me if you need more information, thank you for your help ![]()
Last edited by urucod (2018-09-01 02:16:32)
Offline
Please paste your .bashrc and the output of 'pacman -Syu --debug man` and `type man`.
Moving to NC...
Offline
Thank you for the quick reply, here is the information:
.bashrc = https://pastebin.com/h4FHfz1v
pacman -Syu --debug man = https://pastebin.com/NtWCtdHq
type man = man is /usr/bin/man
Last edited by urucod (2018-08-30 03:50:13)
Offline
There's no trace of the export in your bashrc and the posted token has blanks.
Does this work?
MAN_DISABLE_SECCOMP=1 man manOnline
I removed the export from my bashrc because it didn't work, running this => MAN_DISABLE_SECCOMP=1 man man I only get an empty man page.
And sorry to what blank tokens do you refer?
Offline
Not "blank tokens" but "blanks in the token" - like "spaces", 0x20
So you get an empty man page - do you also get any errors? Do you get an empty page for "MAN_DISABLE_SECCOMP=1 man bash"?
Online
Sorry I was didn't understand well, anyway I doesn't get where is the token token that has blanks because i didn't found it, it is in te bashrc or in the pacman output?
The exactly what I get from MAN_DISABLE_SECCOMP=1 man bash is the following => https://ibb.co/krfWxp
I get
man: command exited with status 3: (cd /usr/share/man && /usr/lib/man-db/zsoelim) | (cd /usr/share/man && /usr/lib/man-db/manconv -f UTF-8:ISO-8859-1 -t UTF-8//IGNORE) | (cd /usr/share/man && preconv -e UTF-8)
| (cd /usr/share/man && neqn -Tutf8) | (cd /usr/share/man && tbl) | (cd /usr/share/man && nroff -mandoc -rLL=204n -rLT=204n -Tutf8)
after exit by q
Offline
The blanks are in your first post in this thread - they render the export invalid which is why I believe jason asked for your actual bashrc.
What's the output of
ls -lh /usr/share/man/man1/man.1.gz
locale?
Online
Well, now I finish understanding your question and you are right it has blanks but I also try literally the command as you give me and it didn't work.
ls -lh /usr/share/man/man1/man.1.gz => -rw-r--r-- 1 root root 13K Aug 5 15:47 /usr/share/man/man1/man.1.gz
Just in case, the man command doesn't work for root user
locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
Last edited by urucod (2018-08-31 03:37:01)
Offline
What about
man -P cat man? Does that show anything or just the error?
Offline
What about
man -P cat man? Does that show anything or just the error?
just the error
Offline
strace -f man man > /tmp/man.strace 2>&1Paste the resulting file to some pastebin service (one that allows to see and download the raw text, NOT ubuntus stupid service!)
Online
If you prefer another page please suggest it
Strace output => https://pastebin.com/4N1xt347
Last edited by urucod (2018-09-01 01:42:30)
Offline
[pid 8070] openat(AT_FDCWD, "/usr/share/groff/site-font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 8070] openat(AT_FDCWD, "/usr/share/groff/1.22.3/font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 8070] openat(AT_FDCWD, "/usr/lib/font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 8070] write(2, "groff: can't find `DESC' file\n", 30groff: can't find `DESC' file) = 30
[pid 8070] write(2, "groff:fatal error: invalid devic"..., 41groff:fatal error: invalid device `utf8'What is the output of the following?
pacman -Qo /usr/share/groff/1.22.3/font/devutf8/DESC
pacman -Qkk groffLast edited by loqs (2018-08-31 18:11:24)
Offline
The best I know is pastebin, there you can see and download the raw text. If you prefer another page please suggest it
Strace output => https://pastebin.com/4N1xt347
Please don't suggest pastebin, this is even in the rules...
https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
[pid 8070] openat(AT_FDCWD, "/usr/share/groff/site-font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 8070] openat(AT_FDCWD, "/usr/share/groff/1.22.3/font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 8070] openat(AT_FDCWD, "/usr/lib/font/devutf8/DESC", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 8070] write(2, "groff: can't find `DESC' file\n", 30groff: can't find `DESC' file) = 30 [pid 8070] write(2, "groff:fatal error: invalid devic"..., 41groff:fatal error: invalid device `utf8'What is the output of the following?
pacman -Qo /usr/share/groff/1.22.3/font/devutf8/DESC pacman -Qkk groff
Finally, it seems that something broke in the installation of groff, man returned to work after reinstalling groff and man.
So thanks to all, they were very helpful: D
Last edited by urucod (2018-09-01 02:04:30)
Offline
urucod wrote:The best I know is pastebin, there you can see and download the raw text. If you prefer another page please suggest it
Strace output => https://pastebin.com/4N1xt347Please don't suggest pastebin, this is even in the rules...
https://wiki.archlinux.org/index.php/Co … s_and_code
Sorry I'm a newbie in the forum and I was didn't remember that rule, I fixed that
Offline
Pages: 1