Project

General

Profile

Actions

Bug #14582

closed

Improve package management error reporting to suggest avoiding virtual packages

Added by François ARMAND over 5 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Small
Priority:
56
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

I did the technique in screenshot (only one generic method "package present", with only "vim" in "name" field).
Rudder reports error, with "rudder agent run -i":

   error: Error installing package 'vim'
   error: Method 'ncf_package' failed in some repairs
E| error         A_new_technique           install vim               vim                Presence of package vim in any version could not be repaired
   error: Method 'package_present' failed in some repairs
   error: Method 'A_new_technique' failed in some repairs

But the package was installed:

[root@agent1 vagrant]# yum install vim
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.pasteur.fr
 * extras: fr2.rpmfind.net
 * updates: centos.crazyfrogs.org
Package 2:vim-enhanced-7.4.160-5.el7.x86_64 already installed and latest version
Nothing to do

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #15149: package management reporting broken when trying to use latest version and absent state ReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF