Project

General

Profile

Actions

Bug #19187

closed

Detection of dependencies for plugin can fail if the python lib of another distrib is present

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

Status:
Released
Priority:
N/A
Category:
Plugins management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

On an ubuntu system, if rudder-api-client is installed, and python-rpm is installed, installing a plugin requiring rudder-api-client can fail because it will check in the rpm database after checking in the apt one
error is

Installing /var/rudder/tmp/plugins/./6.2/cis-redhat7/release/rudder-plugin-cis-redhat7-6.2-1.2.rpkg
This package depends on the following
  on apt : rudder-api-client
Neither rpm nor apt could be queried successfully - cannot check the dependencies for this plugin.
  on rpm : rudder-api-client
Skipping update, this package cannot be updated

error message is misleading, as apt can be queried

introduced in https://issues.rudder.io/issues/18999


Related issues 1 (0 open1 closed)

Related to Rudder plugins - Bug #18999: when we install a plugin, if the dependency (package manager) is not met, it still tries to install it and failsReleasedBenoît PECCATTEActions
Actions #1

Updated by Nicolas CHARLES almost 3 years ago

  • Related to Bug #18999: when we install a plugin, if the dependency (package manager) is not met, it still tries to install it and fails added
Actions #2

Updated by Nicolas CHARLES almost 3 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #3

Updated by Nicolas CHARLES almost 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder/pull/3601
Actions #4

Updated by Nicolas CHARLES almost 3 years ago

  • Description updated (diff)
Actions #5

Updated by Nicolas CHARLES almost 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Vincent MEMBRÉ over 2 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF