View previous topic :: View next topic |
Author |
Message |
cyberpatrol Apprentice
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Mon Jan 31, 2005 5:03 am Post subject: Different manpages in text terminal and in Konsole |
|
|
I wanted to try out openntpd. Therefore I first did an 'emerge unmerge ntp' and then an 'emerge openntpd'.
When I then entered 'man ntpd' in the text console (not in X) I've got the manpage of openntpd as expected. When I entered 'man ntpd' in KDE's Konsole I haven't got the manpage of openntpd but of "the old" ntp.
After that I did an 'emerge unmerge openntpd' and deleted /etc/ntpd.conf, /etc/init.d/ntpd and /etc/conf.d/ntpd to uninstall ntp and openntpd completely.
When I now enter 'man ntpd' in the text console (again not in X) I'm getting no manpage as expected. When I enter 'man ntpd' in KDE's Konsole I'm still getting the manpage of "the old" ntp.
Does anyone know why I'm getting different manpages in the text console and in KDE's Konsole and how I can delete the manpage displayed in KDE's Konsole? |
|
Back to top |
|
|
soramame n00b
Joined: 07 Nov 2004 Posts: 35 Location: /brazil/sp/sao carlos
|
Posted: Tue Feb 01, 2005 1:35 am Post subject: very weird |
|
|
This is really, really weird. Maybe it is something related to your man cache, or to your environment variables (are you using the same shell in the console and in the Konsole?). Check your MANPATH variable in both environments. Just a guess. _________________ bruno nery, i.e., solo soramame
you won't suceed unless you try. |
|
Back to top |
|
|
oberyno Guru
Joined: 15 Feb 2004 Posts: 467 Location: /bin/zsh
|
Posted: Tue Feb 01, 2005 6:29 am Post subject: |
|
|
Yep, konsole is probably looking in /var/cache/man for a manpage.
Portage installs the man page sources in /usr/share/man by default. When you first view a manpage, it gets cached in /var/cache/man, so it can load faster. When you unmerge an app though, it leaves behind all the viewed manpages in /var/cache/man. |
|
Back to top |
|
|
cyberpatrol Apprentice
Joined: 18 Sep 2003 Posts: 161 Location: Germany
|
Posted: Thu Feb 03, 2005 5:31 am Post subject: |
|
|
The man cache was the problem. I must have missed it when searching for files with the pattern *ntp* on my harddisk before. Now I've found them in /var/cache/man.
After deleting these files I'm getting the same manpages on text console as well as in KDE's Konsole.
Thank you both.
BTW, the MANPATH variables had the same values. |
|
Back to top |
|
|
|