[EMAIL PROTECTED] (Debian Bug Tracking System) writes: > The code for the "package" action does only look at a package's > version when comparing an installed version against what the user > supplies, but totally ignores the version when actually running > apt-get. this becomes a problem whenever apt-get's default choice > needs to be overruled.
[snip] > a proper fix would involve some extension of the installation logic > (src/do.c, line 2713++): > some kind of "desired_version" attribute may be needed, if > the "version" attribute is used with a "cmp" other than "eq". > furthermore, a translation into the package manager's way of specifying > the version to install would be required. I guess this would be the best way. Anyone that have time to create a patch? :) > as a workaround for now one can use packagenames with the versions > embedded, ie. "fuse-utils/sarge-backports" or > "fuse-utils=2.5.3-1bpo1", and ignore the cfengine version comparison > mechanism. this results in apt-get being run unconditionally, but as > apt-get is idempotent this is not a problem beyond cluttering up > cfengine's diagnostic output. This is a workaround if you only want to install, if you want to compare packages I guess it will not work. - Werner -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]