Re: man -k apropos --> nothing apropiate
Thank you very much. Anacron solved it. Regards. ___ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
/usr/bin/on_ac_power (was man -k apropos --> nothing apropiate)
* Joerg Johannes ([EMAIL PROTECTED]) [030226 00:46]: > A problem with similar symptoms is on my laptop: Anacron doesn't run because > it always thinks I am on battery power (even if I'm on AC) and therefore does > not run hard-disk intensive jobs such as updatedb and man-db This was just discussed yesterday on this list, in a thread called "Anacron vs cron". Check that your kernel has APM support. good times, Vineet -- http://www.doorstop.net/ -- "Extremism in the defense of liberty is no vice. Moderation in the pursuit of justice is no virtue." -- Barry Goldwater signature.asc Description: Digital signature
Re: man -k apropos --> nothing apropiate
A problem with similar symptoms is on my laptop: Anacron doesn't run because it always thinks I am on battery power (even if I'm on AC) and therefore does not run hard-disk intensive jobs such as updatedb and man-db joerg Am Mittwoch, 26. Februar 2003 00:36 schrieb Colin Watson: > The man-db bug was fundamentally something separate (trust me on this, I > fixed it), but if cron wasn't working then that wouldn't have helped. If > your machine isn't up at the appropriate times to run nightly cron jobs > then I recommend installing anacron. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: man -k apropos --> nothing apropiate
On Tue, Feb 25, 2003 at 09:11:02PM +0100, Drag?n wrote: > I have the feeling that dlocate has the same problem. > > May be a problem with cron? [Please don't send me private copies of list mail.] The man-db bug was fundamentally something separate (trust me on this, I fixed it), but if cron wasn't working then that wouldn't have helped. If your machine isn't up at the appropriate times to run nightly cron jobs then I recommend installing anacron. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: man -k apropos --> nothing apropiate
I have the feeling that dlocate has the same problem. May be a problem with cron? Cheers. --- Colin Watson <[EMAIL PROTECTED]> escribió: > On Tue, Feb 25, 2003 at 08:05:17PM +0100, Drag?n wrote: > > Thanks I've just run /etc/cron.daily/man-db and apropos works. > > > > But I don't know why I had to run it by hand. > > Like I say, it was a bug. Should be fixed in later versions of man-db. > > -- > Colin Watson (man-db maintainer) [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > ___ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: man -k apropos --> nothing apropiate
On Tue, Feb 25, 2003 at 08:05:17PM +0100, Drag?n wrote: > Thanks I've just run /etc/cron.daily/man-db and apropos works. > > But I don't know why I had to run it by hand. Like I say, it was a bug. Should be fixed in later versions of man-db. -- Colin Watson (man-db maintainer) [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: man -k apropos --> nothing apropiate
Thanks I've just run /etc/cron.daily/man-db and apropos works. But I don't know why I had to run it by hand. Thanks a lot. --- Colin Watson <[EMAIL PROTECTED]> escribió: > On Mon, Feb 24, 2003 at 09:53:21PM +0100, Drag?n wrote: > > I don't know if it happens to you. > > > > But in my woody `apropos' and `man -k' don't work. > > > > Does anybody know anything about that? > > Have you run 'mandb'? There was a bug in man-db whereby this wouldn't > happen on fresh installations, and the fix didn't make it into woody. > When the nightly cron job /etc/cron.daily/man-db runs it should deal > with this. > > -- > Colin Watson [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > ___ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: man -k apropos --> nothing apropiate
On Mon, Feb 24, 2003 at 03:02:13PM -0800, Peter Hicks wrote: > On Mon, Feb 24, 2003 at 09:53:21PM +0100, Drag?n wrote: > > I don't know if it happens to you. > > > > But in my woody `apropos' and `man -k' don't work. > > > > Does anybody know anything about that? > > It sounds like your pre-formatted man pages have not been generated > via catman. There is a cron job in /etc/cron.daily called man-db which > will generate them, or man catman will give more info. To clarify, catman generates pre-formatted cat pages which can speed up reading man pages (although pre-formatting *all* of them takes up a lot of disk space for arguably little gain) but these are not necessary to make apropos work. mandb builds a database independent of cat pages which apropos later reads. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: man -k apropos --> nothing apropiate
On Mon, Feb 24, 2003 at 09:53:21PM +0100, Drag?n wrote: > > I don't know if it happens to you. > > But in my woody `apropos' and `man -k' don't work. > > Does anybody know anything about that? > > Thank you. > It sounds like your pre-formatted man pages have not been generated via catman. There is a cron job in /etc/cron.daily called man-db which will generate them, or man catman will give more info. :^P -- Peter Hicks [EMAIL PROTECTED] http://www.libation.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: man -k apropos --> nothing apropiate
On Mon, Feb 24, 2003 at 09:53:21PM +0100, Drag?n wrote: > I don't know if it happens to you. > > But in my woody `apropos' and `man -k' don't work. > > Does anybody know anything about that? Have you run 'mandb'? There was a bug in man-db whereby this wouldn't happen on fresh installations, and the fix didn't make it into woody. When the nightly cron job /etc/cron.daily/man-db runs it should deal with this. -- Colin Watson [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
man -k apropos --> nothing apropiate
I don't know if it happens to you. But in my woody `apropos' and `man -k' don't work. Does anybody know anything about that? Thank you. ___ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Man -K
On Thu, 03 Aug 2000, John Hasler wrote: > Piotr Krukowiecki writes: > > But they don't. And you can't describe man which has 100 pages or more in > > one line. > > Of course you. More importantly, you can put the keywords that people are > most likely to search for in that one line. The man foramt really ought to ^^^ But no all words. And maybe I remeber one fancy word from that man, what then ? You include all words from manpage in description? ;) > include a 'keywords' line, though. -- Peter irc: #Debian.pl
Re: Man -K
Piotr Krukowiecki writes: > But they don't. And you can't describe man which has 100 pages or more in > one line. Of course you. More importantly, you can put the keywords that people are most likely to search for in that one line. The man foramt really ought to include a 'keywords' line, though. > I want to know why debian don't use that version of man. Perhaps because you have not filed a wishlist bug against man-db suggesting that Fabrizio do so. Why don't you just write a little wrapper script for man to do this? -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin
Re: Man -K
On Thu, 3 Aug 2000, Fabrizio Polacco wrote: > On Wed, Aug 02, 2000 at 01:54:42PM +0200, [EMAIL PROTECTED] wrote: > > On Wed, 2 Aug 2000, Piotr Krukowiecki wrote: > > > > > I wonder why debian have man without -K option (searching > > > through body of manpage, not only title), unlike RH or Suse > > > > > RedHat uses a different program. Yes, I know. TurboLinux uses it too (debian uses man provided by man-db) > But Suse uses the same man as Debian. > Are you sure that Suse has the -L option? (I don't know how to get the > hands on a suse machine). No, I'm not. I had Suse and RedHat and I remember that at least one of them had that option. But the question is why debian have chosen that version of man ? -- Peter irc: #Debian.pl
Re: Man -K
On Wed, Aug 02, 2000 at 01:54:42PM +0200, [EMAIL PROTECTED] wrote: > On Wed, 2 Aug 2000, Piotr Krukowiecki wrote: > > > I wonder why debian have man without -K option (searching > > through body of manpage, not only title), unlike RH or Suse > > RedHat uses a different program. But Suse uses the same man as Debian. Are you sure that Suse has the -L option? (I don't know how to get the hands on a suse machine). fab -- | [EMAIL PROTECTED] [EMAIL PROTECTED] | pgp: 6F7267F5 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E | [EMAIL PROTECTED] gsm: +358 (0)40 707 2468
Re: Man -K
On 2 Aug 2000, John Hasler wrote: > Andrew Sullivan writes: > > I thought the original poster was talking about a _full body_ search of the > > man pages. Do RH and SuSE really do that? Certainly, apropos doesn't -- > > it searches the description (at least on my system). > > Which would be fine if people would write proper descriptions. But they don't. And you can't describe man which has 100 pages or more in one line. I checked rpm from TurboLinux (man-1.5g-5.i386.rpm). >From it's man page: -K Search for the specified string in *all* man pages. Warning: this is probably very slow! It helps to specify a section. (Just to give a rough idea, on my machine this takes about a minute per 500 man pages.) I want to know why debian don't use that version of man. -- Peter irc: #Debian.pl
Re: Man -K
Andrew Sullivan writes: > I thought the original poster was talking about a _full body_ search of the > man pages. Do RH and SuSE really do that? Certainly, apropos doesn't -- > it searches the description (at least on my system). Which would be fine if people would write proper descriptions. -- John Hasler [EMAIL PROTECTED] (John Hasler) Dancing Horse Hill Elmwood, WI
Re: Man -K
On Wed, Aug 02, 2000 at 01:54:42PM +0200, [EMAIL PROTECTED] wrote: > On Wed, 2 Aug 2000, Piotr Krukowiecki wrote: > > > I wonder why debian have man without -K option (searching > > through body of manpage, not only title), unlike RH or Suse > > > This functionality is given by the "apropos(1)" command. "man man" still > describes "man -k" though. I guess this counts as a bug... I thought the original poster was talking about a _full body_ search of the man pages. Do RH and SuSE really do that? Certainly, apropos doesn't -- it searches the description (at least on my system). man -k works fine here, though, on potato. A -- Andrew Sullivan Computer Services <[EMAIL PROTECTED]>Burlington Public Library +1 905 639 3611 x158 2331 New Street Burlington, Ontario, Canada L7R 1J4
Re: Man -K
On 2 Aug 2000, John Hasler wrote: > Paul Seelig writes: > > This functionality is given by the "apropos(1)" command. "man man" still > > describes "man -k" though. I guess this counts as a bug... > > Why? 'man -k' works fine. > You are right, i had an alias "man -P less" for man which resulted in a not working "man -k". Sorry for the confusion. Cheers, P. *8^)
Re: Man -K
Paul Seelig writes: > This functionality is given by the "apropos(1)" command. "man man" still > describes "man -k" though. I guess this counts as a bug... Why? 'man -k' works fine. -- John Hasler [EMAIL PROTECTED] Dancing Horse Hill Elmwood, Wisconsin
Re: Man -K
On Wed, 2 Aug 2000, Piotr Krukowiecki wrote: > I wonder why debian have man without -K option (searching > through body of manpage, not only title), unlike RH or Suse > This functionality is given by the "apropos(1)" command. "man man" still describes "man -k" though. I guess this counts as a bug... > P.S. sorry for my poor English > Be glad you don't have to suffer my even less polished Polish... ;-) Cheers, P. *8^) -- Paul Seelig <[EMAIL PROTECTED]> - African Music Archive - Institute for Ethnology and Africa Studies Johannes Gutenberg-University - Forum 6 - 55099 Mainz/Germany --- http://ntama.uni-mainz.de
Man -K
Hi I wonder why debian have man without -K option (searching through body of manpage, not only title), unlike RH or Suse P.S. sorry for my poor English -- Peter irc: #Debian.pl
Re: man -k doesn't work
Ethan Benson wrote: > >It turns out mandb is failing. When I run mandb as root I get this: > > > >Processing manual pages under /usr/man... > >Updating index cache for path `/usr/man'. Wait...mandb: can't create a > >temporary filename: Permission denied > > > >I don't know enough about how mandb works (even after reading the > >manpage and documentation) to know why this is happening. Any ideas? > > check permissions on /tmp mandb is suid man so it does not have root > privileges, however one annoying thing i have found is it creates a > temp file but for some reason it gets owned by root so when it goes > to delete it it gets a operation not permitted (because /tmp has the > sticky bit) it seems to work better if you use sudo -u man mandb > instead That worked. Thanks so much! I have really been missing "man -k". -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452
Re: man -k doesn't work
Fabrizio Polacco wrote: > > On Tue, Jan 04, 2000 at 01:04:49PM -0500, Brian J. Stults wrote: > > Hi, > > > > When I type man -k [anything], I always get this result: > > > > [anything]: nothing appropriate > > and when you try man [anything] what do you get? man [anything] works (for appropriate anythings). > If you get a manpage then it is the db to be rebuilt (mandb -c from > root), if you get No manual entry for [anything] then [anything] is > really not appropriate :-) I tried mandb -c and got: Processing manual pages under /usr/man... Updating index cache for path `/usr/man'. Wait...mandb: can't create a temporary filename: Permission denied I don't know enough about mandb to interpret this correctly. Anyone know what file it is trying to create and where? > It is always better to leave that env var unset, unless you have very > specific stuff to add there. > In any case, /usr/bin/man cannot go there! > Use the command manpath to see if this setting is harming you; it should > reply: > /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/man > Thanks for the advice. I don't remember when or why I added the manpath env var, but I removed it now. I do indeed get the above result from "manpath". Thanks. Still can't get man -k to work, though. -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452
Re: man -k doesn't work
I'm sorry to ask this question, but did you run mandb as root?
Re: man -k doesn't work
On 5/1/2000 Brian J. Stults wrote: It turns out mandb is failing. When I run mandb as root I get this: Processing manual pages under /usr/man... Updating index cache for path `/usr/man'. Wait...mandb: can't create a temporary filename: Permission denied I don't know enough about how mandb works (even after reading the manpage and documentation) to know why this is happening. Any ideas? check permissions on /tmp mandb is suid man so it does not have root privileges, however one annoying thing i have found is it creates a temp file but for some reason it gets owned by root so when it goes to delete it it gets a operation not permitted (because /tmp has the sticky bit) it seems to work better if you use sudo -u man mandb instead -- Ethan Benson To obtain my PGP key: http://www.alaska.net/~erbenson/pgp/
Re: man -k doesn't work
David Teague wrote: > > You may have fixed the problem, and not recognize it. > > If you are getting 'nothing appropriate' that may be the correct > answer. For example, on my system, > > elentari:~[1]man -k ls > ls (1) - list contents of directories > mkls-lR (8) - Make ls-lR files on FTP server for mirror use > mktexlsr (1) - create ls-R databases > texhash (1) - create ls-R databases > elentari:~[1]man -k xxx > xxx: nothing appropriate. > elentari:~[1] > > Try that and compare results. Funny you should suggest using "ls" because that's what first comes to my fingers when I want to test it. Indeed, "man -k ls" results in, ls: nothing appropriate. It turns out mandb is failing. When I run mandb as root I get this: Processing manual pages under /usr/man... Updating index cache for path `/usr/man'. Wait...mandb: can't create a temporary filename: Permission denied I don't know enough about how mandb works (even after reading the manpage and documentation) to know why this is happening. Any ideas? -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452
Re: man -k doesn't work
On Tue, Jan 04, 2000 at 01:04:49PM -0500, Brian J. Stults wrote: > Hi, > > When I type man -k [anything], I always get this result: > > [anything]: nothing appropriate and when you try man [anything] what do you get? If you get a manpage then it is the db to be rebuilt (mandb -c from root), if you get No manual entry for [anything] then [anything] is really not appropriate :-) > It doesn't matter what I substitite for "anything". I have the > environment variable MANPATH set like this in .bash_profile: > > MANPATH=/usr/bin/man:/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man It is always better to leave that env var unset, unless you have very specific stuff to add there. In any case, /usr/bin/man cannot go there! Use the command manpath to see if this setting is harming you; it should reply: /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/man cheers, fab -- | [EMAIL PROTECTED] [EMAIL PROTECTED][EMAIL PROTECTED] | 6F7267F5 fingerprint 57 16 C4 ED C9 86 40 7B 1A 69 A1 66 EC FB D2 5E | [EMAIL PROTECTED] gsm: +358 (0)40 707 2468
Re: man -k doesn't work
On Tue, 4 Jan 2000, Brian Stults wrote: > Ethan Benson wrote: > > the mandb cron job has not been run yet, i think its a weekly: > > /etc/cron.weekly/mandb > > should make it run now, it takes a while. > > I tried that, but I still get "nothing appropriate". Any other > suggestions? Brian You may have fixed the problem, and not recognize it. If you are getting 'nothing appropriate' that may be the correct answer. For example, on my system, elentari:~[1]man -k ls ls (1) - list contents of directories mkls-lR (8) - Make ls-lR files on FTP server for mirror use mktexlsr (1) - create ls-R databases texhash (1) - create ls-R databases elentari:~[1]man -k xxx xxx: nothing appropriate. elentari:~[1] Try that and compare results. --David David Teague, [EMAIL PROTECTED] Debian GNU/Linux Because software support is free, timely, useful, technically accurate, and friendly. (I'm hoping this is all of the above!)
Re: man -k doesn't work
Ethan Benson wrote: > the mandb cron job has not been run yet, i think its a weekly: > /etc/cron.weekly/mandb > should make it run now, it takes a while. I tried that, but I still get "nothing appropriate". Any other suggestions? Thanks, Brian > On 4/1/2000 Brian J. Stults wrote: > > >When I type man -k [anything], I always get this result: > > > >[anything]: nothing appropriate > > > >It doesn't matter what I substitite for "anything". I have the > >environment variable MANPATH set like this in .bash_profile: > > > >MANPATH=/usr/bin/man:/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man > > > >Can someone suggest an answer? Thanks! -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452
Re: man -k doesn't work
On 4/1/2000 Brian J. Stults wrote: When I type man -k [anything], I always get this result: [anything]: nothing appropriate It doesn't matter what I substitite for "anything". I have the environment variable MANPATH set like this in .bash_profile: MANPATH=/usr/bin/man:/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man Can someone suggest an answer? Thanks! the mandb cron job has not been run yet, i think its a weekly: /etc/cron.weekly/mandb should make it run now, it takes a while. Ethan
Re: man -k doesn't work
I have no MANPATH set on my slink-r4 and everything works fine and when I set it to what you mentioned in your mail, it works as well. Maybe that means that the error is something else. Hope it helps ... - Konrad
man -k doesn't work
Hi, When I type man -k [anything], I always get this result: [anything]: nothing appropriate It doesn't matter what I substitite for "anything". I have the environment variable MANPATH set like this in .bash_profile: MANPATH=/usr/bin/man:/usr/man:/usr/share/man:/usr/X11R6/man:/usr/local/man Can someone suggest an answer? Thanks! -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: www.albany.edu/~bs7452
man -k isn't working on recent hamm
Hi, I'm running a hamm system from June, 23rd and have problems with "man -k". Both relevant packages, man-db_2.3.10-65.deb and manpages_1.19-1.deb, are installed correctly, that's at least what "dpkg -s" is telling me. I can access every manpage in /usr/man/..., but I can't use "man -k", it won't find a single match. According to the man page of mandb one should use "mandb --create" to create an index file (index.db ?? out of memory) in /var/catman/... If I use this command mandb parses through all man directories (my MANPATH is recognized correctly) but tells me at the end, that there are 0 man pages to update !!! And I can't find any index file afterwards. Am I thinking or doing something wrong ??? Any help is highly appreciated ! Thank's, Michael P.S. I'm not subscribed to debian-user, so could you CC any reply to me as well, please ? -- -- The opinions expressed above are solely those of the author and are not necessarily those of Schering. === NAME: Dr. Michael Grimm ADDRESS: Schering AG EMAIL: [EMAIL PROTECTED] Research Laboratories PHONE: +49-30-468-15477 D-13342 Berlin FAX: +49-30-468-16741 Germany === -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]