<div dir="ltr">Ah, that may be it. I'm on 4.1.5. Thanks Nicolas, I'll try the upgrade.<div><br></div><div>Cheers,</div><div><br></div><div>Rob</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><font color="#351c75"><br></font></div><div><div style="font-size:small"><span style="color:rgb(53,28,117)">--</span><br></div><div style="font-size:small"><font color="#000000"><b>Rob Pomeroy</b>, </font><a href="https://www.isc2.org/cissp" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">CISSP</font></a><font color="#0b5394" style="color:rgb(11,83,148)">, <a href="http://solicitors.lawsociety.org.uk/person/250541/robert-john-pomeroy" target="_blank"><font color="#0b5394">Solicitor</font></a> </font><font color="#0b5394">(</font><font color="#000000">non-practising)</font><b><font color="#000000"> | </font></b><font color="#0b5394" style="color:rgb(11,83,148)"><a href="mailto:rob@pomeroy.me" style="color:rgb(11,83,148)" target="_blank">rob@pomeroy.me</a></font></div><div style="font-size:small"><a href="https://www.smashwords.com/books/view/78386" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">My novel</font></a><font color="#0b5394"> | </font><font color="#0b5394"><a href="http://www.linkedin.com/in/robpomeroy" target="_blank"><font color="#0b5394">LinkedIn</font></a> | </font><a href="http://pomeroy.me/" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">Personal blog</font></a><font color="#000000"> | </font><a href="http://geekanddummy.com/" style="color:rgb(11,83,148)" target="_blank"><font color="#0b5394">Geek & Dummy</font></a></div></div></div></div></div></div></div></div></div></div>
<br><div class="gmail_quote">On 14 September 2017 at 08:33, Nicolas Charles <span dir="ltr"><<a href="mailto:nicolas.charles@normation.com" target="_blank">nicolas.charles@normation.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF"><span class="">
    <div class="m_3562894206863810747moz-cite-prefix">Le 12/09/2017 à 18:13, Rob Pomeroy a
      écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi,
        <div><br>
        </div>
        <div>I'm trying to install the OCS Inventory agent via rudder.
          When Rudder attempts to run this promise, it fails with exit
          code 100:</div>
        <blockquote style="margin:0 0 0 40px;border:none;padding:0px">
          <div><font face="monospace, monospace"><br>
            </font></div>
          <div><font face="monospace, monospace"><br>
            </font></div>
          <div>
            <div><font face="monospace, monospace">rudder  verbose: P:
                BEGIN promise 'promise_package_lib_cf_174' of type
                "packages" (pass 1)</font></div>
          </div>
          <div>
            <div><font face="monospace, monospace">rudder  verbose: P:  
                 Promiser/affected object: 'ocsinventory-agent'</font></div>
          </div>
          <div>
            <div><font face="monospace, monospace">rudder  verbose: P:  
                 From parameterized bundle: ncf_package(
                {"ocsinventory-agent","latest"<wbr>,"default","default","present"<wbr>,""})</font></div>
          </div>
          <div>
            <div><font face="monospace, monospace">rudder  verbose: P:  
                 Base context class:
                use_apt_provider.!<wbr>architecture_specified.<wbr>version_specified</font></div>
          </div>
          <div>
            <div><font face="monospace, monospace">rudder  verbose: P:  
                 Stack path: /default/rudder_directives/<wbr>methods/'Install
                OCS Inventory agent/Install OCS Inventory
agent'/default/package_<wbr>management/methods/'package_1'<wbr>/default/package_state/<wbr>methods/'action'/default/ncf_<wbr>package/packages/'<wbr>ocsinventory-agent'[1]</font></div>
          </div>
          <div>
            <div><font face="monospace, monospace">rudder  verbose:
                Command
                '/var/rudder/cfengine-<wbr>community/modules/packages/<wbr>apt_get
                repo-install' returned with non zero return code: 100</font></div>
          </div>
          <div>
            <div><font face="monospace, monospace">rudder     info: Some
                error occurred while communicating with package module
                while installing package.</font></div>
          </div>
          <div>
            <div><font face="monospace, monospace">   error: Error
                installing package 'ocsinventory-agent'</font></div>
          </div>
        </blockquote>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Is this because the ocsinventory-agent package runs a
          wizard immediately following installation? Or is there some
          other reason?</div>
        <div><br>
        </div>
        <div>I haven't been able to find any documentation for the CF
          Engine return code. If I install the package manually,
          installation proceeds without error. This occurs on Ubuntu 14
          & 16 (64-bit).</div>
        <div><br>
        </div>
        <div>Any ideas?</div>
        <div><br>
        </div>
      </div>
    </blockquote></span>
    Dear Rob,<br>
    <br>
    Which version of Rudder are you using?<br>
    This looks very much like this bug: 
    <a class="m_3562894206863810747moz-txt-link-freetext" href="https://www.rudder-project.org/redmine/issues/11207" target="_blank">https://www.rudder-project.<wbr>org/redmine/issues/11207</a> which has been
    fixed in Rudder 4.1.7<br>
    <br>
    So I recommend that you upgrade Rudder, or, if you can't upgrade
    yet, there is a workaround described at the bottom of the answers in
    the ticket,<br>
    <br>
    <br>
    Kind regards,<br>
    Nicolas
  </div>

</blockquote></div><br></div>