Actions
Bug #4732
closedPackage management Ubuntu doesn't respect Package version number (optional)
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
2014-04-03T15:29:54+0200 verbose: Matched name 'zabbix-agent' 2014-04-03T15:29:54+0200 verbose: Matched version * 2014-04-03T15:29:54+0200 verbose: Looking for (zabbix-agent,1:2.2.2-1+precise,*) 2014-04-03T15:29:54+0200 verbose: Matched name 'zabbix-agent' 2014-04-03T15:29:54+0200 verbose: Check for compatible versioning model in (1:1.8.11-1,1:2.2.2-1+precise) 2014-04-03T15:29:54+0200 verbose: Verified that versioning models are compatible 2014-04-03T15:29:54+0200 verbose: Checking whether package version 1:1.8.11-1 == 1:2.2.2-1+precise: no 2014-04-03T15:29:54+0200 verbose: No installed packages matched (zabbix-agent,1:2.2.2-1+precise,*) 2014-04-03T15:29:54+0200 verbose: Checking if package (zabbix-agent,1:2.2.2-1+precise,*) is at the desired state (installed=1,matched=0) 2014-04-03T15:29:54+0200 verbose: Package promises to refer to itself as 'zabbix-agent' to the manager 2014-04-03T15:29:54+0200 verbose: Package version seems to match criteria 2014-04-03T15:29:54+0200 verbose: /check_apt_package_installation/packages/'${apt_package[${index_aptpkg}]}': Additional promise info: source path '/var/rudder/cfengine-community/inputs/aptPackageInstallation/2.0/aptPackageInstallation.cf' at line 261 comment 'Handling zabbix-agent using apt_nobulk, policy : add' 2014-04-03T15:29:54+0200 verbose: /check_apt_package_installation/packages/'${apt_package[${index_aptpkg}]}': Package 'zabbix-agent' already installed, so we never add it again
In the directive i specified to install 1:2.2.2-1+precise. The repo to install it from was not available from the beginning. However, it should not install any other version than the version specified. Can you please fix that?
Updated by Nicolas CHARLES over 10 years ago
- Category set to Techniques
- Status changed from New to Discussion
- Assignee set to Dennis Cabooter
- Target version set to 2.9.5
Dennis,
Could you try to modify the Technique, to add in the body package_method apt_nobulk the following:
package_version_equal_command => "/usr/bin/dpkg --compare-versions $(v1) eq $(v2)"; package_version_less_command => "/usr/bin/dpkg --compare-versions $(v1) lt $(v2)";
Does it improve the situation ?
Thank you
Nicolas
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 2.9.5 to 2.9.6
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.9.6 to 2.9.7
Updated by Jonathan CLARKE over 10 years ago
- Target version changed from 2.9.7 to 150
Updated by Vincent MEMBRÉ over 10 years ago
- Target version changed from 150 to 2.10.4
Updated by Nicolas PERRON over 10 years ago
- Target version changed from 2.10.4 to 2.10.5
Updated by Vincent MEMBRÉ about 10 years ago
- Target version changed from 2.10.5 to 2.10.6
Updated by Matthieu CERDA about 10 years ago
- Target version changed from 2.10.6 to 2.10.7
Updated by Vincent MEMBRÉ about 10 years ago
- Target version changed from 2.10.7 to 2.10.8
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.8 to 2.10.9
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.9 to 2.10.10
Updated by Vincent MEMBRÉ almost 10 years ago
- Target version changed from 2.10.10 to 2.10.11
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.11 to 2.10.12
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.12 to 2.10.13
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.13 to 2.10.14
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.14 to 2.10.15
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.15 to 2.10.16
Updated by Vincent MEMBRÉ over 9 years ago
- Target version changed from 2.10.16 to 2.10.17
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.17 to 2.10.18
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.18 to 2.10.19
Updated by Vincent MEMBRÉ about 9 years ago
- Target version changed from 2.10.19 to 2.10.20
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.10.20 to 277
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 277 to 2.11.18
Updated by Vincent MEMBRÉ almost 9 years ago
- Target version changed from 2.11.18 to 2.11.19
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.19 to 2.11.20
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.20 to 2.11.21
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.21 to 2.11.22
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.22 to 2.11.23
Updated by Vincent MEMBRÉ over 8 years ago
- Target version changed from 2.11.23 to 2.11.24
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 2.11.24 to 308
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 308 to 3.1.14
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.14 to 3.1.15
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.15 to 3.1.16
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 3.1.16 to 3.1.17
Updated by François ARMAND about 8 years ago
- Status changed from Discussion to Rejected
We didn't have returns on that one, and the correct, definitive solution against all package management problems is to use: http://www.normation.com/en/blog/2016/10/17/discover-new-package-management-implementation-rudder/
Actions