dh:无法加载插件配置包

dh: unable to load addon config-package

安装 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

我通过安装软件包 config-package-dev

修复了它
sudo apt-get install config-package-dev