Bug 1055006

Summary: %post(kernel-3.12.8-300.fc20.x86_64) scriptlet failed, exit status 127
Product: [Fedora] Fedora Reporter: Satish Balay <balay>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: bugs.michael, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
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 23:07:00 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:

Description Satish Balay 2014-01-17 23:03:02 UTC
Description of problem:

Get yum/rpm errors when updating to kernel-3.12.8-300.fc20.x86_64

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

kernel-3.12.8-300.fc20.x86_64

How reproducible:

tried once

Steps to Reproduce:
1. download kernel-3.12.8-300.fc20.x86_64  [and related packages] to local repo
2. install them using 'yum update'
3.

Actual results:

I didn't notice this initially - but on reboot I noticed I'm still using the old kernel. On checking 'yum history' I see errors.

[root@asterix ~]# yum history info 135
Loaded plugins: changelog, fastestmirror, langpacks
Transaction ID : 135
Begin time     : Fri Jan 17 15:20:23 2014
Begin rpmdb    : 2788:0b471f9d49e9d949ce9ca62799c36d03d0c7f0a1
End time       :            15:20:42 2014 (19 seconds)
End rpmdb      : 2789:c1313f3c861854c534385cc615cf63554806e03e
User           : root <root>
Return-Code    : Failure: 1
Command Line   : update
Transaction performed with:
    Installed     rpm-4.11.1-7.fc20.x86_64                       installed
    Installed     yum-3.4.3-129.fc20.noarch                      @updates
    Installed     yum-metadata-parser-1.1.4-9.fc20.x86_64        installed
    Installed     yum-plugin-fastestmirror-1.1.31-20.fc20.noarch @updates
Packages Altered:
 ** Erase   kernel-3.12.5-302.fc20.x86_64               installed
    Install kernel-3.12.8-300.fc20.x86_64               @local
Loading mirror speeds from cached hostfile
 * fedora: mirror.anl.gov
 * rpmfusion-free: csc.mcs.sdsmt.edu
 * rpmfusion-free-updates: csc.mcs.sdsmt.edu
 * rpmfusion-nonfree: csc.mcs.sdsmt.edu
 * rpmfusion-nonfree-updates: csc.mcs.sdsmt.edu
 * updates: mirror.anl.gov
    Erase   kernel-devel-3.12.5-302.fc20.x86_64         ?
    Install kernel-devel-3.12.8-300.fc20.x86_64         @local
    Updated kernel-headers-3.12.7-300.fc20.x86_64       @updates-testing
    Update                 3.12.8-300.fc20.x86_64       @local
    Erase   kernel-modules-extra-3.12.5-302.fc20.x86_64 ?
    Install kernel-modules-extra-3.12.8-300.fc20.x86_64 @local
Scriptlet output:
   1 warning: %post(kernel-3.12.8-300.fc20.x86_64) scriptlet failed, exit status 127
   2 warning: %post(kernel-modules-extra-3.12.8-300.fc20.x86_64) scriptlet failed, exit status 127
   3 warning: %post(kernel-devel-3.12.8-300.fc20.x86_64) scriptlet failed, exit status 127
   4 error: %preun(kernel-3.12.5-302.fc20.x86_64) scriptlet failed, exit status 127
   5 error: kernel-3.12.5-302.fc20.x86_64: erase failed
   6 warning: %posttrans(kernel-3.12.8-300.fc20.x86_64) scriptlet failed, exit status 127
history info
[root@asterix ~]# 

Expected results:

no errors.

Additional info:

If I attempt to remove either the old or new kernel - I still get errors. I'm not sure if this is a yum issue or kernel issue. [but filing againt kernel]

[root@asterix ~]# uname -a
Linux asterix 3.12.7-300.fc20.x86_64 #1 SMP Fri Jan 10 15:35:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
[root@asterix ~]# rpm -q kernel
kernel-3.12.5-302.fc20.x86_64
kernel-3.12.6-300.fc20.x86_64
kernel-3.12.7-300.fc20.x86_64
kernel-3.12.8-300.fc20.x86_64
[root@asterix ~]# yum remove -y -q kernel-3.12.5-302.fc20.x86_64
error: %preun(kernel-3.12.5-302.fc20.x86_64) scriptlet failed, exit status 127
Error in PREUN scriptlet in rpm package kernel-3.12.5-302.fc20.x86_64
[root@asterix ~]# yum remove -y -q kernel-3.12.8-300.fc20.x86_64
error: %preun(kernel-3.12.8-300.fc20.x86_64) scriptlet failed, exit status 127
Error in PREUN scriptlet in rpm package kernel-3.12.8-300.fc20.x86_64
[root@asterix ~]# rpm -V kernel
[root@asterix ~]#

Comment 1 Michael Schwendt 2014-01-17 23:07:00 UTC
https://lists.fedoraproject.org/pipermail/users/2014-January/445588.html

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