Project

General

Profile

Actions

Bug #13678

open

Updating Rudder agent using the "Packages" technique fails in postinst

Added by Vincent MEMBRÉ over 5 years ago. Updated 10 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Techniques
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:
Priority:
0
Name check:
Fix check:
Regression:

Description

I tried to update a package (rudder-agent) using "Packages" on a RHEL7 system.

My package is correctly updated but i have a reporting error

^[[31m   error: Error installing package 'rudder-agent'
^[[0m^[[31m   error: Method 'ncf_package' failed in some repairs
^[[0mR: [ERROR] Promise could not be repaired, error encountered: Presence of package rudder-agent in latest available version
^[[31m   error: Method 'package_state_options' failed in some repairs
^[[0mR: @@packageManagement@@result_error@@32377fd7-02fd-43d0-aab7-28460a91347b@@17cf81d5-5671-4f30-9a47-a621de603425@@1@@Package@@rudder-agent@@2018-10-18 10:00:41+00:00##8facd95e-094c-4cc2-9799-c29310e915c0@#Presence of package rudder-agent in latest available version could not be repaired

This does not happen on deb systems, i guess return code from yum is different when upgrading a package so it should be in the package methods

Actions

Also available in: Atom PDF