Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] No manual entry for java-config

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

[SOLVED] No manual entry for java-config

  • Quote

Post by charles17 » Sun Mar 01, 2020 10:52 am

Trying to display java-config man page:

Code: Select all

$ qlist java-config | grep man
/usr/share/man/man1/java-config-2.1.bz

Code: Select all

$ man java-config
No manual entry for java-config
Any idea?
Last edited by charles17 on Sun Mar 01, 2020 10:55 pm, edited 1 time in total.
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

Re: No manual entry for java-config

  • Quote

Post by ff11 » Sun Mar 01, 2020 11:07 am

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.bz

Code: Select all

$ man java-config
No manual entry for java-config
Any idea?
Just do:

Code: Select all

$ man -u java-config
To rebuild the database for java-config.
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Mar 01, 2020 11:53 am

Because name is java-config-2

Code: Select all

$ man java-config-2
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Mar 01, 2020 3:09 pm

fedeliallalinea wrote:Because name is java-config-2

Code: Select all

$ man java-config-2
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?
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

  • Quote

Post by ff11 » Sun Mar 01, 2020 3:12 pm

charles17 wrote:
fedeliallalinea wrote:Because name is java-config-2

Code: Select all

$ man java-config-2
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?
You can use the "apropos" to find, like:

Code: Select all

$ apropos java
By the way: my "$ man java-config" still works fine.
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sun Mar 01, 2020 3:25 pm

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?
As ff11 say you can use apropos . or man -k .
In my case I use bash-completion (or zsh-completion) so when I write man and double <tab> the list is showed
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Mar 01, 2020 3:39 pm

ff11 wrote:Just do:

Code: Select all

$ man -u java-config
To rebuild the database for java-config.
No luck

Code: Select all

$ man -u java-config
No manual entry for java-config
ff11 wrote: You can use the "apropos" to find, like:

Code: Select all

$ apropos java
Also no luck:

Code: Select all

$ apropos java

java: nothing appropriate.
ff11 wrote:By the way: my "$ man java-config" still works fine.
But why not here?
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

  • Quote

Post by ff11 » Sun Mar 01, 2020 3:43 pm

charles17 wrote: But why not here?
Then try to rebuild all the database first:

Code: Select all

$ sudo mandb
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Mar 01, 2020 4:00 pm

ff11 wrote:Then try to rebuild all the database first:

Code: Select all

$ sudo mandb
No sudo here, but

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.
And then finally:

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 Registry
And also man java-config without trailing number works here (again).
Thanks for your help
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

  • Quote

Post by ff11 » Sun Mar 01, 2020 4:08 pm

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).
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Mar 01, 2020 4:24 pm

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).
No cron here. I was expecting the man stuff to be updated by @world updates. What's wrong with it?
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

  • Quote

Post by ff11 » Sun Mar 01, 2020 4:32 pm

charles17 wrote:
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).
No cron here. I was expecting the man stuff to be updated by @world updates. What's wrong with it?
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).
I myself, just update it when I need it, I don't use man pages everyday, and I only need updates like one per year.
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Mar 01, 2020 4:39 pm

I don't see this mentioned on the wiki article :-(
Top
ff11
l33t
l33t
User avatar
Posts: 665
Joined: Mon Mar 10, 2014 10:24 pm

  • Quote

Post by ff11 » Sun Mar 01, 2020 4:49 pm

charles17 wrote:I don't see this mentioned on the wiki article :-(
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.
The users that don't want that task, will just remove it (but taking note of why).
But if you don't use cron, then you have to know everything that need to be running, not only mandb, but others things like logrotate (or someday you will have problems with "/var/log/" size)
Again, I myself have "sys-process/cronie" installed, but not running. And I just take a look on the tasks (/etc/cron*), that I make one manual run when I need it.
| Proverbs 26:12 |
| There is more hope for a fool than for a wise man that are wise in his own eyes. |
* AlphaGo - The Movie - Full Documentary "I want to apologize for being so powerless" - Lee
Top
Post Reply

14 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic