Can you post your config? What i have patched is in your output: {{{ > Checking if package (wireshark,1.0.15,*) is at the desired state > (installed=1,matched=0) }}} it means that the package is installed but does not meet your requirements. Else you would get this message:
{{{ Package (%s) already installed and matches criteria (%s }}} On 30 jun 2011, at 20:11, no-re...@cfengine.com wrote: > Forum: Cfengine Help > Subject: Re: Advice on using package promises > Author: jgreer > Link to topic: https://cfengine.com/forum/read.php?3,22672,22686#msg-22686 > > Mark, > > None of these move the package from 1.0.11 to 1.0.15 - please advise. > > > # grep package_select /var/cfengine/inputs/dcsunix/packagesClient.cf | grep > -v "^#" > package_select => ">=", > # yum list installed | grep wireshark > wireshark.x86_64 1.0.11-1.el5_5.5 > installed > > > > cf3> -> Package (wireshark,1.0.11,x86_64) found > cf3> # Patch reporting feature is only available in version Nova and above > cf3> ??????????????????????????????????????????????????????????????? > cf3> Done checking packages and patches > cf3> ??????????????????????????????????????????????????????????????? > cf3> -> Package version specified implicitly in promiser's name > cf3> -> Looking for (wireshark,*,*) > cf3> -> Matched name wireshark > cf3> -> Matched version * > cf3> -> Looking for (wireshark,1.0.15,*) > cf3> -> Matched name wireshark > cf3> -> Check for compatible versioning model in (1.0.15,1.0.11) > cf3> -> Verified that versioning models are compatible > cf3> -> Versions did not match > cf3> No installed packages matched (wireshark,1.0.15,*) > cf3> Checking if package (wireshark,1.0.15,*) is at the desired state > (installed=1,matched=0) > cf3> -> Package promises to refer to itself as "wireshark-1.0.15" to the > manager > cf3> -> Package version seems to match criteria > cf3> Checking if latest available version is newer than installed... > cf3> Looking for an installed package older than (wireshark,1.0.15,*) > cf3> !! Package (wireshark,*) is not installed > cf3> Installed package is up to date, not updating > > > # grep package_select /var/cfengine/inputs/dcsunix/packagesClient.cf | grep > -v "^#" > package_select => "<", > # yum list installed | grep wireshark > wireshark.x86_64 1.0.11-1.el5_5.5 > installed > > > cf3> ?? Already have a (cached) package list for this manager > cf3> -> Package version specified implicitly in promiser's name > cf3> -> Looking for (wireshark,*,*) > cf3> -> Matched name wireshark > cf3> -> Matched version * > cf3> -> Looking for (wireshark,1.0.15,*) > cf3> -> Matched name wireshark > cf3> -> Check for compatible versioning model in (1.0.15,1.0.11) > cf3> -> Verified that versioning models are compatible > cf3> -> Verified version constraint promise kept > cf3> -> Package (wireshark-1.0.15) already installed and matches criteria > (1.0.15) > > > > # yum list installed | grep wireshark > wireshark.x86_64 1.0.11-1.el5_5.5 > installed > # grep package_select /var/cfengine/inputs/dcsunix/packagesClient.cf | grep > -v "^#" > package_select => ">", > > > > cf3> ?? Already have a (cached) package list for this manager > cf3> -> Package version specified implicitly in promiser's name > cf3> -> Looking for (wireshark,*,*) > cf3> -> Matched name wireshark > cf3> -> Matched version * > cf3> -> Looking for (wireshark,1.0.15,*) > cf3> -> Matched name wireshark > cf3> -> Check for compatible versioning model in (1.0.15,1.0.11) > cf3> -> Verified that versioning models are compatible > cf3> -> Versions did not match > cf3> No installed packages matched (wireshark,1.0.15,*) > cf3> Checking if package (wireshark,1.0.15,*) is at the desired state > (installed=1,matched=0) > cf3> -> Package promises to refer to itself as "wireshark-1.0.15" to the > manager > cf3> Checking if latest available version is newer than installed... > cf3> Looking for an installed package older than (wireshark,1.0.15,*) > cf3> !! Package (wireshark,*) is not installed > cf3> Installed package is up to date, not updating > > > # grep package_select /var/cfengine/inputs/dcsunix/packagesClient.cf | grep > -v "^#" > package_select => "!=", > # yum list installed | grep wireshark > wireshark.x86_64 1.0.11-1.el5_5.5 > installed > > > cf3> ?? Already have a (cached) package list for this manager > cf3> -> Package version specified implicitly in promiser's name > cf3> -> Looking for (wireshark,*,*) > cf3> -> Matched name wireshark > cf3> -> Matched version * > cf3> -> Looking for (wireshark,1.0.15,*) > cf3> -> Matched name wireshark > cf3> -> Check for compatible versioning model in (1.0.15,1.0.11) > cf3> -> Verified that versioning models are compatible > cf3> -> Verified version constraint promise kept > cf3> -> Package (wireshark-1.0.15) already installed and matches criteria > (1.0.15) > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine -- Bas van der Vlies b...@sara.nl
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine