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 over 3 years ago. Updated about 3 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

Also available in: Atom PDF