首页 > 解决方案 > dh: 无法加载插件配置包

问题描述

使用以下命令安装 debuild 工具链后:

sudo apt-get install devscripts build-essential lintian

debuild运行构建包时出现以下错误:

dh clean  --with=config-package
dh: unable to load addon config-package: Can't locate Debian/Debhelper/Sequence/config_package.pm in @INC
(you may need to install the Debian::Debhelper::Sequence::config_package module) (@INC contains: ...) at (eval 12) line 2.
BEGIN failed--compilation aborted at (eval 12) line 2.

debian/rules:22: recipe for target 'clean' failed

标签: debianpackagecpandebian-jessiedebian-stretch

解决方案


我通过安装软件包来修复它config-package-dev

sudo apt-get install config-package-dev

推荐阅读