Centos 7 is a bit buggy on pdf so it requires workaround
run following commands:
yum search tex | awk \'/^tex/ { print $1 }\' | xargs yum install -y
mkdir -p /usr/share/texlive/texmf-local/tex/latex/comment
download this file http://ping-viini.org/comment.sty to location
/usr/share/texlive/texmf-local/tex/latex/comment/comment.sty
with root owner and permission 664
run following command:
cd /usr/share/texlive/texmf-local/tex/latex/comment ; texhash
it should work after this hack-a-round ? test with my openvas-check-pdf
script?
--
Eero
2015-09-18 0:55 GMT+03:00 Artie Leu <[email protected]>:
> My OpenVAS-8 is installed on CentOS 7. I am confused by what It is really
> missing. The latex pkg is installed already. Any idea?
>
>
>
> [root@centos]# yum install texlive-latex
>
> Loaded plugins: fastestmirror, langpacks
>
> Loading mirror speeds from cached hostfile
>
> * atomic: www6.atomicorp.com
>
> * base: mirror.pac-12.org
>
> * extras: mirror.pac-12.org
>
> * updates: mirrors.xmission.com
>
> Package 2:texlive-latex-svn27907.0-32.el7.noarch already installed and
> latest version
>
> Nothing to do
>
>
>
> [root@centos]# pdflatex -version
>
> pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013)
>
> kpathsea version 6.1.1
>
> Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
>
> There is NO warranty. Redistribution of this software is
>
> covered by the terms of both the pdfTeX copyright and
>
> the Lesser GNU General Public License.
>
> For more information about these matters, see the file
>
> named COPYING and the pdfTeX source.
>
> Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh
> (pdfTeX).
>
> Compiled with libpng 1.5.13; using libpng 1.5.13
>
> Compiled with zlib 1.2.7; using zlib 1.2.7
>
> Compiled with poppler version 0.22.5
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Eero Volotinen
> *Sent:* Thursday, September 17, 2015 2:49 PM
>
> *To:* Artie Leu
> *Cc:* [email protected]
> *Subject:* Re: [Openvas-discuss] [Newsletter] Re: issue of download
> report in PDF format
>
>
>
> as you can see from output that your system is missing (pdf) latex tools
> and libraries.
>
>
>
> what os (distribution) you are using?
>
>
>
> you need to install 'pdflatex' and related tools using package
> management. on centos 7 workaround is needed it contains buggy pdf support.
>
>
>
> --
>
> Eero
>
>
>
> 2015-09-18 0:14 GMT+03:00 Artie Leu <[email protected]>:
>
> I got the output below:
>
>
>
> [root@centos7 # ./openvas-check-pdf
>
> Step 10: Checking presence of optional tools ...
>
> OK: pdflatex found.
>
> WARNING: PDF generation failed, most likely due to missing LaTeX
> packages. The PDF report format will not work.
>
> SUGGEST: Install required LaTeX packages.
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On
> Behalf Of *Eero Volotinen
> *Sent:* Thursday, September 17, 2015 2:10 PM
> *To:* Artie Leu
> *Cc:* [email protected]
>
>
> *Subject:* Re: [Openvas-discuss] [Newsletter] Re: issue of download
> report in PDF format
>
>
>
> Hi,
>
>
>
> run this script and what is output related to pdf stuff:
>
>
>
> http://ping-viini.org/openvas-check-pdf
>
>
>
> --
>
> Eero
>
> to 17. syyskuuta 2015 23.42 Artie Leu <[email protected]> kirjoitti:
>
> Hi Eero, I don’t see any PDF dependency mentioned in the output of
> “openvas-check-setup”? -Artie
>
>
>
> *From:* Openvas-discuss [mailto:
> [email protected]] *On Behalf Of *Eero Volotinen
> *Sent:* Thursday, September 17, 2015 11:40 AM
> *To:* Chris; [email protected]
> *Subject:* Re: [Openvas-discuss] [Newsletter] Re: issue of download
> report in PDF format
>
>
>
> Another issue is that pdf latex dependencies are missing. Check with
> openvas-check-setup.it it saying that pdf support is working?
>
> Eero
>
>
>
> to 17. syyskuuta 2015 21.37 Chris <[email protected]> kirjoitti:
>
> Hi,
>
> > My scanner and manager versions are 5.0.4 and 6.0.5. Are they not
> latest ones?
>
> mhhh, strange. Normally 6.0.5 of the manager should have fixed this:
>
> http://wald.intevation.org/frs/shownotes.php?release_id=826
> _______________________________________________
> Openvas-discuss mailing list
> [email protected]
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
> **** Please note that this message and any attachments may contain
> confidential and proprietary material and information and are intended only
> for the use of the intended recipient(s). If you are not the intended
> recipient, you are hereby notified that any review, use, disclosure,
> dissemination, distribution or copying of this message and any attachments
> is strictly prohibited. If you have received this email in error, please
> immediately notify the sender and destroy this e-mail and any attachments
> and all copies, whether electronic or printed. Please also note that any
> views, opinions, conclusions or commitments expressed in this message are
> those of the individual sender and do not necessarily reflect the views of
> Fortinet, Inc., its affiliates, and emails are not binding on Fortinet and
> only a writing manually signed by Fortinet's General Counsel can be a
> binding commitment of Fortinet to Fortinet's customers or partners. Thank
> you. *** *
> * ------------------------------ *
>
>
> * ------------------------------ *
>
> **** Please note that this message and any attachments may contain
> confidential and proprietary material and information and are intended only
> for the use of the intended recipient(s). If you are not the intended
> recipient, you are hereby notified that any review, use, disclosure,
> dissemination, distribution or copying of this message and any attachments
> is strictly prohibited. If you have received this email in error, please
> immediately notify the sender and destroy this e-mail and any attachments
> and all copies, whether electronic or printed. Please also note that any
> views, opinions, conclusions or commitments expressed in this message are
> those of the individual sender and do not necessarily reflect the views of
> Fortinet, Inc., its affiliates, and emails are not binding on Fortinet and
> only a writing manually signed by Fortinet's General Counsel can be a
> binding commitment of Fortinet to Fortinet's customers or partners. Thank
> you. *** *
> * ------------------------------ *
>
>
>
>
> *------------------------------ *** Please note that this message and any
> attachments may contain confidential and proprietary material and
> information and are intended only for the use of the intended recipient(s).
> If you are not the intended recipient, you are hereby notified that any
> review, use, disclosure, dissemination, distribution or copying of this
> message and any attachments is strictly prohibited. If you have received
> this email in error, please immediately notify the sender and destroy this
> e-mail and any attachments and all copies, whether electronic or printed.
> Please also note that any views, opinions, conclusions or commitments
> expressed in this message are those of the individual sender and do not
> necessarily reflect the views of Fortinet, Inc., its affiliates, and emails
> are not binding on Fortinet and only a writing manually signed by
> Fortinet's General Counsel can be a binding commitment of Fortinet to
> Fortinet's customers or partners. Thank you. ***
> ------------------------------*
>
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss