Project

General

Profile

Actions

Bug #12599

closed

Rudder agent 4.3 needs libxml-treepp-perl on debian

Added by Benoît PECCATTE almost 6 years ago. Updated almost 2 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Very Small
Priority:
121
Name check:
Fix check:
Regression:

Description

We should just add a dependency there

Error message is

Version: 4.3.0~rc2~git201803160036-stretch0

Can't locate XML/TreePP.pm in @INC (you may need to install the XML::TreePP module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /var/rudder/cfengine-community/inputs/inventory/1.0/test-inventory.pl line 5.
BEGIN failed--compilation aborted at /var/rudder/cfengine-community/inputs/inventory/1.0/test-inventory.pl line 5.

For reference, this is hard to reproduce and it may be due to a change in perl dependencies between debian 8 and debian 9.
We are not sure what leads to that problem, nor what exact version of debian/ubuntu are impacted. For example, it's possible to install a debian 9, install rudder agent, force remove treepp (
dpkg -r --force-depends libxml-treepp-perl), and still get a working inventory.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #12235: Inventory failed on debian 9 on relay onlyRejectedFélix DALLIDETActions
Related to Rudder - Bug #18132: Agent 5.0 on Debian Buster needs xml-tree-ppRejectedActions
Actions

Also available in: Atom PDF