Project

General

Profile

Actions

Bug #16694

closed

SNMP installation uses deprecated package method, and it reports an error even though it works

Added by Nicolas CHARLES almost 5 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Techniques
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Priority:
43
Name check:
To do
Fix check:
Checked
Regression:

Description

   error: Package 'net-snmp' cannot be updated -- no match or not installed
rudder     info: Installing net-snmp...
   info          snmp                      None                      net-snmp           Verify that package net-snmp is installed and up-to-date could not be repaired
   error: Method 'package_install_version_cmp_update' failed in some repairs
   info          snmp                      None                      net-snmp           Install package net-snmp version == latest could not be repaired
   error: Method 'package_install_version_cmp' failed in some repairs
   info          snmp                      None                      net-snmp           Install package net-snmp version latest could not be repaired
   error: Method 'package_install_version' failed in some repairs
   info          snmp                      None                      net-snmp           Install package net-snmp could not be repaired
   error: Method 'package_install' failed in some repairs
E| error         SNMP installation         SNMP installation                            Installation of the SNMP agent package could not be repaired

we should use current package methods for that

It does install the package, and next runs show a compliant state


Subtasks 1 (0 open1 closed)

Bug #20968: package_present takes 4 arguments - parent ticket broke policy generationReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF