Bug 1055136 - yum update failed due to Error in PREIN scriptlet in rpm package
Summary: yum update failed due to Error in PREIN scriptlet in rpm package
Keywords:
Status: CLOSED DUPLICATE of bug 1054350
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 20
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-19 05:19 UTC by Ravishankar Srinivasan
Modified: 2014-01-19 08:31 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-19 08:31:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ravishankar Srinivasan 2014-01-19 05:19:21 UTC
When trying to do a yum update on F20 x86_64 on 19 Jan 2014 I get errors for a few packages. Did a yum clean all with same result

[rsriniva@valhalla ~]$ sudo yum update
Loaded plugins: fastestmirror, langpacks, refresh-packagekit
adobe-linux-i386                                                                                                                                                                                                       |  951 B  00:00:00     
adobe-linux-x86_64                                                                                                                                                                                                     |  951 B  00:00:00     
fedora/20/x86_64/metalink                                                                                                                                                                                              | 7.4 kB  00:00:00     
fedora                                                                                                                                                                                                                 | 3.8 kB  00:00:00     
google-chrome                                                                                                                                                                                                          |  951 B  00:00:00     
google-talkplugin                                                                                                                                                                                                      |  951 B  00:00:00     
rpmfusion-free                                                                                                                                                                                                         | 3.3 kB  00:00:00     
rpmfusion-free-updates                                                                                                                                                                                                 | 3.3 kB  00:00:00     
rpmfusion-nonfree                                                                                                                                                                                                      | 3.3 kB  00:00:00     
rpmfusion-nonfree-updates                                                                                                                                                                                              | 3.3 kB  00:00:00     
updates/20/x86_64/metalink                                                                                                                                                                                             | 5.4 kB  00:00:00     
updates                                                                                                                                                                                                                | 4.6 kB  00:00:00     
(1/4): updates/20/x86_64/group_gz                                                                                                                                                                                      | 394 kB  00:00:05     
(2/4): fedora/20/x86_64/group_gz                                                                                                                                                                                       | 394 kB  00:00:19     
(3/4): updates/20/x86_64/primary_db                                                                                                                                                                                    | 6.6 MB  00:00:49     
(4/4): fedora/20/x86_64/primary_db                                                                                                                                                                                     |  18 MB  00:01:05     
(1/14): google-chrome/primary                                                                                                                                                                                          | 1.9 kB  00:00:00     
(2/14): google-talkplugin/primary                                                                                                                                                                                      | 1.5 kB  00:00:00     
(3/14): rpmfusion-free/20/x86_64/group_gz                                                                                                                                                                              | 1.6 kB  00:00:00     
(4/14): adobe-linux-x86_64/primary                                                                                                                                                                                     | 1.2 kB  00:00:00     
(5/14): rpmfusion-free-updates/20/x86_64/group_gz                                                                                                                                                                      | 1.6 kB  00:00:00     
(6/14): adobe-linux-i386/primary                                                                                                                                                                                       | 1.2 kB  00:00:01     
(7/14): rpmfusion-nonfree/20/x86_64/group_gz                                                                                                                                                                           | 1.0 kB  00:00:00     
(8/14): rpmfusion-nonfree-updates/20/x86_64/group_gz                                                                                                                                                                   | 1.0 kB  00:00:00     
(9/14): rpmfusion-free/20/x86_64/primary_db                                                                                                                                                                            | 445 kB  00:00:01     
(10/14): rpmfusion-free-updates/20/x86_64/primary_db                                                                                                                                                                   | 103 kB  00:00:01     
(11/14): rpmfusion-nonfree/20/x86_64/primary_db                                                                                                                                                                        | 137 kB  00:00:01     
(12/14): rpmfusion-nonfree-updates/20/x86_64/primary_db                                                                                                                                                                |  33 kB  00:00:01     
(13/14): updates/20/x86_64/updateinfo                                                                                                                                                                                  | 554 kB  00:00:04     
(14/14): updates/20/x86_64/pkgtags                                                                                                                                                                                     | 775 kB  00:00:06     
Determining fastest mirrors
 * fedora: mirror.cse.iitk.ac.in
 * rpmfusion-free: mirror.cse.iitk.ac.in
 * rpmfusion-free-updates: mirror.cse.iitk.ac.in
 * rpmfusion-nonfree: mirror.cse.iitk.ac.in
 * rpmfusion-nonfree-updates: mirror.cse.iitk.ac.in
 * updates: mirror.cse.iitk.ac.in
adobe-linux-i386                                                                                                                                                                                                                          2/2
adobe-linux-x86_64                                                                                                                                                                                                                        2/2
google-chrome                                                                                                                                                                                                                             3/3
google-talkplugin                                                                                                                                                                                                                         1/1
Resolving Dependencies
--> Running transaction check
---> Package initscripts.x86_64 0:9.50-1.fc20 will be updated
---> Package initscripts.x86_64 0:9.51-1.fc20 will be an update
---> Package selinux-policy-targeted.noarch 0:3.12.1-116.fc20 will be updated
---> Package selinux-policy-targeted.noarch 0:3.12.1-117.fc20 will be an update
---> Package tcpdump.x86_64 14:4.5.0-1.20131108gitb07944a.fc20 will be updated
---> Package tcpdump.x86_64 14:4.5.1-1.fc20 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================================================================
 Package                                                             Arch                                               Version                                                     Repository                                           Size
==============================================================================================================================================================================================================================================
Updating:
 initscripts                                                         x86_64                                             9.51-1.fc20                                                 updates                                             414 k
 selinux-policy-targeted                                             noarch                                             3.12.1-117.fc20                                             updates                                             3.6 M
 tcpdump                                                             x86_64                                             14:4.5.1-1.fc20                                             updates                                             387 k

Transaction Summary
==============================================================================================================================================================================================================================================
Upgrade  3 Packages

Total download size: 4.4 M
Is this ok [y/d/N]: y
Is this ok [y/d/N]: y
Downloading packages:
updates/20/x86_64/prestodelta                                                                                                                                                                                          | 1.2 MB  00:00:05     
Delta RPMs reduced 414 k of updates to 194 k (53% saved)
(1/3): initscripts-9.50-1.fc20_9.51-1.fc20.x86_64.drpm                                                                                                                                                                 | 194 kB  00:00:02     
(2/3): tcpdump-4.5.1-1.fc20.x86_64.rpm                                                                                                                                                                                 | 387 kB  00:00:02     
(3/3): selinux-policy-targeted-3.12.1-117.fc20.noarch.rpm                                                                                                                                                              | 3.6 MB  00:00:25     
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                                                         170 kB/s | 4.2 MB  00:00:25     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
error: %pre(tcpdump-14:4.5.1-1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package 14:tcpdump-4.5.1-1.fc20.x86_64
error: tcpdump-14:4.5.1-1.fc20.x86_64: install failed
error: %pre(initscripts-9.51-1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package initscripts-9.51-1.fc20.x86_64
error: initscripts-9.51-1.fc20.x86_64: install failed
error: %pre(selinux-policy-targeted-3.12.1-117.fc20.noarch) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package selinux-policy-targeted-3.12.1-117.fc20.noarch
  Verifying  : selinux-policy-targeted-3.12.1-117.fc20.noarch                                                                                                                                                                             1/6 
selinux-policy-targeted-3.12.1-116.fc20.noarch was supposed to be removed but is not!
  Verifying  : selinux-policy-targeted-3.12.1-116.fc20.noarch                                                                                                                                                                             2/6 
initscripts-9.50-1.fc20.x86_64 was supposed to be removed but is not!
  Verifying  : initscripts-9.50-1.fc20.x86_64                                                                                                                                                                                             3/6 
  Verifying  : initscripts-9.51-1.fc20.x86_64                                                                                                                                                                                             4/6 
14:tcpdump-4.5.0-1.20131108gitb07944a.fc20.x86_64 was supposed to be removed but is not!
  Verifying  : 14:tcpdump-4.5.0-1.20131108gitb07944a.fc20.x86_64                                                                                                                                                                          5/6 
  Verifying  : 14:tcpdump-4.5.1-1.fc20.x86_64                                                                                                                                                                                             6/6 

Failed:
  initscripts.x86_64 0:9.50-1.fc20     initscripts.x86_64 0:9.51-1.fc20     selinux-policy-targeted.noarch 0:3.12.1-116.fc20     selinux-policy-targeted.noarch 0:3.12.1-117.fc20     tcpdump.x86_64 14:4.5.0-1.20131108gitb07944a.fc20    
  tcpdump.x86_64 14:4.5.1-1.fc20      

Complete!

Comment 1 Michael Schwendt 2014-01-19 08:31:36 UTC
https://fedoraproject.org/wiki/Common_F20_bugs#RPM_scriptlets_fail_during_updates

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


Note You need to log in before you can comment on or make changes to this bug.