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)
Updated by Nicolas CHARLES over 9 years ago
mod_packages, line 1689, break without defining result, so it should result RESULT_NOOP, so CheckPackageState returns RESULT_NOOP, but somehow it doesn't bubble up to the result :(
Updated by Alexis Mousset over 9 years ago
- Status changed from New to In progress
Updated by Alexis Mousset over 9 years ago
Only happen when updating (and not installing).
Updated by Alexis Mousset over 9 years ago
Upstream issue: https://dev.cfengine.com/issues/7399
Preparing the patches for our packages.
Updated by Alexis Mousset over 9 years ago
- Category changed from Techniques to Agent
Updated by Alexis Mousset over 9 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-packages/pull/710
Updated by Alexis Mousset over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|15f7a0abbcb5428314d4ecc876723561f0c9f4b4.
Updated by Nicolas CHARLES over 9 years ago
Applied in changeset rudder-packages|05b7444c5446e5919ba655bc42315cba341fa665.
Updated by François ARMAND over 9 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset about 9 years ago
From CFEngine ticket:
Cherry-picked and will be in 3.6.7 and 3.7.2.
Updated by Alexis Mousset about 9 years ago
- Has duplicate Bug #6438: rpmPackageInstallation doesn't report anything if the package we want to install has a version lower than the one we have added
Actions