Bug 1054864 - yum pre/post update scripts are failing with waitpid error 127
Summary: yum pre/post update scripts are failing with waitpid error 127
Keywords:
Status: CLOSED DUPLICATE of bug 1054350
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 20
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-17 15:54 UTC by Trond Myklebust
Modified: 2014-01-17 22:58 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-01-17 22:58:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Trond Myklebust 2014-01-17 15:54:17 UTC
Description of problem:
All of today's yum updates and rpm updates are having trouble with errors
of the form

warning: %post(ibus-gtk3-1.5.5-1.fc20.x86_64) scriptlet failed, exit status 127
Non-fatal POSTIN scriptlet failure in rpm package ibus-gtk3-1.5.5-1.fc20.x86_64

In some cases, these errors are fatal, and the package cannot be upgraded or
is left in a partially upgraded state:

Updated:
  file.x86_64 0:5.14-14.fc20            file-libs.x86_64 0:5.14-14.fc20        
  firefox.x86_64 0:26.0-5.fc20          gnome-abrt.x86_64 0:0.3.5-1.fc20       
  ibus.x86_64 0:1.5.5-1.fc20            ibus-gtk2.x86_64 0:1.5.5-1.fc20        
  ibus-gtk3.x86_64 0:1.5.5-1.fc20       ibus-libs.x86_64 0:1.5.5-1.fc20        
  ibus-setup.noarch 0:1.5.5-1.fc20      ibus-wayland.x86_64 0:1.5.5-1.fc20     
  libpcap.x86_64 14:1.5.3-1.fc20       

Failed:
  firefox.x86_64 0:26.0-3.fc20           nfs-utils.x86_64 1:1.2.8-6.0.fc20     
  nfs-utils.x86_64 1:1.2.9-2.1.fc20     


Version-Release number of selected component (if applicable):
rpm-4.11.1-7.fc20.x86_64
yum-3.4.3-129.fc20.noarch

How reproducible:
All yum updates and rpm updates.

Steps to Reproduce:
1.yum update nfs-utils
2.
3.

Actual results:
yum update
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package nfs-utils.x86_64 1:1.2.8-6.0.fc20 will be updated
---> Package nfs-utils.x86_64 1:1.2.9-2.1.fc20 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch          Version                    Repository      Size
================================================================================
Updating:
 nfs-utils        x86_64        1:1.2.9-2.1.fc20           updates        356 k

Transaction Summary
================================================================================
Upgrade  1 Package

Total download size: 356 k
Is this ok [y/d/N]: y
Downloading packages:
nfs-utils-1.2.9-2.1.fc20.x86_64.rpm                        | 356 kB   00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
error: %pre(nfs-utils-1:1.2.9-2.1.fc20.x86_64) scriptlet failed, exit status 127
Error in PREIN scriptlet in rpm package 1:nfs-utils-1.2.9-2.1.fc20.x86_64
1:nfs-utils-1.2.8-6.0.fc20.x86_64 was supposed to be removed but is not!
  Verifying  : 1:nfs-utils-1.2.8-6.0.fc20.x86_64                            1/2 
  Verifying  : 1:nfs-utils-1.2.9-2.1.fc20.x86_64                            2/2 

Failed:
  nfs-utils.x86_64 1:1.2.8-6.0.fc20      nfs-utils.x86_64 1:1.2.9-2.1.fc20     


Expected results:


Additional info:

