Actions
Bug #6996
closedIf we ask to install a package in a version at least equal to another, we get no report if the version installed is > than the one requested
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
I want to have at least rudder-agent 3.0.5 on my system
I have 3.0.7, but the technique doesn't report anything (missing report)
verbose output says
rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: PackageMatch did not find [available] packages to match the constraints of promise (rudder-agent,3.0.5,*) [name,version,arch] rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: CheckPackageState: Available package match for (rudder-agent,3.0.5,*) [name,version,arch] was decisive: ERROR-OR-NOMATCH rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: CheckPackageState: matched package (rudder-agent,3.0.5,*) [name,version,arch]; scheduling operation rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Checking if package (rudder-agent,3.0.5,*) [name,version,arch] is at the desired state (installed=1,matched=0) rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Package promises to refer to itself as 'rudder-agent' to the manager rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Package version seems to match criteria rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Package method does NOT specify a file repository rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Checking if latest available version is newer than installed... rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Looking for an installed package older than (rudder-agent,3.0.5,*) [name,version,arch] rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Found installed package (rudder-agent,3.0.7-wheezy0,default) [name,version,arch] rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Executing '/usr/bin/dpkg --compare-versions '3.0.7-wheezy0' lt '3.0.5'' rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: CompareVersions: Checked whether package version 3.0.7-wheezy0 < 3.0.5: no rudder> /default/check_apt_package_installation/packages/'rudder-agent'[0]: Installed package is up to date, not updating
(you can find it on debian-7-64.labo.normation.com)
Actions