The issue is discussed in https://cfengine.org/pipermail/help- cfengine/2008-February/002960.html
The conclusion apparently was/is, that Debian changed the command to execute. Quoting from the linked post: START QUOTE Here's an excerpt from the Debian Etch (backports) patch [2] against cfengine: @@ -753,7 +753,7 @@ } /* check what version is installed on the system (if any) */ -snprintf (VBUFF, CF_BUFSIZE, "/usr/bin/apt-cache policy %s", package); +snprintf (VBUFF, CF_BUFSIZE, "LANG=C /usr/bin/apt-cache policy %s", package); if ((pp = cfpopen (VBUFF, "r")) == NULL) { So, what has been done here is to change the command line from something simple that popen can handle, to having a environmental var defined, but the author of this distro patch has *not* changed the following cfpopen line to cfpopen_sh to match his change directly above. END QUOTE S, to fix the problem, apparently the cfpopen needs to be changed to a cfpopen_sh, such that the shell is invoked to handle the LANG=C -- Test for installed packages in cfengine is broken https://bugs.launchpad.net/bugs/232450 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs