Actions
Bug #13678
openUpdating Rudder agent using the "Packages" technique fails in postinst
Pull Request:
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
Updated by Vincent MEMBRÉ about 6 years ago
- Subject changed from Updating a package with "Ppackage techniuqes to Updating a package with "Package techniques" makes a reporting error but package is updated on Centos/RHEL
Updated by Vincent MEMBRÉ about 6 years ago
- Subject changed from Updating a package with "Package techniques" makes a reporting error but package is updated on Centos/RHEL to Updating a package with "Packages" technique makes a reporting error but package is updated on Centos/RHEL
- Description updated (diff)
- Category set to Techniques
- Target version set to 4.1.16
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.16 to 4.1.17
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 4.1.17 to 4.1.18
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 4.1.18 to 4.1.19
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 4.1.19 to 4.1.20
Updated by François ARMAND over 5 years ago
- Target version changed from 4.1.20 to 4.1.21
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.21 to 4.1.22
Updated by Benoît PECCATTE over 5 years ago
- Severity set to Minor - inconvenience | misleading | easy workaround
- User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
- Priority changed from 0 to 47
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.22 to 4.1.23
- Priority changed from 47 to 46
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.23 to 4.1.24
Updated by Vincent MEMBRÉ over 5 years ago
- Target version changed from 4.1.24 to 588
- Priority changed from 46 to 45
Updated by Nicolas CHARLES over 5 years ago
- Target version changed from 588 to 5.0.13
- Priority changed from 45 to 44
still true
E| repaired New_technique Command execution echo "youpi trala| Execute the command echo "youpi tralala" was repaired Non-fatal POSTIN scriptlet failure in rpm package 1398866025:rudder-agent-5.0.12.release-1.EL.7.x86_64 error: Error installing package 'rudder-agent' error: Method 'ncf_package' failed in some repairs warning packageManagement None rudder-agent If you tried to install a virtual package, please use in place the concrete package you want to install.
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.13 to 5.0.14
- Priority changed from 44 to 43
Updated by Vincent MEMBRÉ about 5 years ago
- Target version changed from 5.0.14 to 5.0.15
- Priority changed from 43 to 42
Updated by Vincent MEMBRÉ almost 5 years ago
- Target version changed from 5.0.15 to 5.0.16
Updated by Alexis Mousset almost 5 years ago
- Target version changed from 5.0.16 to 5.0.17
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.17 to 5.0.18
Updated by Alexis Mousset over 4 years ago
- Subject changed from Updating a package with "Packages" technique makes a reporting error but package is updated on Centos/RHEL to Updating Rudder agent using the "Packages" technique fails in postinst
In both cases it's a rudder-agent package that fails at postinst step, probably because run by the agent itself.
The failure is real, the the technique is right (but rpm keeps packages install even if postinst failed).
The problem lies in the postinst script.
Updated by Vincent MEMBRÉ over 4 years ago
- Target version changed from 5.0.18 to 5.0.19
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.19 to 5.0.20
Updated by Vincent MEMBRÉ about 4 years ago
- Target version changed from 5.0.20 to 797
Updated by Benoît PECCATTE over 3 years ago
- Target version changed from 797 to 6.1.14
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.14 to 6.1.15
Updated by Vincent MEMBRÉ over 3 years ago
- Target version changed from 6.1.15 to 6.1.16
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.16 to 6.1.17
Updated by Vincent MEMBRÉ about 3 years ago
- Target version changed from 6.1.17 to 6.1.18
Updated by Vincent MEMBRÉ almost 3 years ago
- Target version changed from 6.1.18 to 6.1.19
- Priority changed from 42 to 43
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.19 to 6.1.20
- Priority changed from 43 to 44
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.20 to 6.1.21
- Priority changed from 44 to 45
Updated by Vincent MEMBRÉ over 2 years ago
- Target version changed from 6.1.21 to old 6.1 issues to relocate
Updated by Alexis Mousset 7 months ago
- Target version changed from old 6.1 issues to relocate to 7.3.15
- Priority changed from 45 to 0
Updated by Vincent MEMBRÉ 6 months ago
- Target version changed from 7.3.15 to 7.3.16
Updated by Vincent MEMBRÉ 5 months ago
- Target version changed from 7.3.16 to 7.3.17
Actions