apropos?

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

apropos?

ToddAndMargo
FC28

Apropos return nothing to any question.  Did I
forget to install something?


Many thanks,
-T
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

ToddAndMargo
On 09/14/2018 01:22 PM, ToddAndMargo wrote:
> FC28
>
> Apropos return nothing to any question.  Did I
> forget to install something?
>
>
> Many thanks,
> -T



Figured it out.  I have to run `mandb` as root and repeat every time
a new man page is installed

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

Rick Stevens-3
On 09/14/2018 01:38 PM, ToddAndMargo wrote:

> On 09/14/2018 01:22 PM, ToddAndMargo wrote:
>> FC28
>>
>> Apropos return nothing to any question.  Did I
>> forget to install something?
>>
>>
>> Many thanks,
>> -T
>
>
>
> Figured it out.  I have to run `mandb` as root and repeat every time
> a new man page is installed

There is a one-shot systemd service that updates the man page database
on boot (man-db-cache-update.service) which should already be installed.

You can "dnf install man-db-cron", which will periodically update the
database via crony. Or continue to do it manually. Your choice.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    [hidden email] -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-         "If you can't fix it...duct tape it!"  -- Tim Allen        -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

Todd Zullinger
Rick Stevens wrote:
> There is a one-shot systemd service that updates the man page database
> on boot (man-db-cache-update.service) which should already be installed.
>
> You can "dnf install man-db-cron", which will periodically update the
> database via crony. Or continue to do it manually. Your choice.

The man-db-cache-update service is also run via a file
trigger whenever files are installed to /usr/share/man by a
package. (See: rpm -q --filetriggers man-db)

--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Until you have the courage to lose sight of the shore, you will not
know the terror of being forever lost at sea.
    -- Demotivators (www.despair.com)


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...

