当我运行ubuntu-bug或apport-collect时,会将一个列出所有设备的udevdb.txt文件上传到Launchpad。
如果不使用Launchpad,我如何获得这个文件?
发布于 2018-04-04 00:57:57
Apport使用的命令是:udevadm info --export-db
请参阅attach_hardware函数中的/usr/lib/python3/dist-packages/apport/hookutils.py。它也对分区标签进行了一些匿名化,但如果您只是在本地分析输出,这并不重要。
发布于 2017-08-21 22:54:41
我从未使用过apport-collect,但从man页面可以使用apport-cli获得所需的内容:
apport-cli [ --save file ] 摘录自man apport-cli:
-保存文件名
In --file-bug mode, save the collected information into a file
instead of reporting it. This file can then be reported with
--crash-file later on.用法:
apport-cli [ --save file ] symptom | pid | package | program path | .apport/.crash filehttps://askubuntu.com/questions/948464
复制相似问题