Forum: Cfengine Help
Subject: Re: Package architecture specification being ignored by cf3
Author: daveseff
Link to topic: https://cfengine.com/forum/read.php?3,17577,20084#msg-20084
I'm giving this a bump, as I have the same issue on 3.0.5p1. It seems that if a
package of the same name, but different arch is installed, CFE will ignore any
other package request, regardless of arch.
I have libgfortran.i386 installed currently, want to add .x86_64::
cf3 .........................................................
cf3
cf3 ?? Already have a package list for this manager
cf3 -> Package version was not specified
cf3 ... trying listed arch x86_64
cf3 -> Looking for (libgfortran,*,*)
cf3 -> Matched name libgfortran
cf3 -> Matched version *
cf3 -> Looking for (libgfortran,*,x86_64)
cf3 -> Matched name libgfortran
cf3 !! Unsatisfied constraints in promise (libgfortran,*,x86_64)
cf3 ... trying listed arch i386
cf3 -> Looking for (libgfortran,*,*)
cf3 -> Matched name libgfortran
cf3 -> Matched version *
cf3 -> Looking for (libgfortran,*,i386)
cf3 -> Matched name libgfortran
cf3 -> Matched arch i386
cf3 -> Matched version *
cf3 -> 2 package(s) matching the name "libgfortran" already installed
cf3 -> 1 package(s) match the promise body's criteria fully
cf3 -> Package promises to refer to itself as "libgfortran.i386" to the manager
cf3 -> Package version seems to match criteria
cf3 -> Package "libgfortran" already installed, so we never add it again
My Promise:
packages:
any::
"libgfortran"
package_policy => "add",
package_method => yum,
package_architectures => { "x86_64",
"i386" };
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine