Code: Select all
$ qlist java-config | grep man
/usr/share/man/man1/java-config-2.1.bzCode: Select all
$ man java-config
No manual entry for java-configCode: Select all
$ qlist java-config | grep man
/usr/share/man/man1/java-config-2.1.bzCode: Select all
$ man java-config
No manual entry for java-configJust do:charles17 wrote:Trying to display java-config man page:Code: Select all
$ qlist java-config | grep man /usr/share/man/man1/java-config-2.1.bzAny idea?Code: Select all
$ man java-config No manual entry for java-config
Code: Select all
$ man -u java-config
Code: Select all
$ man java-config-2You are right, that's it.fedeliallalinea wrote:Because name is java-config-2Code: Select all
$ man java-config-2
You can use the "apropos" to find, like:charles17 wrote:You are right, that's it.fedeliallalinea wrote:Because name is java-config-2Code: Select all
$ man java-config-2
But how to find out if you don't know? Is there kind of command listing the available man pages?
Code: Select all
$ apropos java
As ff11 say you can use apropos . or man -k .charles17 wrote:You are right, that's it.
But how to find out if you don't know? Is there kind of command listing the available man pages?
No luckff11 wrote:Just do:To rebuild the database for java-config.Code: Select all
$ man -u java-config
Code: Select all
$ man -u java-config
No manual entry for java-configAlso no luck:ff11 wrote: You can use the "apropos" to find, like:Code: Select all
$ apropos java
Code: Select all
$ apropos java
java: nothing appropriate.But why not here?ff11 wrote:By the way: my "$ man java-config" still works fine.
Then try to rebuild all the database first:charles17 wrote: But why not here?
Code: Select all
$ sudo mandbNo sudo here, butff11 wrote:Then try to rebuild all the database first:Code: Select all
$ sudo mandb
Code: Select all
$ su -c mandb
Password:
Processing manual pages under /usr/share/man...
Checking for stray cats under /usr/share/man...
Checking for stray cats under /var/cache/man...
Processing manual pages under /usr/share/man/fr.UTF-8...
Checking for stray cats under /usr/share/man/fr.UTF-8...
Checking for stray cats under /var/cache/man/fr.UTF-8...
Processing manual pages under /usr/share/man/da.UTF-8...
Checking for stray cats under /usr/share/man/da.UTF-8...
Checking for stray cats under /var/cache/man/da.UTF-8...
Processing manual pages under /usr/share/man/it.UTF-8...
Checking for stray cats under /usr/share/man/it.UTF-8...
Checking for stray cats under /var/cache/man/it.UTF-8...
Processing manual pages under /usr/share/man/ru.KOI8-R...
Checking for stray cats under /usr/share/man/ru.KOI8-R...
Checking for stray cats under /var/cache/man/ru.KOI8-R...
Processing manual pages under /usr/share/man/de.ISO8859-1...
Checking for stray cats under /usr/share/man/de.ISO8859-1...
Checking for stray cats under /var/cache/man/de.ISO8859-1...
Processing manual pages under /usr/share/man/da...
Checking for stray cats under /usr/share/man/da...
Checking for stray cats under /var/cache/man/da...
Processing manual pages under /usr/share/man/de.UTF-8...
Checking for stray cats under /usr/share/man/de.UTF-8...
Checking for stray cats under /var/cache/man/de.UTF-8...
Processing manual pages under /usr/share/man/ru...
Checking for stray cats under /usr/share/man/ru...
Checking for stray cats under /var/cache/man/ru...
Processing manual pages under /usr/share/man/it.ISO8859-1...
Checking for stray cats under /usr/share/man/it.ISO8859-1...
Checking for stray cats under /var/cache/man/it.ISO8859-1...
Processing manual pages under /usr/share/man/hr...
Checking for stray cats under /usr/share/man/hr...
Checking for stray cats under /var/cache/man/hr...
Processing manual pages under /usr/share/man/jp...
Checking for stray cats under /usr/share/man/jp...
Checking for stray cats under /var/cache/man/jp...
Processing manual pages under /usr/share/man/ja...
Checking for stray cats under /usr/share/man/ja...
Checking for stray cats under /var/cache/man/ja...
Processing manual pages under /usr/share/man/pl...
Checking for stray cats under /usr/share/man/pl...
Checking for stray cats under /var/cache/man/pl...
Processing manual pages under /usr/share/man/it...
Checking for stray cats under /usr/share/man/it...
Checking for stray cats under /var/cache/man/it...
Processing manual pages under /usr/share/man/ru.UTF-8...
Checking for stray cats under /usr/share/man/ru.UTF-8...
Checking for stray cats under /var/cache/man/ru.UTF-8...
Processing manual pages under /usr/share/man/de...
Checking for stray cats under /usr/share/man/de...
Checking for stray cats under /var/cache/man/de...
Processing manual pages under /usr/share/man/da.ISO8859-1...
Checking for stray cats under /usr/share/man/da.ISO8859-1...
Checking for stray cats under /var/cache/man/da.ISO8859-1...
Processing manual pages under /usr/share/man/es...
Checking for stray cats under /usr/share/man/es...
Checking for stray cats under /var/cache/man/es...
Processing manual pages under /usr/share/man/pl.ISO8859-2...
Checking for stray cats under /usr/share/man/pl.ISO8859-2...
Checking for stray cats under /var/cache/man/pl.ISO8859-2...
Processing manual pages under /usr/share/man/fr...
Checking for stray cats under /usr/share/man/fr...
Checking for stray cats under /var/cache/man/fr...
Processing manual pages under /usr/share/man/pl.UTF-8...
Checking for stray cats under /usr/share/man/pl.UTF-8...
Checking for stray cats under /var/cache/man/pl.UTF-8...
Processing manual pages under /usr/share/man/hu...
Checking for stray cats under /usr/share/man/hu...
Checking for stray cats under /var/cache/man/hu...
Processing manual pages under /usr/share/man/fr.ISO8859-1...
Checking for stray cats under /usr/share/man/fr.ISO8859-1...
Checking for stray cats under /var/cache/man/fr.ISO8859-1...
35 man subdirectories contained newer manual pages.
17571 manual pages were added.
0 stray cats were added.
0 old database entries were purged.
Code: Select all
$ apropos java
java-config-2 (1) - The Java configuration tool for Gentoo
node (1) - server-side JavaScript runtime
npm (1) - javascript package manager
npm-README (1) - a JavaScript package manager
registry (7) - The JavaScript Package RegistryNo cron here. I was expecting the man stuff to be updated by @world updates. What's wrong with it?ff11 wrote:Good to know. But I have to inform you about something:
The normal user get the man database updates from cron daily tasks (https://wiki.gentoo.org/wiki/Cron) in "/etc/cron.daily/man-db".
Then, if you aren't running it, you will need to do manual updates from time to time (if you need updates, of couse).
Because it take forever for each package that need it. The pacman on ArchLinux do this, but a lot of users don't like it. The Gentoo (and ubuntu...) do using "nice" background cron daily tasks (the normal users feel less pain that way).charles17 wrote:No cron here. I was expecting the man stuff to be updated by @world updates. What's wrong with it?ff11 wrote:Good to know. But I have to inform you about something:
The normal user get the man database updates from cron daily tasks (https://wiki.gentoo.org/wiki/Cron) in "/etc/cron.daily/man-db".
Then, if you aren't running it, you will need to do manual updates from time to time (if you need updates, of couse).
Because the normal working linux installation use cron, and "sys-apps/man-db" install the task "/etc/cron.daily/man-db", then the users don't need to do nothing for it to work.charles17 wrote:I don't see this mentioned on the wiki article