[xen-tools-discuss] installDebianPackage + --no-install-recommends == subtle issues (w/ custom roles)
Eric Engstrom
engstrom at sift.net
Mon Dec 9 16:50:54 CET 2013
On 12/6/13 5:01 PM, Axel Beckert wrote:
> On Wed, Nov 20, 2013 at 02:20:06PM -0600, Eric Engstrom wrote:
>> [...] recommended packages are no longer installed by
>> installDebianPackage() in hooks/common.sh. (see details below)
>>
>> Specifically in my case, I noted this first with the debian package
>> `logcheck`, which recommends `logcheck-database`, but I really expected
>> and wanted the latter too. Of course, my workaround for now is to
>> _explicitly_ install some recommended packages like that.
>
> What I can offer is to add a function named
> installDebianPackageAndRecommends or similar in hooks/common.sh so
> that it's easier for those who relied on it to convert their roles
> or hooks.
An obvious fix, and if easy, someone might find it helpful. I've
already gone through the process and only found one other package
where I was relying upon auto-installing recommended packages.
> What likely triggered the commit 979b6fb16609f871487d5d77f23731e2d4b7d23d:
> * grub-common recommends os-prober, but os-prober is neither needed
> nor wanted in a freshly bootstrapped virtual machine.
Totally understandable rationale and source example.
Thanks for the followup.
Eric
More information about the xen-tools-discuss
mailing list