Bug 1054402

Summary: Multiple scriptlet failures: PREIN, POSTIN, POSTUN
Product: [Fedora] Fedora Reporter: Kostya Vasilyev <kmansoft>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: admiller, dominick.grift, dwalsh, ffesti, lvrabec, mechonbarsa, mgrepl, packaging-team-maint, pmatilai, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-17 05:55:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Original yum update scriptlet failures, PREIN, POSTIN, POSTUN none

Description Kostya Vasilyev 2014-01-16 18:27:45 UTC
Created attachment 851217 [details]
Original yum update scriptlet failures, PREIN, POSTIN, POSTUN

Description of problem:

Multiple scriptlet failures of various kinds when updating F20 with "yum update", with testing repos enabled.

The failures were in about a dozen packages (some, but not all that had updates), and had several varieties: 

Non-fatal POSTIN scriptlet failure
Error in PREIN scriptlet
Non-fatal POSTUN scriptlet failure

Some of those failures were ignored by yum, but the PREIN failures were not, and can still be reproduced by trying "yum update" again.

Version-Release number of selected component (if applicable):

Varies, multiple packages, please see attachment.

Fedora 20 with testing enabled

How reproducible:

Packages with PREIN failures were not installed, so doing "yum update" reproduces the issue every time.

I'm attaching two console logs (in one file):

- for the original "yum update" with various kinds of scriptlet failures,

- for subsequent update attempts, with just PREIN failures

Comment 1 Cristián Rojas 2014-01-16 19:52:47 UTC
I'm seeing the same issue over here. In fact, I reinstalled F20 just now, did a yum update and started seeing it trying to install Google Chrome and thunderbird. I'm posting an extract of that process:

Total download size: 45 M
Installed size: 86 M
Is this ok [y/d/N]: y
Downloading packages:
thunderbird-24.2.0-3.fc20.x86_64.rpm   45 MB  00:00:41     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : thunderbird-24.2.0-3.fc20.x86_64
warning: %post(thunderbird-24.2.0-3.fc20.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package thunderbird-24.2.0-3.fc20.x86_64
warning: %posttrans(thunderbird-24.2.0-3.fc20.x86_64) scriptlet failed, exit status 127
Non-fatal POSTTRANS scriptlet failure in rpm package thunderbird-24.2.0-3.fc20.x86_64
  Verifying  : thunderbird-24.2.0-3.fc20.x86_64                                                                                                                                                                                                                             
Installed:
  thunderbird.x86_64 0:24.2.0-3.fc20

Comment 2 Kostya Vasilyev 2014-01-16 22:56:46 UTC
As a test, I tried installing a package that didn't have an update today.

I installed nginx recently (this week), it's still at same version, and whereas it didn't have any scriptlet errors before, it does now.

yum install nginx:

....

Running transaction
  Installing : gperftools-libs-2.1-4.fc20.x86_64                                                                    1/4 
warning: %post(gperftools-libs-2.1-4.fc20.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package gperftools-libs-2.1-4.fc20.x86_64
  Installing : gd-2.1.0-3.fc20.x86_64                                                                               2/4 
warning: %post(gd-2.1.0-3.fc20.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package gd-2.1.0-3.fc20.x86_64
  Installing : GeoIP-1.5.1-3.fc20.x86_64                                                                            3/4 
warning: %post(GeoIP-1.5.1-3.fc20.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package GeoIP-1.5.1-3.fc20.x86_64
error: %pre(nginx-1:1.4.4-1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package 1:nginx-1.4.4-1.fc20.x86_64

Comment 3 Panu Matilainen 2014-01-17 05:55:19 UTC

*** This bug has been marked as a duplicate of bug 1054350 ***