rpm is showing the same bug:
rpm -e -vv firefox-26.0-3.fc20.x86_64
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
D: loading keyring from rpmdb
D: opening  db environment /var/lib/rpm cdb:0x401
D: opening  db index       /var/lib/rpm/Packages 0x400 mode=0x0
D: locked   db index       /var/lib/rpm/Packages
D: opening  db index       /var/lib/rpm/Name 0x400 mode=0x0
D:  read h#    1328 Header SHA1 digest: OK (bdc2bedff544036c71f95611d3169fc62d906876)
D: added key gpg-pubkey-fb4b18e6-50b96bfd to keyring
D:  read h#    1660 Header SHA1 digest: OK (84cb9df1ef12f9aaf1c4e94160abc6e74f196a6c)
D: added key gpg-pubkey-7fac5991-4615767f to keyring
D:  read h#    5606 Header SHA1 digest: OK (dca846aeb44d76e28e5001d317c9f0ec56d78cc0)
D: added key gpg-pubkey-246110c1-51954fca to keyring
D: Using legacy gpg-pubkey(s) from rpmdb
D:  read h#    7377 Header V3 RSA/SHA256 Signature, key ID 246110c1: OK
D: opening  db index       /var/lib/rpm/Conflictname 0x400 mode=0x0
D: ========== --- firefox-26.0-3.fc20 x86_64/linux 0x2
D: opening  db index       /var/lib/rpm/Requirename 0x400 mode=0x0
D: ========== recording tsort relations
D: ========== tsorting packages (order, #predecessors, #succesors, depth)
D:     0    0    0    1   -firefox-26.0-3.fc20.x86_64
D: erasing packages
D: closed   db index       /var/lib/rpm/Conflictname
D: closed   db index       /var/lib/rpm/Requirename
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm
D: opening  db environment /var/lib/rpm cdb:0x401
D: opening  db index       /var/lib/rpm/Packages (none) mode=0x42
D: sanity checking 1 elements
D: running pre-transaction scripts
D: computing 150 file fingerprints
D: opening  db index       /var/lib/rpm/Name (none) mode=0x42
D: opening  db index       /var/lib/rpm/Basenames (none) mode=0x42
D: opening  db index       /var/lib/rpm/Group (none) mode=0x42
D: opening  db index       /var/lib/rpm/Requirename (none) mode=0x42
D: opening  db index       /var/lib/rpm/Providename (none) mode=0x42
D: opening  db index       /var/lib/rpm/Conflictname (none) mode=0x42
D: opening  db index       /var/lib/rpm/Obsoletename (none) mode=0x42
D: opening  db index       /var/lib/rpm/Triggername (none) mode=0x42
D: opening  db index       /var/lib/rpm/Dirnames (none) mode=0x42
D: opening  db index       /var/lib/rpm/Installtid (none) mode=0x42
D: opening  db index       /var/lib/rpm/Sigmd5 (none) mode=0x42
D: opening  db index       /var/lib/rpm/Sha1header (none) mode=0x42
Preparing packages...
D: computing file dispositions
D: 0x0000fd00     4096      7846097     40728985 /
D: ========== +++ firefox-26.0-3.fc20 x86_64-linux 0x2
D:  read h#    7377 Header V3 RSA/SHA256 Signature, key ID 246110c1: OK
D:     erase: firefox-26.0-3.fc20 has 150 files
D: %preun(firefox-26.0-3.fc20.x86_64): scriptlet start
D: %preun(firefox-26.0-3.fc20.x86_64): execv(/bin/sh) pid 14511
D: %preun(firefox-26.0-3.fc20.x86_64): waitpid(14511) rc 14511 status 7f00
error: %preun(firefox-26.0-3.fc20.x86_64) scriptlet failed, exit status 127
error: firefox-26.0-3.fc20.x86_64: erase failed
D: running post-transaction scripts
D: closed   db index       /var/lib/rpm/Sha1header
D: closed   db index       /var/lib/rpm/Sigmd5
D: closed   db index       /var/lib/rpm/Installtid
D: closed   db index       /var/lib/rpm/Dirnames
D: closed   db index       /var/lib/rpm/Triggername
D: closed   db index       /var/lib/rpm/Obsoletename
D: closed   db index       /var/lib/rpm/Conflictname
D: closed   db index       /var/lib/rpm/Providename
D: closed   db index       /var/lib/rpm/Requirename
D: closed   db index       /var/lib/rpm/Group
D: closed   db index       /var/lib/rpm/Basenames
D: closed   db index       /var/lib/rpm/Name
D: closed   db index       /var/lib/rpm/Packages
D: closed   db environment /var/lib/rpm


Problem was not present during yesterday's update:
Jan 16 09:19:24 Updated: 1:autocorr-en-4.1.4.2-4.fc20.noarch
Jan 16 09:19:24 Updated: 1:autocorr-fr-4.1.4.2-4.fc20.noarch
Jan 16 09:19:24 Updated: rhino-1.7R4-7.fc20.noarch
Jan 16 09:19:28 Updated: 1:java-1.7.0-openjdk-headless-1.7.0.60-2.4.4.0.fc20.x86
_64
Jan 16 09:19:28 Updated: 1:java-1.7.0-openjdk-1.7.0.60-2.4.4.0.fc20.x86_64
Jan 16 09:19:29 Updated: 1:libreoffice-ure-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:29 Updated: p11-kit-0.20.2-1.fc20.x86_64
Jan 16 09:19:29 Updated: 1:NetworkManager-glib-0.9.9.0-24.git20131003.fc20.x86_64
Jan 16 09:19:39 Updated: selinux-policy-3.12.1-116.fc20.noarch
Jan 16 09:19:40 Updated: 1:libreoffice-opensymbol-fonts-4.1.4.2-4.fc20.noarch
Jan 16 09:19:51 Updated: 1:libreoffice-core-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:51 Updated: 1:libreoffice-writer-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:52 Updated: 1:libreoffice-pyuno-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:52 Updated: 1:libreoffice-graphicfilter-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:52 Updated: 1:libreoffice-draw-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:52 Updated: 1:libreoffice-pdfimport-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:52 Updated: 1:autocorr-es-4.1.4.2-4.fc20.noarch
Jan 16 09:19:52 Updated: 1:autocorr-pt-4.1.4.2-4.fc20.noarch
Jan 16 09:19:53 Updated: 1:libreoffice-langpack-pt-PT-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:54 Updated: 1:libreoffice-langpack-es-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:54 Updated: 1:libreoffice-emailmerge-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:55 Updated: 1:libreoffice-impress-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:55 Updated: 1:libreoffice-langpack-en-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:56 Updated: 1:libreoffice-calc-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:57 Updated: 1:libreoffice-langpack-nb-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:57 Updated: 1:libreoffice-math-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:58 Updated: 1:libreoffice-langpack-fr-4.1.4.2-4.fc20.x86_64
Jan 16 09:19:59 Updated: 1:libreoffice-langpack-nn-4.1.4.2-4.fc20.x86_64
Jan 16 09:20:11 Updated: selinux-policy-targeted-3.12.1-116.fc20.noarch
Jan 16 09:20:11 Updated: 1:NetworkManager-0.9.9.0-24.git20131003.fc20.x86_64
Jan 16 09:20:11 Updated: p11-kit-trust-0.20.2-1.fc20.x86_64
Jan 16 09:20:12 Updated: 1:java-1.7.0-openjdk-devel-1.7.0.60-2.4.4.0.fc20.x86_64

Comment 1 Cristian Ciupitu 2014-01-17 22:58:15 UTC

*** 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.