有几天,我在通知栏中看到了红色的圆圈。在无法运行软件更新程序之后,我尝试使用apt-get更新。
这就是我得到的:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com stable Release: The following signatures were invalid: BADSIG A040830F7FAC5991 Go
为此,我正在开发一个用于自动生成报告的小项目,我正在使用wkhtmltopdf开发一些我转换为pdf的HTML。
我开发了一个使用windows版本的解决方案,在迁移到Linux时遇到了麻烦。
当迁移到Linux时,我用javaScript生成的图表没有正确地呈现,在做了一些研究之后,我发现解决方案是使用wkhtmltopdf - use -xserver选项,我在终端上尝试了它,它工作得很好。
以下是我的问题所在:
我可以在我的用户和根用户中使用-- use -xserver选项,但当我的应用程序使用"tomcat“用户执行wkhtmltopdf with --use-xserver