signature.asc (555 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

Rick Stevens-3
On 9/14/18 2:30 PM, Todd Zullinger wrote:

> Rick Stevens wrote:
>> There is a one-shot systemd service that updates the man page database
>> on boot (man-db-cache-update.service) which should already be installed.
>>
>> You can "dnf install man-db-cron", which will periodically update the
>> database via crony. Or continue to do it manually. Your choice.
>
> The man-db-cache-update service is also run via a file
> trigger whenever files are installed to /usr/share/man by a
> package. (See: rpm -q --filetriggers man-db)

I _thought_ there was another trigger like that, but couldn't recall
what it was. Thanks for reminding me!
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    [hidden email] -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
-"Jimmie crack corn and I don't care." What kind of a lousy attitude -
-                 is THAT to have, huh?   -- Dennis Miller           -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

Todd Zullinger
Rick Stevens wrote:
> On 9/14/18 2:30 PM, Todd Zullinger wrote:
>> The man-db-cache-update service is also run via a file
>> trigger whenever files are installed to /usr/share/man by a
>> package. (See: rpm -q --filetriggers man-db)
>
> I _thought_ there was another trigger like that, but couldn't recall
> what it was. Thanks for reminding me!

Glad it helped.  I often forget about rpm -q --filetriggers.
I often run rpm -q --scripts out of habit and then I wonder
why the script I know exists isn't in the output. ;)

--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The direct use of physical force is so poor a solution to the problem
of limited resources that it is commonly employed only by small
children and great nations.
    -- David Friedman


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...

signature.asc (555 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

ToddAndMargo
In reply to this post by Rick Stevens-3
On 09/14/2018 01:57 PM, Rick Stevens wrote:

> On 09/14/2018 01:38 PM, ToddAndMargo wrote:
>> On 09/14/2018 01:22 PM, ToddAndMargo wrote:
>>> FC28
>>>
>>> Apropos return nothing to any question.  Did I
>>> forget to install something?
>>>
>>>
>>> Many thanks,
>>> -T
>>
>>
>>
>> Figured it out.  I have to run `mandb` as root and repeat every time
>> a new man page is installed
>
> There is a one-shot systemd service that updates the man page database
> on boot (man-db-cache-update.service) which should already be installed.
>
> You can "dnf install man-db-cron", which will periodically update the
> database via crony. Or continue to do it manually. Your choice.

Where is the crab entry written?  My /var/spool/cron is empty

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

Samuel Sieb
On 9/14/18 4:24 PM, ToddAndMargo wrote:
> On 09/14/2018 01:57 PM, Rick Stevens wrote:
>> You can "dnf install man-db-cron", which will periodically update the
>> database via crony. Or continue to do it manually. Your choice.
>
> Where is the crab entry written?  My /var/spool/cron is empty

/var/spool/cron is for user crontabs.  System ones are in /etc/cron.*
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

ToddAndMargo
On 09/14/2018 04:45 PM, Samuel Sieb wrote:
> On 9/14/18 4:24 PM, ToddAndMargo wrote:
>> On 09/14/2018 01:57 PM, Rick Stevens wrote:
>>> You can "dnf install man-db-cron", which will periodically update the
>>> database via crony. Or continue to do it manually. Your choice.
>>
>> Where is the crab entry written?  My /var/spool/cron is empty
>
> /var/spool/cron is for user crontabs.  System ones are in /etc/cron.*


# ls -al /var/spool/cron
total 8
drwx------.  2 root root 4096 Feb  6  2018 .
drwxr-xr-x. 15 root root 4096 Feb  7  2018 ..

What did man-db-cron add?


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

Ed Greshko
On 9/15/18 11:39 AM, ToddAndMargo wrote:

> On 09/14/2018 04:45 PM, Samuel Sieb wrote:
>> On 9/14/18 4:24 PM, ToddAndMargo wrote:
>>> On 09/14/2018 01:57 PM, Rick Stevens wrote:
>>>> You can "dnf install man-db-cron", which will periodically update the
>>>> database via crony. Or continue to do it manually. Your choice.
>>>
>>> Where is the crab entry written?  My /var/spool/cron is empty
>>
>> /var/spool/cron is for user crontabs.  System ones are in /etc/cron.*
>
>
> # ls -al /var/spool/cron
> total 8
> drwx------.  2 root root 4096 Feb  6  2018 .
> drwxr-xr-x. 15 root root 4096 Feb  7  2018 ..
>
> What did man-db-cron add?
>
Check....

/etc/cron.daily/man-db.cron


--
Cardinal Rule of Presentations: "Tell them what you are going to tell them, tell
them, then tell them what you told them."


_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

Samuel Sieb
In reply to this post by ToddAndMargo
On 9/14/18 8:39 PM, ToddAndMargo wrote:

> On 09/14/2018 04:45 PM, Samuel Sieb wrote:
>> On 9/14/18 4:24 PM, ToddAndMargo wrote:
>>> Where is the crab entry written?  My /var/spool/cron is empty
>>
>> /var/spool/cron is for user crontabs.  System ones are in /etc/cron.*
>
>
> # ls -al /var/spool/cron
> total 8
> drwx------.  2 root root 4096 Feb  6  2018 .
> drwxr-xr-x. 15 root root 4096 Feb  7  2018 ..
>
> What did man-db-cron add?

Did you read the message you replied to?  /var/spool/cron is only for
user crontabs.  If it's a system added cron entry, it will be in one of
the /etc/cron.* directories.

# dnf repoquery -l man-db-cron
/etc/cron.daily/man-db.cron

Or use "rpm -ql man-db-cron" if you have it installed already.
_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

ToddAndMargo
In reply to this post by Ed Greshko
On 09/14/2018 08:44 PM, Ed Greshko wrote:

> On 9/15/18 11:39 AM, ToddAndMargo wrote:
>> On 09/14/2018 04:45 PM, Samuel Sieb wrote:
>>> On 9/14/18 4:24 PM, ToddAndMargo wrote:
>>>> On 09/14/2018 01:57 PM, Rick Stevens wrote:
>>>>> You can "dnf install man-db-cron", which will periodically update the
>>>>> database via crony. Or continue to do it manually. Your choice.
>>>>
>>>> Where is the crab entry written?  My /var/spool/cron is empty
>>>
>>> /var/spool/cron is for user crontabs.  System ones are in /etc/cron.*
>>
>>
>> # ls -al /var/spool/cron
>> total 8
>> drwx------.  2 root root 4096 Feb  6  2018 .
>> drwxr-xr-x. 15 root root 4096 Feb  7  2018 ..
>>
>> What did man-db-cron add?
>>
>
> Check....
>
> /etc/cron.daily/man-db.cron

That as it!  Thank you!

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...
Reply | Threaded
Open this post in threaded view
|

Re: apropos?

ToddAndMargo
In reply to this post by Samuel Sieb
On 09/14/2018 08:52 PM, Samuel Sieb wrote:

> On 9/14/18 8:39 PM, ToddAndMargo wrote:
>> On 09/14/2018 04:45 PM, Samuel Sieb wrote:
>>> On 9/14/18 4:24 PM, ToddAndMargo wrote:
>>>> Where is the crab entry written?  My /var/spool/cron is empty
>>>
>>> /var/spool/cron is for user crontabs.  System ones are in /etc/cron.*
>>
>>
>> # ls -al /var/spool/cron
>> total 8
>> drwx------.  2 root root 4096 Feb  6  2018 .
>> drwxr-xr-x. 15 root root 4096 Feb  7  2018 ..
>>
>> What did man-db-cron add?
>
> Did you read the message you replied to?  /var/spool/cron is only for
> user crontabs.  If it's a system added cron entry, it will be in one of
> the /etc/cron.* directories.
>
> # dnf repoquery -l man-db-cron
> /etc/cron.daily/man-db.cron
>
> Or use "rpm -ql man-db-cron" if you have it installed already.

Thank you!

_______________________________________________
users mailing list -- [hidden email]
To unsubscribe send an email to [hidden email]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@...