Processed: Re: Bug#218630: [PATCH] fix dh_installwm manpages
Processing commands for [EMAIL PROTECTED]: > retitle 218630 xterm: "man xterm" brings up uxterm's manpage Bug#218630: "man xterm" tells me to look at the xterm man page Changed Bug title. > thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database)
Bug#218630: [PATCH] fix dh_installwm manpages
#include * Branden Robinson [Mon, Nov 10 2003, 10:59:47PM]: > > Could somebody who can reproduce this bug (not me at the moment) please > > (a) run 'man -d xterm' and (b) run 'accessdb | egrep > > "(xterm|x-terminal-emulator)"'? Thanks. I wish I could but it is no longer reproducible for me. MfG, Eduard. -- Der Wilde kniet vor Götzenbildern aus Holz und Stein, der Zivilisierte vor solchen aus Fleisch und Blut. -- George Bernard Shaw
Bug#218630: [PATCH] fix dh_installwm manpages
On Sun, Nov 09, 2003 at 05:59:33PM +, Colin Watson wrote: > No, I shouldn't think so. Something has gone stupid in man's database or > its handling of that database, I think, which is very likely a bug. > Indeed, I don't think it should be touching the database at all here. > > Could somebody who can reproduce this bug (not me at the moment) please > (a) run 'man -d xterm' and (b) run 'accessdb | egrep > "(xterm|x-terminal-emulator)"'? Thanks. Here you go. -- G. Branden Robinson| "There is no gravity in space." Debian GNU/Linux | "Then how could astronauts walk [EMAIL PROTECTED] | around on the Moon?" http://people.debian.org/~branden/ | "Because they wore heavy boots." ruid=1000, euid=1000 ++priv_drop_count = 1 From the config file /etc/manpath.config: Mandatory mandir `/usr/man'. Mandatory mandir `/usr/share/man'. Mandatory mandir `/usr/X11R6/man'. Mandatory mandir `/usr/local/man'. Path `/bin' mapped to mandir `/usr/share/man'. Path `/usr/bin' mapped to mandir `/usr/share/man'. Path `/sbin' mapped to mandir `/usr/share/man'. Path `/usr/sbin' mapped to mandir `/usr/share/man'. Path `/usr/local/bin' mapped to mandir `/usr/local/man'. Path `/usr/local/bin' mapped to mandir `/usr/local/share/man'. Path `/usr/local/sbin' mapped to mandir `/usr/local/man'. Path `/usr/local/sbin' mapped to mandir `/usr/local/share/man'. Path `/usr/X11R6/bin' mapped to mandir `/usr/X11R6/man'. Path `/usr/bin/X11' mapped to mandir `/usr/X11R6/man'. Path `/usr/games' mapped to mandir `/usr/share/man'. Path `/opt/bin' mapped to mandir `/opt/man'. Path `/opt/sbin' mapped to mandir `/opt/man'. Global mandir `/usr/man', catdir `/var/cache/man/fsstnd'. Global mandir `/usr/share/man', catdir `/var/cache/man'. Global mandir `/usr/local/man', catdir `/var/cache/man/oldlocal'. Global mandir `/usr/local/share/man', catdir `/var/cache/man/local'. Global mandir `/usr/X11R6/man', catdir `/var/cache/man/X11R6'. Global mandir `/opt/man', catdir `/var/cache/man/opt'. Added section `1'. Added section `n'. Added section `l'. Added section `8'. Added section `3'. Added section `2'. Added section `3pm'. Added section `3perl'. Added section `5'. Added section `4'. Added section `9'. Added section `6'. Added section `7'. `/usr/man' `' `1' `/usr/share/man'`' `1' `/usr/X11R6/man'`' `1' `/usr/local/man'`' `1' `/bin' `/usr/share/man'`0' `/usr/bin' `/usr/share/man'`0' `/sbin' `/usr/share/man'`0' `/usr/sbin' `/usr/share/man'`0' `/usr/local/bin'`/usr/local/man'`0' `/usr/local/bin'`/usr/local/share/man' `0' `/usr/local/sbin' `/usr/local/man'`0' `/usr/local/sbin' `/usr/local/share/man' `0' `/usr/X11R6/bin'`/usr/X11R6/man'`0' `/usr/bin/X11' `/usr/X11R6/man'`0' `/usr/games'`/usr/share/man'`0' `/opt/bin' `/opt/man' `0' `/opt/sbin' `/opt/man' `0' `/usr/man' `/var/cache/man/fsstnd' `-1' `/usr/share/man'`/var/cache/man'`-1' `/usr/local/man'`/var/cache/man/oldlocal' `-1' `/usr/local/share/man' `/var/cache/man/local' `-1' `/usr/X11R6/man'`/var/cache/man/X11R6' `-1' `/opt/man' `/var/cache/man/opt'`-1' `1' `' `-5' `n' `' `-5' `l' `' `-5' `8' `' `-5' `3' `' `-5' `2' `' `-5' `3pm' `' `-5' `3perl' `' `-5' `5' `' `-5' `4' `' `-5' `9' `' `-5' `6' `' `-5' `7' `' `-5' real user = 1000; effective user = 1000 using /usr/bin/less as pager path directory /home/branden/bin is not in the config file but does have a ../man or man subdirectory adding /home/branden/man to manpath path directory /home/branden/bin is not in the config file but does have a ../man or man subdirectory /home/branden/man is already in the manpath path directory /usr/local/bin is in the config file adding /usr/local/man to manpath man: warning: /usr/local/share/man: No such file or directory path directory /usr/bin is in the config file adding /usr/share/man to manpath path directory /bin is in the config file /usr/share/man is already in the manpath path directory /usr/bin/X11 is in the config file adding /usr/X11R6/man to manpath path directory /usr/games is in the config file /usr/share/man is already in the manpath adding mandatory man directories man: warning: /usr/man: No such file or directory /usr/share/man is already in the manpath /usr/X11R6/man is already in the manpath /usr/local/man is already in the manpath add_nls_manpath(): processing /home/branden/man:/usr/local/man:/usr/share/man:/usr/X11R6/man adding /home/branden/man to manpathlist adding /usr/local/man to manpathlist adding /usr/share/man to manpathlist adding /usr/X11R6/man to manpathlist *manpath search path* = /home/branden/man:/usr/local/man:/usr/share/man:/usr/X11R6/man --priv_drop_count = 0
Bug#218630: [PATCH] fix dh_installwm manpages
On Sun, Nov 09, 2003 at 05:59:33PM +, Colin Watson wrote: > > On Fri, Nov 07, 2003 at 10:44:34PM -0500, Branden Robinson wrote: > > > There may actually be a problem with installing alternatives to > > > manpages. > > No, I shouldn't think so. Something has gone stupid in man's database or > its handling of that database, I think, which is very likely a bug. > Indeed, I don't think it should be touching the database at all here. > > Could somebody who can reproduce this bug (not me at the moment) please > (a) run 'man -d xterm' and (b) run 'accessdb | egrep > "(xterm|x-terminal-emulator)"'? Thanks. Certainly. I shall send it to you separately to not burden all these good people with it. > This is also bug #204249, which I unfortunately hadn't had time to look > at until now, so I'm extending the already long Cc: list to include > that. OK. I shall trim the CC list to eliminate the people whose interest is in debhelper, not man ;-) -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk
Bug#218630: [PATCH] fix dh_installwm manpages
On Sun, Nov 09, 2003 at 05:41:02PM +, Matthew Wilcox wrote: > On Fri, Nov 07, 2003 at 10:44:34PM -0500, Branden Robinson wrote: > > There may actually be a problem with installing alternatives to > > manpages. > > > > See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=218630 >. > > > > I don't know what to do about this yet. > > I don't understand the problem ;-) > > Why does man choose to display x-terminal-emulator(1) when I > ask it for xterm? It happens on my system (and I also have > x-terminal-emulator pointing to uxterm). From an strace, I see > man opening /var/cache/man/index.db and then choosing to open > /usr/share/man/man1/x-terminal-emulator.1.gz > > But according to man(1), specifying -u should cause this database to be > updated if it no longer represents the filesystem. This doesn't help > though (man xterm still brings up x-terminal-emulator). I'm confused. > > In any event, I can't produce an analagous problem with lwm/twm. > man lwm brings up the lwm(1x) manapge, man twm brings up the twm(1x) > manpage and man x-window-manager brings up lwm(1x). update-alternatives > does the correct thing (lwm and twm still come up appropriately and > x-window-manager now brings up twm(1x)). > > It almost looks as if man has some special knowledge that xterm really > should mean x-terminal-emulator, which is quite ridiculous. Is there > perhaps some configuration or manpage directive I've overlooked? No, I shouldn't think so. Something has gone stupid in man's database or its handling of that database, I think, which is very likely a bug. Indeed, I don't think it should be touching the database at all here. Could somebody who can reproduce this bug (not me at the moment) please (a) run 'man -d xterm' and (b) run 'accessdb | egrep "(xterm|x-terminal-emulator)"'? Thanks. This is also bug #204249, which I unfortunately hadn't had time to look at until now, so I'm extending the already long Cc: list to include that. Cheers, -- Colin Watson [EMAIL PROTECTED]
Bug#218630: [PATCH] fix dh_installwm manpages
On Fri, Nov 07, 2003 at 10:44:34PM -0500, Branden Robinson wrote: > On Fri, Nov 07, 2003 at 03:55:15PM +, Matthew Wilcox wrote: > > --- /usr/share/debhelper/autoscripts/postinst-wm2003-07-28 > > 15:25:17.0 -0400 > > +++ postinst-wm 2003-11-07 09:21:57.0 -0500 > > @@ -1,4 +1,6 @@ > > if [ "$1" = "configure" ]; then > > update-alternatives --install /usr/bin/x-window-manager \ > > - x-window-manager #WM# #PRIORITY# > > + x-window-manager #WM# #PRIORITY# \ > > + --slave /usr/share/man/man1/x-window-manager.1.gz \ > > + x-window-manager.1.gz #MANPAGE# > > fi > > There may actually be a problem with installing alternatives to > manpages. > > See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=218630 >. > > I don't know what to do about this yet. I don't understand the problem ;-) Why does man choose to display x-terminal-emulator(1) when I ask it for xterm? It happens on my system (and I also have x-terminal-emulator pointing to uxterm). From an strace, I see man opening /var/cache/man/index.db and then choosing to open /usr/share/man/man1/x-terminal-emulator.1.gz But according to man(1), specifying -u should cause this database to be updated if it no longer represents the filesystem. This doesn't help though (man xterm still brings up x-terminal-emulator). I'm confused. In any event, I can't produce an analagous problem with lwm/twm. man lwm brings up the lwm(1x) manapge, man twm brings up the twm(1x) manpage and man x-window-manager brings up lwm(1x). update-alternatives does the correct thing (lwm and twm still come up appropriately and x-window-manager now brings up twm(1x)). It almost looks as if man has some special knowledge that xterm really should mean x-terminal-emulator, which is quite ridiculous. Is there perhaps some configuration or manpage directive I've overlooked? -- "It's not Hollywood. War is real, war is primarily not about defeat or victory, it is about death. I've seen thousands and thousands of dead bodies. Do you think I want to have an academic debate on this subject?" -- Robert Fisk