Re: MANPATH

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Den 2017-03-20 kl. 19:45, skrev poma:
> Hello!
> 
> Somehow, along the way, MANPATH hit rather strange value, so that the manuals must be entered manually without the help of completion feature.
> 
> # dnf install python3-sphinx
> ...
> Installed:
>   Lmod.x86_64 6.5.1-2.fc24            python-sphinx-locale.noarch 1.4.8-2.fc24 
>   python3-sphinx.noarch 1.4.8-2.fc24 
> 
> Complete!
> 
> $ echo $MANPATH
> /usr/share/lmod/lmod/share/man::
> 
> $ alternatives --list | grep lmod
> modules.sh	auto	/usr/share/lmod/lmod/init/profile
> 
> $ alternatives --display modules.sh
> modules.sh - status is auto.
>  link currently points to /usr/share/lmod/lmod/init/profile
> /usr/share/lmod/lmod/init/profile - priority 20
>  slave modules.csh: /usr/share/lmod/lmod/init/cshrc
> Current `best' version is /usr/share/lmod/lmod/init/profile.
> 
> $ grep export.MANPATH /usr/share/lmod/lmod/init/profile
>       export MANPATH=:
>     export MANPATH=$(/usr/share/lmod/lmod/libexec/addto MANPATH /usr/share/lmod/lmod/share/man)
> 
> $ rpm -qf /usr/share/lmod/lmod/init/profile
> Lmod-6.5.1-2.fc24.x86_64
> 
> 
> Guys, what is the recommended solution for $MANPATH?

It use /etc/man_db.conf instead of $MANPATH. On my machines (Fedora 24)
the $MANPATH is empty so I think package Lmod.x86_64 6.5.1-2.fc24
probably has some configuration problem. (?)
> 
> 1. Additional installation of "The Environment Modules" package?
> # dnf install environment-modules
> ...
> Installed:
>   environment-modules.x86_64 3.2.10-17.fc24                                     
> 
> Complete!
> 
> $ echo $MANPATH
> 
> $ alternatives --display modules.sh
> modules.sh - status is auto.
>  link currently points to /usr/share/Modules/init/modules.sh
> /usr/share/lmod/lmod/init/profile - priority 20
>  slave modules.csh: /usr/share/lmod/lmod/init/cshrc
> /usr/share/Modules/init/modules.sh - priority 40
>  slave modules.csh: /usr/share/Modules/init/csh
> Current `best' version is /usr/share/Modules/init/modules.sh.
> 
> $ rpm -qf /usr/share/Modules/init/modules.sh
> environment-modules-3.2.10-17.fc24.x86_64
> 
> OR
> 
> 2. Update to "unpushed" and remove "Environmental Modules System in Lua"?
> # dnf update ./python*sphinx*.rpm ; dnf remove Lmod
> ...
> Upgraded:
>   python-sphinx-locale.noarch 1.4.8-3.fc24  python3-sphinx.noarch 1.4.8-3.fc24 
> 
> Complete!
> ...
> Removed:
>   Lmod.x86_64 6.5.1-2.fc24                                                      
> 
> Complete!
> 
> $ echo $MANPATH
> 
> OR some other solution?
> 
> 
> Ref.
> "Remove environment-modules as well because aviso doesn't want major changesf24"
> https://src.fedoraproject.org/cgit/rpms/python-sphinx.git/commit/?h=f24
> 
> https://bodhi.fedoraproject.org/updates/FEDORA-2017-bd6e494a78
> - This update has been submitted for testing by toshio.
> - This update has been pushed to testing.
> ...
> - This update has been unpushed.
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> 


-- 
Regards

Jon Ingason
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux