Project

General

Profile

Actions

Bug #6996

closed

If 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

Added by Nicolas CHARLES almost 9 years ago. Updated over 8 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
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)


Subtasks 1 (0 open1 closed)

Bug #7002: If 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 (on 3.0)ReleasedNicolas CHARLES2015-07-16Actions

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #6438: rpmPackageInstallation doesn't report anything if the package we want to install has a version lower than the one we haveRejected2015-03-25Actions
Actions

Also available in: Atom PDF