I got an error on 1st cmomand.

[root@aleu-vlnx4 aleu4]# yum search tex | awk \'/^tex/ { print $1 }\' | xargs 
yum install -y
awk: cmd. line:1: '/^tex/
awk: cmd. line:1: ^ invalid char ''' in expression
Loaded plugins: fastestmirror, langpacks
Error: Need to pass a list of pkgs to install
Mini usage:

install PACKAGE...

Install a package or packages on your system

aliases: install-n, install-na, install-nevra

Exiting on Broken Pipe

From: [email protected] [mailto:[email protected]] On Behalf 
Of Eero Volotinen
Sent: Thursday, September 17, 2015 3:23 PM
To: Artie Leu
Cc: [email protected]
Subject: Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF 
format


please run following commands on root account



yum search tex | awk \'/^tex/ { print $1 }\' | xargs yum install -y

mkdir -p /usr/share/texlive/texmf-local/tex/latex/comment

cd /usr/share/texlive/texmf-local/tex/latex/comment

wget http://ping-viini.org/comment.sty

chown root:root comment.sty

chmod 664 comment.sty

texhash

From: Artie Leu
Sent: Thursday, September 17, 2015 3:12 PM
To: 'Eero Volotinen'
Cc: 
[email protected]<mailto:[email protected]>
Subject: RE: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF 
format

Thanks for all tips.  But it doesn’t work for me. Openvas-check-pdf still gives 
same output.  ☹

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Eero Volotinen
Sent: Thursday, September 17, 2015 3:01 PM
To: Artie Leu
Cc: 
[email protected]<mailto:[email protected]>
Subject: Re: [Openvas-discuss] [Newsletter] Re: issue of download report in PDF 
format

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




***  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

Reply via email to