Summary: | sys-apps/man-db-2.8.3 - Could not launch PAGER | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | bert |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Juergen Rose
2018-07-13 20:43:58 UTC
Does this stll happen with man-db-2.8.4? (In reply to Lars Wendler (Polynomial-C) from comment #1) > Does this stll happen with man-db-2.8.4? The first test on an other system with man-db-2.8.4 was succesful. 'man chown' worked. (In reply to Juergen Rose from comment #2) > (In reply to Lars Wendler (Polynomial-C) from comment #1) > > Does this stll happen with man-db-2.8.4? > > The first test on an other system with man-db-2.8.4 was succesful. > 'man chown' worked. Now it fails again: rose@orca:/home/rose(1)$ man swapon could not launch PAGER: No such file or directory rose@orca:/home/rose(2)$ qlist -Iv man-db sys-apps/man-db-2.8.4 rose@orca:/home/rose(3)$ env | grep -i pager PAGER=less -c -e -R MANPAGER=manpager or on the next system: root@localhost:/root(14)# man swapon could not launch PAGER: No such file or directory man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | LESS=-ix8RmPm Manual page swapon(8) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page swapon(8) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$-R -M --shift 5 MAN_PN=swapon(8) manpager root@localhost:/root(15)# qlist -Iv man-db sys-apps/man-db-2.8.4 root@localhost:/root(16)# env | grep -i pager PAGER=less -c -e -R MANPAGER=manpager Can confirm this exact issue for man-db-2.7.6-r2 as well. After some digging the issue appears to be related to adding arguments to the command specified as PAGER. This worked fine with the deprecated man program, but man-db appears to really not like it. [dragon@superbia ~]% echo $PAGER less -R [dragon@superbia ~]% man man could not launch PAGER: No such file or directory man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | (cd /home/dragon && LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$-R -M --shift 5 MAN_PN=man(1) manpager) [dragon@superbia ~]% export PAGER="/usr/bin/less -R" [dragon@superbia ~]% echo $PAGER /usr/bin/less -R [dragon@superbia ~]% man man could not launch PAGER: No such file or directory man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | (cd /home/dragon && LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$-R -M --shift 5 MAN_PN=man(1) manpager) [dragon@superbia ~]% export PAGER=less [dragon@superbia ~]% echo $PAGER less [dragon@superbia ~]% man man MAN(1) Manual pager utils MAN(1) NAME man - an interface to the on-line reference manuals ... Since this was with zsh I did another test with bash to confirm it is not shell related: dragon@superbia ~ $ export PAGER="less -R" dragon@superbia ~ $ echo $PAGER less -R dragon@superbia ~ $ man man could not launch PAGER: No such file or directory man: command exited with status 1: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | (cd /home/dragon && LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$-R -M --shift 5 MAN_PN=man(1) manpager) |