[DRE-maint] Bug#839718: chef: Missing dependency on lsb-base

Santiago Vila sanvila at unex.es
Tue Oct 4 09:29:57 UTC 2016


Package: chef
Version: 12.10.24-1
Tags: patch

Dear maintainer:

Using sbuild, I tried to build a package having chef in its
build-depends and this is what happened after the package was built:

---------------------------------------------------------------------
[...]
Removing sbuild-build-depends-ruby-cheffish-dummy (0.invalid.0) ...
Removing chef (12.10.24-1) ...
invoke-rc.d: could not determine current runlevel
/etc/init.d/chef-client: 25: .: Can't open /lib/lsb/init-functions
invoke-rc.d: initscript chef-client, action "stop" failed.
dpkg: error processing package chef (--remove):
 subprocess installed pre-removal script returned error exit status 2
---------------------------------------------------------------------

This happens because there is an undeclared dependency on lsb-base
(which is not essential).

Patch attached.

Thanks.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: chef.patch.txt
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20161004/f7566fe8/attachment.txt>


More information about the Pkg-ruby-extras-maintainers mailing list