PDF, XML reports are empty on Kali Linux

There is a result in the GUI but when I want to download the report as PDF or XML, it is empty.
image

┌──(root㉿kali)-[/home/linux]
└─# apt install texlive-latex-extra --no-install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
texlive-latex-extra is already the newest version (2022.20220722-2).
texlive-latex-extra set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 663 not upgraded.
                                                                                        
┌──(root㉿kali)-[/home/linux]
└─# apt install texlive-fonts-recommended --no-install-recommends
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
texlive-fonts-recommended is already the newest version (2022.20220722-1).
texlive-fonts-recommended set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 663 not upgraded.

I found these packages mentioned but still I have no result. (They were already there)

0 bytes
image

This is a duplicate of a few existing threads which both have some more insights into this topic:

Thank you so much. I will take a look again.
I saw those issues but it does not seem solved actually, maybe I missed it.

I followed what they said:
Report locations, latex.xsl etc. but I have still the issue unfortunately
/usr/share/gvm/gvmd/report_formats/
/var/lib/gvm/gvmd/report_formats/

@securitylearner

please read the topics:

solution: remove whole line:

“\usepackage[utf8x]{inputenc}”

from file: /var/lib/gvm/gvmd/report_formats/d45f0655-c486-4312-ad85-8b6fbe6f5b45/c402cc3e-b531-11e1-9163-406186ea4fc5/latex.xsl

please also note that issue comes back after “resync of feed”

chattr +i /var/lib/gvm/gvmd/report_formats/d45f0655-c486-4312-ad85-8b6fbe6f5b45/c402cc3e-b531-11e1-9163-406186ea4fc5/latex.xsl

makes file readonly after the fix. works only on ext filesystems.

Eero

2 Likes