In some cases the package latexextra is missing.
Problem and temporary solution:
If you are running OpenVAS 7 on a Centos 7 machine, PDF-Generation is not working. The required package "texlive-collection-latexextra" is currently (October 2014) not available in the official repositories.
You can identify this problem the following way:
when running
# openvas-check-setupthe check reports:
... Step 9: 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. ...and
# yum install texlive-collection-latexextrashows sth. like:
"The package texlive-collection-latexextra is not available"
One possible alternative is the installation of texlive from the official texlive-mirrors.
# wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz # tar xvzf install-tl-unx.tar.gz # cd install-tl-* # ./install-tlPlease refer to the instructions on https://www.tug.org/texlive/acquire-netinstall.html
and
https://www.tug.org/texlive/doc/texlive-en/texlive-en.html#x1-18057r2
Use "options (O)" and "create symlinks (L)" for the texlive-
binaries to: /usr/bin manpages to: /usr/share/man to: /usr/share/infoNow return (R) to the main menu an install (I) texlive
In the next step, you need to install openvas-manager without the dependencies. Unfortunately this step is required as the manually installed texlive was not registered with the package management system and yum tries to reinstall texlive, which MIGHT cause erratic behaviour of texlive
Download openvas-manager from the atomic repository:
# yum install --downloadonly --downloaddir=/tmp openvas-managerand install
# cd /tmp # rpm -i --nodeps openvas-manager-*.rpmNow you can install greenbone-security-assistant normally with
# yum install greenbone-security-assistantWhen running
# openvas-check-setupyou should receive:
... Step 9: Checking presence of optional tools ... OK: pdflatex found. OK: PDF generation successful. The PDF report format is likely to work. ...If you already had installed openvas and texlive, you can remove texlive without resolving missing dependcies like this:
# rpm -e --nodeps -v $(rpm -qa 'texlive*')now you can reinstall texlive like described above. This should keep your existing openvas installation intact.
Comentários
Postar um comentário