texdoc package-name provided package's manual in previous in my system.
But, now it results -
$ texdoc beamer
Sorry, no documentation found for beamer.
If you are unsure about the name, try searching CTAN's TeX catalogue at
http://ctan.org/search.html#byDescription.
I am running Ubuntu 14.04 and my LaTeX-2016. I have installed it from tug.org.
A few days ago I noticed that when I updated my ubuntu packages from ubuntu software updater there was latex-base. I have installed all those updates. I don't know whether the problem occurs for those updates or not.
Edit 1
provided that tlmgr update --self results -
$ tlmgr update --self
(running on Debian, switching to user mode!)
/usr/bin/tlmgr: Initialization failed (in setup_unix_one):
/usr/bin/tlmgr: could not find a usable xzdec.
/usr/bin/tlmgr: Please install xzdec and try again.
Couldn't set up the necessary programs.
Installation of packages is not supported.
Please report to texlive@tug.org.
tlmgr: exiting unsuccessfully (status 1).
and which texdoc results -
/usr/bin/texdoc
I will be highly glad if you provide any fruitful solution.
which texdoc). You should not need to run texdoc under sudo – daleif Sep 05 '17 at 07:19tlgmgr update --selfand see what that does for you. – thymaro Sep 05 '17 at 07:47sudo texdoc...may cause it to use the Ubuntu installed LaTeX instead of the TUG one. For example did you prepend the TUG PATH to the path root uses? – daleif Sep 05 '17 at 07:51sudoby mistake. It is not working withoutsudo. I edited my question. – alhelal Sep 05 '17 at 12:59tlmgr update --selfinstead oftlgmgr update --self– alhelal Sep 05 '17 at 13:00$ tlmgr update --self (running on Debian, switching to user mode!) /usr/bin/tlmgr: Initialization failed (in setup_unix_one): /usr/bin/tlmgr: could not find a usable xzdec. /usr/bin/tlmgr: Please install xzdec and try again. Couldn't set up the necessary programs. Installation of packages is not supported. Please report to texlive@tug.org. tlmgr: exiting unsuccessfully (status 1).– alhelal Sep 05 '17 at 13:02which texdocsay? (t repeat daleif's comment) – samcarter_is_at_topanswers.xyz Sep 05 '17 at 13:07which texdocresults/usr/bin/texdoc– alhelal Sep 05 '17 at 13:09/usr/local/texlive/...) at the start of your path variable in order to get thetexdocfrom there. – samcarter_is_at_topanswers.xyz Sep 05 '17 at 13:22export PATH="/usr/local/texlive/2016/bin/x86_64-linux/:$PATH"– samcarter_is_at_topanswers.xyz Sep 05 '17 at 14:31