Forum: Cfengine Help
Subject: Package architecture specification being ignored by cf3
Author: arawak2
Link to topic: https://cfengine.com/forum/read.php?3,17577,17577#msg-17577
Hi-
I'm running cfengine3-community-3.0.4 on CentOS5.4 x86_64. I'm trying to
install some i386 versions of packages and am finding that cf3 mistakes a
pre-existing x86_64 install of the same package as being a satisfied promise.
The promise:
vars:
"extra_packages_i386" slist => { "compat-libstdc++-33", "compat-libf2c-34",
"anthy" };
packages:
"$(extra_packages_i386)"
package_policy => "add",
package_method => yum,
package_architectures => { "i386" };
The results of a cf-agent run:
cf3
cf3 .........................................................
cf3 Promise handle:
cf3 Promise made by: anthy
cf3 .........................................................
cf3
cf3 ?? Already have a package list for this manager
cf3 -> Package version was not specified
cf3 ... trying listed arch i386
cf3 -> Looking for (anthy,*,*)
cf3 -> Matched name anthy
cf3 -> Matched version *
cf3 -> Looking for (anthy,*,i386)
cf3 -> Matched name anthy
cf3 !! Unsatisfied constraints in promise (anthy,*,i386)
cf3 -> 1 package(s) matching the name "anthy" already installed
cf3 -> 0 package(s) match the promise body's criteria fully
cf3 -> Package promises to refer to itself as "anthy.i386" to the manager
cf3 -> Package version seems to match criteria
cf3 -> Package already installed, so we never add it again
The state of packages before and after cfagent.
# yum list | grep -i anthy
anthy.x86_64 7900-4.el5 installed
anthy.i386 7900-4.el5 base
I suspect this is something not working quite right with the cf3 package regex
but I can't imagine I'm the first one to come across this ... so perhaps it is
user error.
Thank you.
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine