Wednesday 15 June 2011

PDF reports in Greenbone Security Assistant

I've seen a few forum posts on PDF report generation failing on Greenbone Security Assistant, particularly when installing for pre-compiled packages. If you check in the /tmp directory you will find the remains of the working directory used to create the report and a useful log file.
! LaTeX Error: File `utf8x.def' not found.
There's a quick workaround that deals with this missing dependency since no CentOS package actually contains utf8x.def.
[root@server ~]# cd /usr/share/texmf/tex/latex/base/
[root@server base]# ln -s utf8.def utf8x.def
[root@server base]# texhash
PDF reporting should now work.