PINE64

Full Version: Manpages fix on KDE neon?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
The man pages are not working as of now with an up to date KDE neon installation. 

Does anyone know how to fix it? I searched and found some old posts about nroff or troff missing, but this is not the case anymore.

Thanks
(11-12-2018, 08:02 PM)acruhl Wrote: [ -> ]The man pages are not working as of now with an up to date KDE neon installation. 

Does anyone know how to fix it?


Is man-db installed?
(11-12-2018, 10:51 PM)evilbunny Wrote: [ -> ]
(11-12-2018, 08:02 PM)acruhl Wrote: [ -> ]The man pages are not working as of now with an up to date KDE neon installation. 

Does anyone know how to fix it?


Is man-db installed?

Yes:

user@pinebook:~$ dpkg --list man-db
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  man-db         2.8.3-2ubunt arm64        on-line manual pager
So what errors are you seeing?
Seems to be a well known problem, with not a lot of good solutions:

https://bugs.debian.org/cgi-bin/bugrepor...bug=889617
One workaround has been described in this thread https://forum.pine64.org/showthread.php?tid=6443&page=5 by rookieone.


Code:
sudo apt install apparmor-utils
sudo aa-disable /usr/bin/man


It worked for me.
(11-16-2018, 03:04 AM)Surehand53 Wrote: [ -> ]One workaround has been described in this thread https://forum.pine64.org/showthread.php?tid=6443&page=5 by rookieone.


Code:
sudo apt install apparmor-utils
sudo aa-disable /usr/bin/man


It worked for me.

I attached a picture of the error. 

I'll try that fix.

Wow, worked. I have no idea what apparmor is or why I need it. I'll research it.
Apparmor is good if you need it, and a pain if you don't. If you look run 'sudo aa-status' you can see all the apps that are "protected" by apparmor. If you move /etc/apparmor.d/usr.bin.man to someplace else, like /root, and restart the Pinebook, man pages will work (since man is no longer protected).

You can also try to disable apparmor, but just doing that didn't work for me.
https://help.ubuntu.com/community/AppArmor