Project

General

Profile

Actions

Enhancement #24054

open

Package present doesn't install depedencies

Added by Elaad FURREEDAN 3 months ago. Updated 11 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
UX impact:
It bothers me each time
Suggestion strength:
Want - This would make my life a lot easier but I can manage without
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Large
Name check:
To do
Fix check:
To do
Regression:
No

Description

Use case

In many uses cases, we want the method to install the dependencies for the package (for apt and rpm)
The local install use rpm instead of yum, and he is not able to install dependencies https://github.com/Normation/ncf/blob/c1d12a1bed1ea23ab5e3ef3c60f8d4702c642892/tree/10_ncf_internals/modules/packages/yum#L391

Fix ideas

  • We can use yum instead
    • Ideally upstream at CFEngine
    • Do the same for apt

Workaround

For now, we have two workarounds
  • Install the dependencies with the method package present before the installation of the actual package
  • Use command execution method to use yum
Actions #1

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.3.11 to 7.3.12
Actions #2

Updated by Elaad FURREEDAN 2 months ago

  • UX impact set to It bothers me each time
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Effort required set to Large
Actions #3

Updated by Vincent MEMBRÉ 2 months ago

  • Target version changed from 7.3.12 to 7.3.13
Actions #4

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.3.13 to 7.3.14
Actions #5

Updated by Vincent MEMBRÉ 11 days ago

  • Target version changed from 7.3.14 to 7.3.15
Actions

Also available in: Atom PDF