bug: lintian 命令报错、无法正常使用

bug: lintian 命令报错、无法正常使用

2025.3.27

版本:

  • openKylin 2.0 SP1 amd64
  • lintian v2.117.0-ok2

说明:lintian 命令,于用检测 deb 软件包的打包质量,可以检测出很多常见的打包缺陷,比如:

  • 文件属主异常、权限异常,control 文件中的语法不规范、英文错别字,等等。

$ pkg -s lintian | grep -i version:
Version: 2.117.0-ok2

算是老毛病 了。

$ lintian ~/deb/texlive-full_2023.20240207-ok1_all.deb

输出:

Could not find a profile matching: openkylin/main at /usr/share/lintian/bin/…/lib/Lintian/Profile.pm line 595.
Lintian::Profile::read_profile(Lintian::Profile=HASH(0xce57de8), undef) called at /usr/share/lintian/bin/…/lib/Lintian/Profile.pm line 399
Lintian::Profile::load(Lintian::Profile=HASH(0xce57de8), undef, ARRAY(0xcf5bc50), 1) called at /usr/bin/lintian line 508