Bug 1055096
Summary: | Error in PREIN scriptlet in rpm package initscripts-9.51-1.fc20.x86_64 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | M. Edward (Ed) Borasky <znmeb> |
Component: | initscripts | Assignee: | Lukáš Nykrýn <lnykryn> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 20 | CC: | bugs.michael, jonathan, lnykryn, raphael.brandis, vartank25, vpavlin, znmeb |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-01-19 08:31:39 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
M. Edward (Ed) Borasky
2014-01-18 19:27:06 UTC
I have the same problem on Linux localhost.localdomain 3.12.7-300.fc20.i686 #1 SMP Fri Jan 10 16:19:51 UTC 2014 i686 i686 i386 GNU/Linux DELL DIMMENTION 4500 I am using yum extender and the result is :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
13:45:24 : network interface p1p1 (dmfe) is connected
13:45:25 : Connected to an network
13:45:25 : Getting package lists - BEGIN <yumexgui.populate_package_cache>
13:45:25 : network interface p1p1 (dmfe) is connected
13:45:25 : Starting yum child process
13:45:25 : Initialize yum backend - BEGIN <yum_backend.setup>
13:45:25 : Setup START <yum_backend.setup>
13:45:25 : Command to run : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf <yum_backend.setup>
13:45:25 : LAUNCHER: Ready for commands <yum_backend._check_for_message>
13:45:25 : Sending: #run args: ['UycvdXNyL3NoYXJlL3l1bWV4L3l1bV9jaGlsZHRhc2sucHkgMiBUcnVlIEZhbHNlIC9ldGMveXVtLmNvbmYnCnAwCi4='] <yum_backend._send_command>
13:45:25 : Setup END <yum_backend.setup>
13:45:25 : LAUNCHER - Starting : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf <yum_backend._check_for_message>
13:45:25 : Using yum debuglevel = 2 <yum_backend._check_for_message>
13:45:25 : YUM: Yum Version : 3.4.3
13:45:25 : YUM: Loaded plugins: langpacks
13:45:25 : YUM: No plugin match for: refresh-packagekit
13:45:25 : disable multi : adobe-linux-i386 <yum_server._disable_multi_download>
13:45:26 : disable multi : fedora <yum_server._disable_multi_download>
13:45:26 : disable multi : updates <yum_server._disable_multi_download>
13:45:26 : Initialize yum backend - END <yum_backend.setup>
13:45:26 : Getting package lists - END <yumexgui.populate_package_cache>
13:45:26 : Sending: set-option args: ['skip_broken', 'STAxCi4=', 'STAwCi4='] <yum_backend._send_command>
13:45:26 : Setting Yum Option skip_broken = True
13:45:26 : set-option Args: ['skip_broken', 'STAxCi4=', 'STAwCi4='] took 0.00 s to complete <yumexbackend.yum_server>
13:45:26 : Sending: set-option args: ['clean_requirements_on_remove', 'STAxCi4=', 'STAwCi4='] <yum_backend._send_command>
13:45:26 : Setting Yum Option clean_requirements_on_remove = True
13:45:26 : set-option Args: ['clean_requirements_on_remove', 'STAxCi4=', 'STAwCi4='] took 0.00 s to complete <yumexbackend.yum_server>
13:45:26 : Sending: get-repos args: [] <yum_backend._send_command>
13:45:27 : START: Getting updates packages <yumexgui.on_packageFilter_changed>
13:45:27 : get-repos Args: [''] took 0.00 s to complete <yumexbackend.yum_server>
13:45:27 : Sending: get-packages args: ['updates', 'False', 'False'] <yum_backend._send_command>
13:45:27 : Getting available updates
13:45:33 : got 3 packages from yum backend <yum_backend.get_packages>
13:45:33 : 3 packages returned
13:45:33 : get-packages Args: ['updates', 'False', 'False'] took 5.61 s to complete <yumexbackend.yum_server>
13:45:33 : Sending: get-packages args: ['obsoletes', 'False', 'False'] <yum_backend._send_command>
13:45:33 : Getting available obsoletes
13:45:33 : got 0 packages from yum backend <yum_backend.get_packages>
13:45:33 : 0 packages returned
13:45:33 : Adding Packages to view
13:45:33 : START: Adding updates & obsoletes packages to view <yumexgui._add_packages>
13:45:33 : Starting package view population <yumexgui.add_packages>
13:45:33 : Ended package view population. time : 0.10 <yumexgui.add_packages>
13:45:33 : Added 3 Packages to view
13:45:33 : END: Getting updates packages <yumexgui.on_packageFilter_changed>
13:45:39 : Starting pending actions processing <yumexgui.on_Execute_clicked>
13:45:39 : network interface p1p1 (dmfe) is connected
13:45:39 : Restarting backend as root <yum_backend.setup>
13:45:39 : get-packages Args: ['obsoletes', 'False', 'False'] took 0.00 s to complete <yumexbackend.yum_server>
13:45:39 : Sending: exit args: [] <yum_backend._send_command>
13:45:39 : Closing rpm db and releasing yum lock
13:45:39 : :end <yum_backend.reset>
13:45:39 : yum backend process is ended
13:45:39 : exitcode from backend : 0
13:45:39 : LAUNCHER: Ready for commands <yum_backend._check_for_message>
13:45:39 : Sending: #exit args: [] <yum_backend._send_command>
13:45:39 : Forcing backend to close <yum_backend._close>
13:45:39 : Starting yum child process
13:45:39 : Using the following repositories :
fedora,updates,adobe-linux-i386
13:45:39 : Initialize yum backend - BEGIN <yum_backend.setup>
13:45:39 : Setup START <yum_backend.setup>
13:45:47 : Command to run : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf "fedora;updates;adobe-linux-i386" <yum_backend.setup>
13:45:47 : LAUNCHER: Ready for commands <yum_backend._check_for_message>
13:45:47 : Sending: #run args: ['UycvdXNyL3NoYXJlL3l1bWV4L3l1bV9jaGlsZHRhc2sucHkgMiBUcnVlIEZhbHNlIC9ldGMveXVtLmNvbmYgImZlZG9yYTt1cGRhdGVzO2Fkb2JlLWxpbnV4LWkzODYiJwpwMAou'] <yum_backend._send_command>
13:45:47 : Setup END <yum_backend.setup>
13:45:47 : LAUNCHER - Starting : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf "fedora;updates;adobe-linux-i386" <yum_backend._check_for_message>
13:45:47 : Using yum debuglevel = 2 <yum_backend._check_for_message>
13:45:47 : YUM: Yum Version : 3.4.3
13:45:47 : YUM: Loaded plugins: langpacks
13:45:47 : YUM: No plugin match for: refresh-packagekit
13:45:47 : disable multi : adobe-linux-i386 <yum_server._disable_multi_download>
13:45:47 : disable multi : fedora <yum_server._disable_multi_download>
13:45:47 : disable multi : updates <yum_server._disable_multi_download>
13:45:47 : Initialize yum backend - END <yum_backend.setup>
13:45:47 : Sending: set-option args: ['gpgcheck', 'STAxCi4=', 'STAxCi4='] <yum_backend._send_command>
13:45:47 : Setting Yum Option gpgcheck = True
13:45:47 : Setting Yum Option gpgcheck = True (fedora) <yumexbackend.yum_server>
13:45:47 : Setting Yum Option gpgcheck = True (updates) <yumexbackend.yum_server>
13:45:47 : Setting Yum Option gpgcheck = True (adobe-linux-i386) <yumexbackend.yum_server>
13:45:47 : set-option Args: ['gpgcheck', 'STAxCi4=', 'STAxCi4='] took 0.00 s to complete <yumexbackend.yum_server>
13:45:47 : Sending: set-option args: ['skip_broken', 'STAxCi4=', 'STAwCi4='] <yum_backend._send_command>
13:45:48 : Setting Yum Option skip_broken = True
13:45:48 : set-option Args: ['skip_broken', 'STAxCi4=', 'STAwCi4='] took 0.00 s to complete <yumexbackend.yum_server>
13:45:48 : Sending: set-option args: ['clean_requirements_on_remove', 'STAxCi4=', 'STAwCi4='] <yum_backend._send_command>
13:45:48 : Setting Yum Option clean_requirements_on_remove = True
13:45:48 : set-option Args: ['clean_requirements_on_remove', 'STAxCi4=', 'STAwCi4='] took 0.00 s to complete <yumexbackend.yum_server>
13:45:48 : Sending: get-packages args: ['updates', 'False', 'False'] <yum_backend._send_command>
13:45:48 : Getting available updates
13:45:52 : got 3 packages from yum backend <yum_backend.get_packages>
13:45:52 : 3 packages returned
13:45:52 : get-packages Args: ['updates', 'False', 'False'] took 4.48 s to complete <yumexbackend.yum_server>
13:45:52 : Sending: get-packages args: ['obsoletes', 'False', 'False'] <yum_backend._send_command>
13:45:52 : Getting available obsoletes
13:45:52 : got 0 packages from yum backend <yum_backend.get_packages>
13:45:52 : 0 packages returned
13:45:53 : get-packages Args: ['obsoletes', 'False', 'False'] took 0.00 s to complete <yumexbackend.yum_server>
13:45:53 : Sending: reset-transaction args: [] <yum_backend._send_command>
13:45:53 : reset-transaction Args: [''] took 0.00 s to complete <yumexbackend.yum_server>
13:45:53 : Sending: add-transaction args: ['initscripts\t0\t9.51\t1.fc20\ti686\tupdates', 'update'] <yum_backend._send_command>
13:45:53 : Added : initscripts.i686 0:9.51-1.fc20 - u <yumexbackend.yum_server>
13:45:53 : add-transaction Args: ['initscripts', '0', '9.51', '1.fc20', 'i686', 'updates', 'update'] took 0.04 s to complete <yumexbackend.yum_server>
13:45:53 : Sending: add-transaction args: ['selinux-policy-targeted\t0\t3.12.1\t117.fc20\tnoarch\tupdates', 'update'] <yum_backend._send_command>
13:45:53 : Added : selinux-policy-targeted.noarch 0:3.12.1-117.fc20 - u <yumexbackend.yum_server>
13:45:54 : add-transaction Args: ['selinux-policy-targeted', '0', '3.12.1', '117.fc20', 'noarch', 'updates', 'update'] took 0.02 s to complete <yumexbackend.yum_server>
13:45:54 : Sending: add-transaction args: ['tcpdump\t14\t4.5.1\t1.fc20\ti686\tupdates', 'update'] <yum_backend._send_command>
13:45:54 : Added : tcpdump.i686 14:4.5.1-1.fc20 - u <yumexbackend.yum_server>
13:45:54 : add-transaction Args: ['tcpdump', '14', '4.5.1', '1.fc20', 'i686', 'updates', 'update'] took 0.01 s to complete <yumexbackend.yum_server>
13:45:54 : Sending: build-transaction args: [] <yum_backend._send_command>
13:45:54 : YUM: --> Running transaction check
13:45:54 : YUM: ---> Package initscripts.i686 0:9.50-1.fc20 will be updated
13:45:54 : YUM: ---> Package initscripts.i686 0:9.51-1.fc20 will be an update
13:45:54 : YUM: ---> Package selinux-policy-targeted.noarch 0:3.12.1-116.fc20 will be updated
13:45:54 : YUM: ---> Package selinux-policy-targeted.noarch 0:3.12.1-117.fc20 will be an update
13:45:54 : YUM: ---> Package tcpdump.i686 14:4.5.0-1.20131108gitb07944a.fc20 will be updated
13:45:54 : YUM: ---> Package tcpdump.i686 14:4.5.1-1.fc20 will be an update
13:46:01 : YUM: --> Finished Dependency Resolution
13:46:01 : YUM: --> Finding unneeded leftover dependencies
13:46:01 : YUM: Found and removing 0 unneeded dependencies
13:46:03 : Dependency resolving completed without error <yumexgui.process_transaction>
13:46:11 : build-transaction Args: [''] took 8.78 s to complete <yumexbackend.yum_server>
13:46:11 : Sending: run-transaction args: [] <yum_backend._send_command>
13:46:12 : YUM: Delta RPMs reduced 414 k of updates to 192 k (53% saved)
13:46:16 : Downloaded : (1/3): initscripts-9.50-1.fc20_9.51-1.fc20.i686.drpm ( 192 k )
13:46:40 : Downloaded : (2/3): selinux-policy-targeted-3.12.1-117.fc20.noarch.rpm ( 3.6 M )
13:46:42 : Downloaded : (3/3): tcpdump-4.5.1-1.fc20.i686.rpm ( 379 k )
13:46:42 : YUM: Running Transaction Check
13:46:44 : YUM: --> Populating transaction set with selected packages. Please wait.
13:46:44 : YUM: ---> Package selinux-policy-targeted.noarch 0:3.12.1-117.fc20 will be an update
13:46:44 : YUM: ---> Package tcpdump.i686 14:4.5.1-1.fc20 will be an update
13:46:44 : YUM: ---> Package initscripts.i686 0:9.51-1.fc20 will be an update
13:46:46 : RPM Scriptlet: error: %pre(selinux-policy-targeted-3.12.1-117.fc20.noarch) scriptlet failed, exit status 127
13:46:46 : YUM: Error in PREIN scriptlet in rpm package selinux-policy-targeted-3.12.1-117.fc20.noarch
13:46:46 : RPM Scriptlet: error: selinux-policy-targeted-3.12.1-117.fc20.noarch: install failed
13:46:46 : YUM: error: %pre(initscripts-9.51-1.fc20.i686) scriptlet failed, exit status 127
13:46:46 : YUM: Error in PREIN scriptlet in rpm package initscripts-9.51-1.fc20.i686
13:46:46 : RPM Scriptlet: error: initscripts-9.51-1.fc20.i686: install failed
13:46:46 : YUM: error: %pre(tcpdump-14:4.5.1-1.fc20.i686) scriptlet failed, exit status 127
13:46:46 : YUM: Error in PREIN scriptlet in rpm package 14:tcpdump-4.5.1-1.fc20.i686
13:46:46 : YUM: 14:tcpdump-4.5.0-1.20131108gitb07944a.fc20.i686 was supposed to be removed but is not!
13:46:46 : YUM: selinux-policy-targeted-3.12.1-116.fc20.noarch was supposed to be removed but is not!
13:46:46 : YUM: initscripts-9.50-1.fc20.i686 was supposed to be removed but is not!
13:46:47 : Transaction completed successfully
13:46:47 : run-transaction Args: [''] took 35.76 s to complete <yumexbackend.yum_server>
13:46:47 : Sending: exit args: [] <yum_backend._send_command>
13:46:47 : Closing rpm db and releasing yum lock
13:46:47 : :end <yum_backend.reset>
13:46:47 : yum backend process is ended
13:46:47 : Getting package lists - BEGIN <yumexgui.populate_package_cache>
13:46:47 : network interface p1p1 (dmfe) is connected
13:46:47 : Starting yum child process
13:46:47 : Using the following repositories :
fedora,updates,adobe-linux-i386
13:46:47 : Initialize yum backend - BEGIN <yum_backend.setup>
13:46:47 : Setup START <yum_backend.setup>
13:46:47 : Command to run : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf "fedora;updates;adobe-linux-i386" <yum_backend.setup>
13:46:47 : exitcode from backend : 0
13:46:47 : LAUNCHER: Ready for commands <yum_backend._check_for_message>
13:46:47 : Sending: #run args: ['UycvdXNyL3NoYXJlL3l1bWV4L3l1bV9jaGlsZHRhc2sucHkgMiBUcnVlIEZhbHNlIC9ldGMveXVtLmNvbmYgImZlZG9yYTt1cGRhdGVzO2Fkb2JlLWxpbnV4LWkzODYiJwpwMAou'] <yum_backend._send_command>
13:46:47 : Setup END <yum_backend.setup>
13:46:48 : LAUNCHER - Starting : /usr/share/yumex/yum_childtask.py 2 True False /etc/yum.conf "fedora;updates;adobe-linux-i386" <yum_backend._check_for_message>
13:46:48 : Using yum debuglevel = 2 <yum_backend._check_for_message>
13:46:48 : YUM: Yum Version : 3.4.3
13:46:48 : YUM: Loaded plugins: langpacks
13:46:48 : YUM: No plugin match for: refresh-packagekit
13:46:48 : disable multi : adobe-linux-i386 <yum_server._disable_multi_download>
13:46:48 : disable multi : fedora <yum_server._disable_multi_download>
13:46:48 : disable multi : updates <yum_server._disable_multi_download>
13:46:48 : Initialize yum backend - END <yum_backend.setup>
13:46:48 : Getting package lists - END <yumexgui.populate_package_cache>
13:46:49 : START: Getting updates packages <yumexgui.on_packageFilter_changed>
13:46:49 : Sending: get-packages args: ['updates', 'False', 'False'] <yum_backend._send_command>
13:46:49 : Getting available updates
13:46:54 : got 3 packages from yum backend <yum_backend.get_packages>
13:46:54 : 3 packages returned
13:46:54 : get-packages Args: ['updates', 'False', 'False'] took 5.37 s to complete <yumexbackend.yum_server>
13:46:54 : Sending: get-packages args: ['obsoletes', 'False', 'False'] <yum_backend._send_command>
13:46:55 : Getting available obsoletes
13:46:55 : got 0 packages from yum backend <yum_backend.get_packages>
13:46:55 : 0 packages returned
13:46:55 : Adding Packages to view
13:46:55 : START: Adding updates & obsoletes packages to view <yumexgui._add_packages>
13:46:55 : Starting package view population <yumexgui.add_packages>
13:46:55 : Ended package view population. time : 0.08 <yumexgui.add_packages>
13:46:55 : Added 3 Packages to view
13:46:55 : END: Getting updates packages <yumexgui.on_packageFilter_changed>
13:46:55 : Ended pending actions processing <yumexgui.on_Execute_clicked>
initscripts isn't the only package having issues like this. On my laptop, nfs-utils and selinux-policy-targeted are showing the same problem. And on my workstation, libvirt-daemon did this a couple of days ago. I'm beginning to suspect there's something broken in yum or in the Fedora packaging infrastructure, not these individual packages. hi this is another try on yum thru terminal [victor@localhost ~]$ su - Password: [root@localhost ~]# yum downgrade yum Loaded plugins: langpacks Resolving Dependencies --> Running transaction check ---> Package yum.noarch 0:3.4.3-106.fc20 will be a downgrade ---> Package yum.noarch 0:3.4.3-130.fc20 will be erased --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================== Package Arch Version Repository Size ============================================================================================================================================================== Downgrading: yum noarch 3.4.3-106.fc20 fedora 1.2 M Transaction Summary ============================================================================================================================================================== Downgrade 1 Package Total download size: 1.2 M Is this ok [y/d/N]: y Downloading packages: yum-3.4.3-106.fc20.noarch.rpm | 1.2 MB 00:00:28 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : yum-3.4.3-106.fc20.noarch 1/3 error: %preun(yum-3.4.3-129.fc20.noarch) scriptlet failed, exit status 127 Error in PREUN scriptlet in rpm package yum-3.4.3-130.fc20.noarch error: yum-3.4.3-129.fc20.noarch: erase failed error: %preun(yum-3.4.3-130.fc20.noarch) scriptlet failed, exit status 127 Error in PREUN scriptlet in rpm package yum Verifying : yum-3.4.3-106.fc20.noarch 1/2 Verifying : yum-3.4.3-130.fc20.noarch 2/2 Installed: yum.noarch 0:3.4.3-106.fc20 Failed: yum.noarch 0:3.4.3-130.fc20 Complete! hi Here is the solution or work around to the problem : Thanks to the following site : http://www.beduine.de/?p=909 It is in German!? and apperantly the following will takes care of the problem. The header says selinux-policy-3.12.1-117.fc20 Update Problem . . . setenforce 0 yum update setenforce 1 It sure fix my problem with three package downloads namely : initscripts.i686 0:9.51-1.fc20 selinux-policy-3.12.1-117 tcpdump......... I hope that helps. https://fedoraproject.org/wiki/Common_F20_bugs#RPM_scriptlets_fail_during_updates *** This bug has been marked as a duplicate of bug 1054350 *** |