frosterrj Posted June 15, 2003 Report Share Posted June 15, 2003 For some strange reason, every time I try to get a man page, I get a blank screen. I know they were installed. How can I get them back (or put them in if they weren't installed)? Thanks, Robert Quote Link to comment Share on other sites More sharing options...
Guest anon Posted June 15, 2003 Report Share Posted June 15, 2003 First have a look in /usr/share/doc and see whats there. Or go to software manager, install, and type man You will probably get a whole load of stuff listed, take your pick. Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted June 15, 2003 Report Share Posted June 15, 2003 i know this isnt probably the answer but could you post the result when you type in $ echo $MANPATH ciao! Quote Link to comment Share on other sites More sharing options...
aru Posted June 15, 2003 Report Share Posted June 15, 2003 If frosterrj uses mandrake, he probably won't get any output from 'echo $MANPATH' ;) AFAIK mandrake's man command reads /etc/man.conf in order to set up it's environment (no need to predefine environment variables at all) Though for other distros your post makes a lot of sense (ie: slackware, which sets the $MANPATH by default at /etc/profile, but, it also has a man.conf at /usr/share/misc/) :) Quote Link to comment Share on other sites More sharing options...
ramfree17 Posted June 15, 2003 Report Share Posted June 15, 2003 yep you are right (i just checked). i must have confused it with the solaris box we have at the office. paraphrase my comment to the result of $ cat /etc/man.conf ciao! Quote Link to comment Share on other sites More sharing options...
bvc Posted June 15, 2003 Report Share Posted June 15, 2003 why don't we see if theyre installed first? (can't imagine why they wouldn't be though) [root@localhost /]# rpm -qa | grep manman-1.5k-8mdk man-pages-1.54-3mdk groff-for-man-1.18.1-5mdk [root@localhost /]# Quote Link to comment Share on other sites More sharing options...
frosterrj Posted June 16, 2003 Author Report Share Posted June 16, 2003 here's what I get with the rpm -qa | grep man: mandrake_desk-9.1-4mdk mandrake-galaxy-9.1-21mdk man-1.5k-8.1mdk mandrake_doc-en-9.1-2mdk mandrake-mime-0.3-1mdk man-pages-1.54-3mdk groff-for-man-1.18.1-5mdk mandrake-release-9.1-1mdk However, looking for man.conf: cat /etc/man.conf comes up with this: cat: /etc/man.conf: No such file or directory what's up with that? robert Quote Link to comment Share on other sites More sharing options...
frosterrj Posted June 16, 2003 Author Report Share Posted June 16, 2003 well, seems that the man.conf should be man.config, which works. $ which man /usr/bin/man cat /etc/man.config--lot of stuff, but doing a simple man urpmi give me: sh: line 1: /usr/bin/gtbl: No such file or directory here is cat /etc.man.config. Any clues from this???? Generated automatically from man.conf.in by the # configure script. # # man.conf from man-1.5k # # For more information about this file, see the man pages man(1) # and man.conf(5). # # This file is read by man to configure the default manpath (also used # when MANPATH contains an empty substring), to find out where the cat # pages corresponding to given man pages should be stored, # and to map each PATH element to a manpath element. # It may also record the pathname of the man binary. [This is unused.] # The format is: # # MANBIN pathname # MANPATH manpath_element [corresponding_catdir] # MANPATH_MAP path_element manpath_element # # If no catdir is given, it is assumed to be equal to the mandir # (so that this dir has both man1 etc. and cat1 etc. subdirs). # This is the traditional Unix setup. # Certain versions of the FSSTND recommend putting formatted versions # of /usr/.../man/manx/page.x into /var/catman/.../catx/page.x. # The keyword FSSTND will cause this behaviour. # Certain versions of the FHS recommend putting formatted versions of # /usr/.../share/man/[locale/]manx/page.x into # /var/cache/man/.../[locale/]catx/page.x. # The keyword FHS will cause this behaviour (and overrides FSSTND). # Explicitly given catdirs override. # FSSTND # FHS # # This file is also read by man in order to find how to call nroff, less, etc., # and to determine the correspondence between extensions and decompressors. # # MANBIN /usr/local/bin/man # # Every automatically generated MANPATH includes these fields # MANPATH /usr/share/man MANPATH /usr/X11R6/man MANPATH /usr/local/man MANPATH /usr/kerberos/man MANPATH /usr/man # # Uncomment if you want to include one of these by default # #MANPATH /opt/teTeX/man #MANPATH /usr/lib/perl5/man #MANPATH /usr/share/perl5/man #MANPATH /usr/share/tcl-8.0/man #MANPATH /usr/share/tk-8.0/man #MANPATH /usr/share/tix-4.1/man #MANPATH /usr/share/coas/man #MANPATH /usr/kerberos/man # # Set up PATH to MANPATH mapping # # If people ask for "man foo" and have "/dir/bin/foo" in their PATH # and the docs are found in "/dir/man", then no mapping is required. # # The below mappings are superfluous when the right hand side is # in the mandatory manpath already, but will keep man from statting # lots of other nearby files and directories. # MANPATH_MAP /bin /usr/share/man MANPATH_MAP /sbin /usr/share/man MANPATH_MAP /usr/bin /usr/share/man MANPATH_MAP /usr/sbin /usr/share/man MANPATH_MAP /usr/local/bin /usr/local/man MANPATH_MAP /usr/local/sbin /usr/local/man MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man MANPATH_MAP /usr/bin/X11 /usr/X11R6/man MANPATH_MAP /usr/bin/mh /usr/share/man MANPATH_MAP /usr/kerberos/bin /usr/kerberos/man MANPATH_MAP /usr/kerberos/sbin /usr/kerberos/man # # NOAUTOPATH keeps man from automatically adding directories that look like # manual page directories to the path. # #NOAUTOPATH # # NOCACHE keeps man from creating cache pages ("cat pages") # (generally one enables/disable cat page creation by creating/deleting # the directory they would live in - man never does mkdir) # #NOCACHE # # NOCACHE keeps man from creating cache pages NOCACHE # # Useful paths - note that COL should not be defined when # NROFF is defined as "groff -Tascii" or "groff -Tlatin1"; # not only is it superfluous, but it actually damages the output. # For use with utf-8, NROFF should be "nroff -mandoc" without -T option. # TROFF /usr/bin/groff -Tps -mandoc -c NROFF /usr/bin/nroff -mandoc -c # not used, the nroff script determines what to do for Japanese #JNROFF /usr/bin/groff -Tnippon -mandocj -c EQN /usr/bin/geqn -Tps NEQN /usr/bin/geqn -Tlatin1 JNEQN /usr/bin/geqn -Tnippon TBL /usr/bin/gtbl # COL /usr/bin/col REFER /usr/bin/grefer PIC /usr/bin/gpic VGRIND GRAP PAGER /usr/bin/less -isrR CAT /bin/cat # # The command "man -a xyzzy" will show all man pages for xyzzy. # When CMP is defined man will try to avoid showing the same # text twice. (But compressed pages compare unequal.) # CMP /usr/bin/cmp -s # # Compress cat pages # COMPRESS /usr/bin/bzip2 COMPRESS_EXT .bz2 # # Default manual sections (and order) to search if -S is not specified # and the MANSECT environment variable is not set. # MANSECT 1:8:2:3:3pm:4:5:6:7:9:tcl:n:l:p:o # # Default options to use when man is invoked without options # This is mainly for the benefit of those that think -a should be the default # Note that some systems have /usr/man/allman, causing pages to be shown twice. # #MANDEFOPTIONS -a # # Decompress with given decompressor when input file has given extension # The command given must act as a filter. # .gz /usr/bin/gunzip -c .bz2 /usr/bin/bzip2 -c -d .z .Z /bin/zcat .F .Y Quote Link to comment Share on other sites More sharing options...
aru Posted June 16, 2003 Report Share Posted June 16, 2003 sh: line 1: /usr/bin/gtbl: No such file or directory gtbl is part of a package named "groff-for-man" which contains the parts of the groff text processor package that are required for viewing manpages. Probably you don't have installed groff-for-man or groff (or if you do, maybe some files are missing) (re-)install the package that provides gtbl (groff-for-man). In cooker that one is: groff-for-man-1.18.1-5mdk.i586.rpm Then run again "man something" and tell us if it works now or not. Quote Link to comment Share on other sites More sharing options...
bvc Posted June 16, 2003 Report Share Posted June 16, 2003 frosterrj's result from rpm -qa | grep man shows groff-for-man to be installed. Quote Link to comment Share on other sites More sharing options...
aru Posted June 16, 2003 Report Share Posted June 16, 2003 I suggested that some files might be missing too. But you are right, I hadn't pay enough attention to previous posts, I just looked the last one. It could be either that some files of that package are missing or, maybe that the PATH has something to do (which I don't believe since man is in /usr/bin too, and the error shown is not a PATH error) IMHO a "rpm -Uvh groff-for-man-1.18.1-5mdk.i586.rpm", should fix it, at least the only error he has shown us Quote Link to comment Share on other sites More sharing options...
frosterrj Posted June 18, 2003 Author Report Share Posted June 18, 2003 Well, I rpm -e'd man, man-pages, groff, (and got a dependency conflict for mignight commander, so off it went as well). Then I reinstalled everything again, only to get an error /ust/bin/gtbl does not exist. I'm stumped. Any other options? I'm about to take this to mandrakeexpert and see what they have to say. Robert Quote Link to comment Share on other sites More sharing options...
aru Posted June 18, 2003 Report Share Posted June 18, 2003 Sorry if I sound a bit rude, but what the hell is wrong with my post? I told you to JUST *update/reinstall* groff-for-man-1.18.1-5mdk.i586.rpm!!!! I never told you to uninstall any package, did I? Just type and run: ~$ rpm -Uvh ftp://ftp.lip6.fr/pub/linux/distributions/mandrake/current/i586/Mandrake/RPMS/groff-for-man-1.18.1-5mdk.i586.rpm That's all!! Now try again "man something" If the error rises again, report the output of: ~$ ls -l /usr/bin/gtbl lrwxrwxrwx 1 root root 3 nov 13 2001 /usr/bin/gtbl -> tbl* ~$ ls -l /usr/bin/tbl -rwxr-xr-x 1 root root 126328 sep 7 2001 /usr/bin/tbl* ~$ You are ofcourse free to go and ask this question to mdkexperts Quote Link to comment Share on other sites More sharing options...
frosterrj Posted June 19, 2003 Author Report Share Posted June 19, 2003 did the rpm update but got this: Preparing... ########################################### [100%] package groff-for-man-1.18.1-5mdk is already installed then did a 'man urpmi' and got this: [root@localhost robert]# man urpmi sh: line 1: /usr/bin/gtbl: No such file or directory then did the 'ls -l /usr/bin/gtbl' and got this: lrwxrwxrwx 1 root root 3 May 10 03:28 /usr/bin/gtbl -> tbl and the 'usr/bin/gtb -> tbl is blocked in red and flashing. First time I've ever seen that. so everything seems to be there, yet no man pages. Quote Link to comment Share on other sites More sharing options...
frosterrj Posted June 19, 2003 Author Report Share Posted June 19, 2003 forgot to add the last part: 'ls -l /usr/bin/tbl' gets this: ls: /usr/bin/tbl: No such file or directory so that's what's missing. what package is 'tbl'? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.