Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Incompplete Man Pages (Read 2583 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Incompplete Man Pages

Reply #15
Quote
As someone who's used Artix a long time how is it you've only just noticed that  'man -k' & 'man -f' don't work 'out of the box'?


No I noticed this right away and this might not even be the first time I asked about this.  And it has been quite crippling.  I am very relieved to have gotten a manual solutions and NOW I can run

man -k openrc

Quote
flatbush:[ruben]:~$ man -k openrc
openrc (8)           - stops and starts services for the specified runlevel       
openrc-init (8)      - the parent of all processes                                
openrc-run (8)       - a means of hooking shell commands into a service           
openrc-settingsd (8) - system settings D-Bus service for OpenRC                   
openrc-shutdown (8)  - bring the system down                                      
rc-service (8)       - locate and run an OpenRC service with the given arguments
rc_config (3)        - functions to query OpenRC service configurations
rc_config_list (3)   - functions to query OpenRC service configurations
rc_config_load (3)   - functions to query OpenRC service configurations
rc_config_value (3)  - functions to query OpenRC service configurations
rc_plugin_hook (3)   - hooks plugins into OpenRC services
rc_service (3)       - functions to query OpenRC services
rc_service_add (3)   - functions to query OpenRC services
rc_service_daemon_set (3) - functions to query OpenRC services
rc_service_daemons_crashed (3) - functions to query OpenRC services
rc_service_delete (3) - functions to query OpenRC services
rc_service_description (3) - functions to query OpenRC services
rc_service_exists (3) - functions to query OpenRC services
rc_service_extra_commands (3) - functions to query OpenRC services
rc_service_in_runlevel (3) - functions to query OpenRC services
rc_service_mark (3)  - functions to query OpenRC services
rc_service_plugable (3) - functions to query OpenRC services
rc_service_resolve (3) - functions to query OpenRC services
rc_service_schedule_clear (3) - functions to query OpenRC services
rc_service_schedule_start (3) - functions to query OpenRC services
rc_service_delete (3) - functions to query OpenRC services
rc_service_description (3) - functions to query OpenRC services
rc_service_exists (3) - functions to query OpenRC services
rc_service_extra_commands (3) - functions to query OpenRC services
rc_service_in_runlevel (3) - functions to query OpenRC services
rc_service_mark (3)  - functions to query OpenRC services
rc_service_plugable (3) - functions to query OpenRC services
rc_service_resolve (3) - functions to query OpenRC services
rc_service_schedule_clear (3) - functions to query OpenRC services
rc_service_schedule_start (3) - functions to query OpenRC services
rc_service_started_daemon (3) - functions to query OpenRC services
rc_service_state (3) - functions to query OpenRC services
rc_service_value_get (3) - functions to query OpenRC services
rc_service_value_set (3) - functions to query OpenRC services
rc_services_in_runlevel (3) - functions to query OpenRC services
rc_services_in_state (3) - functions to query OpenRC services
rc_services_scheduled (3) - functions to query OpenRC services
rc_services_scheduled_by (3) - functions to query OpenRC services
rc_yesno (3)         - functions to query OpenRC service configurations

No I am feeling like Jim on Taxi with wild eyes and saying... OOOOHHHH
Look  - it has it all!


BTW -
flatbush:[ruben]:~$ sudo pacman -Ss man|wc
   4366   21896  194052

Re: Incompplete Man Pages

Reply #16
Quote
As someone who's used Artix a long time how is it you've only just noticed that  'man -k' & 'man -f' don't work 'out of the box'?


No I noticed this right away and this might not even be the first time I asked about this.  And it has been quite crippling.  I am very relieved to have gotten a manual solutions and NOW I can run

man -k openrc

Quote
flatbush:[ruben]:~$ man -k openrc
openrc (8)           - stops and starts services for the specified runlevel       
openrc-init (8)      - the parent of all processes                                
openrc-run (8)       - a means of hooking shell commands into a service           
openrc-settingsd (8) - system settings D-Bus service for OpenRC                   
openrc-shutdown (8)  - bring the system down                                      
rc-service (8)       - locate and run an OpenRC service with the given arguments
rc_config (3)        - functions to query OpenRC service configurations
rc_config_list (3)   - functions to query OpenRC service configurations
rc_config_load (3)   - functions to query OpenRC service configurations
rc_config_value (3)  - functions to query OpenRC service configurations
rc_plugin_hook (3)   - hooks plugins into OpenRC services
rc_service (3)       - functions to query OpenRC services
rc_service_add (3)   - functions to query OpenRC services
rc_service_daemon_set (3) - functions to query OpenRC services
rc_service_daemons_crashed (3) - functions to query OpenRC services
rc_service_delete (3) - functions to query OpenRC services
rc_service_description (3) - functions to query OpenRC services
rc_service_exists (3) - functions to query OpenRC services
rc_service_extra_commands (3) - functions to query OpenRC services
rc_service_in_runlevel (3) - functions to query OpenRC services
rc_service_mark (3)  - functions to query OpenRC services
rc_service_plugable (3) - functions to query OpenRC services
rc_service_resolve (3) - functions to query OpenRC services
rc_service_schedule_clear (3) - functions to query OpenRC services
rc_service_schedule_start (3) - functions to query OpenRC services
rc_service_delete (3) - functions to query OpenRC services
rc_service_description (3) - functions to query OpenRC services
rc_service_exists (3) - functions to query OpenRC services
rc_service_extra_commands (3) - functions to query OpenRC services
rc_service_in_runlevel (3) - functions to query OpenRC services
rc_service_mark (3)  - functions to query OpenRC services
rc_service_plugable (3) - functions to query OpenRC services
rc_service_resolve (3) - functions to query OpenRC services
rc_service_schedule_clear (3) - functions to query OpenRC services
rc_service_schedule_start (3) - functions to query OpenRC services
rc_service_started_daemon (3) - functions to query OpenRC services
rc_service_state (3) - functions to query OpenRC services
rc_service_value_get (3) - functions to query OpenRC services
rc_service_value_set (3) - functions to query OpenRC services
rc_services_in_runlevel (3) - functions to query OpenRC services
rc_services_in_state (3) - functions to query OpenRC services
rc_services_scheduled (3) - functions to query OpenRC services
rc_services_scheduled_by (3) - functions to query OpenRC services
rc_yesno (3)         - functions to query OpenRC service configurations

No I am feeling like Jim on Taxi with wild eyes and saying... OOOOHHHH
Look  - it has it all!


BTW -
flatbush:[ruben]:~$ sudo pacman -Ss man|wc
   4366   21896  194052



and man-db is a separate package from man-pages

Re: Incompplete Man Pages

Reply #17
If I am no mistaken, cron IS installed by default.  Why would it not be?  How else do you do routine timely system maintenance like rotating system logs etc?

So I had to do a quick check on default stable iso releases since my installation is manual (had to do a custom setup for my needs so using my setup isn't the best reference to use). I don't have cronie. I've written scripts for my automation needs.

On the stable Xfce and Plasma s6-init images. Yes cronie is installed, but no entry for mandb in crontab nor in cron.daily folder.

You'll have to take this inquiry to the Artix devs because this matter is OS default setup.

As for the Unix design you've mentioned earlier, that will have to be in another thread. I do not mind talking about it. But a different thread just to keep it organized.

Since the matter has been solved (about man -k not showing anything). There's nothing else for me to say in this matter.

My last cent for you. Just use a daily cron job to automate this. The video link I gave is really easy to absorb. There are other methods(that I can think of), but it'd require you to write a bash(with sudo mandb whitelist) or an init script (I prefer writing a script because I don't have to install cron just for mandb but is less user friendly).

Cheers.

Re: Incompplete Man Pages

Reply #18
With Debian based systems this is run on updates, possibly only when packages with man pages are updated, but that is pretty much every time. It can take a long time to run, e.g. trying here after not having run it for ages, then again to compare:
Code: [Select]
$ time sudo mandb
...
109 man subdirectories contained newer manual pages.
29798 manual pages were added.
0 stray cats were added.
482 old database entries were purged.

real 0m28.751s
user 0m0.097s
sys 0m0.092s

$ time sudo mandb
...
0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
0 old database entries were purged.

real 0m0.606s
user 0m0.022s
sys 0m0.022s
So it can potentially slow down updates quite a bit. I run it manually before using man -k which I rarely do, although admittedly it's something I only found out about after a few years of using Artix. As mandb is only needed if the man pages are changed, a cron job seems inefficient, and man -k wouldn't give the correct results until the next day if you installed new or updated packages just after it had completed it's daily run. Perhaps there should be some mention of mandb in the Artix wiki under installation or configuration, as there doesn't seem to be at present?

Re: Incompplete Man Pages

Reply #19
No I noticed this right away and this might not even be the first time I asked about this.  And it has been quite crippling.  I am very relieved to have gotten a manual solutions and NOW I can run
Unless the index only goes back so far Search suggests this is the first time you posted about man pages, at least on this site.
If it was crippling for years I fail to understand why you wouldn't a. read the man page for man & b. just ask ?

I'm glad you have it working now. I also thanked you already because I learnt something I didn't know. But I'll thank you again.
But I do think you could be a little bit more gracious when someone takes the time to explain why something isn't working as expected and gives a possible way to remedy it

Re: Incompplete Man Pages

Reply #20
No I noticed this right away and this might not even be the first time I asked about this.  And it has been quite crippling.  I am very relieved to have gotten a manual solutions and NOW I can run
Unless the index only goes back so far Search suggests this is the first time you posted about man pages, at least on this site.
If it was crippling for years I fail to understand you wouldn't a. read the man page for man & b. just ask ?

I'm glad you have it working now. I also thanked you already because I learnt something I didn't know. But I'll thank you again.
But I do think you could be a little bit more gracious when someone takes the time to explain why something isn't working as expected and gives a possible way to remedy it

Ah - I am sorry if I didn't seem gracious.  Thank you for your diligence and help.

Re: Incompplete Man Pages

Reply #21
I uninstall cron first thing.