Bug 981506

Summary: transmission: preun scriptlet failure during fedup
Product: [Fedora] Fedora Reporter: tengel
Component: transmissionAssignee: Rahul Sundaram <metherid>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 17CC: abdulkarimmemon, charles, cse.cem+redhatbugz, jspaleta, kumarpraveen.nitdgp, metherid, raghusiddarth, sanjay.ankur
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: 2013-07-17 06:25:26 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 tengel 2013-07-05 02:13:15 UTC
Description of problem:

During a F17 -> F19 using 'fedup-cli --network 19', the cleanup (uninstall) of transmission-2.77-1.fc17.x86_64 fails with:

upgrade[776]: /var/tmp/rpm-tmp.ubCigN: line 1: fg: no job control
upgrade[776]: error: %preun(transmission-2.77-1.fc17.x86_64) scriptlet failed, exit status 1
upgrade[776]: Warning: fatal %preun scriptlet failure in transmission-2.77-1.fc17 (exit code 2)
upgrade[776]: error: transmission-2.77-1.fc17.x86_64: erase failed

After the upgrade we're left with the old and new RPMs installed; using rpm -e --noscripts was required to get it uninstalled from F19. The F19 RPMs all passed a rpm -qV and the app is working as expected, though.

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

fedup-0.7.3-5.fc17.noarch
transmission-2.77-1.fc17.x86_64

How reproducible:

100% (well, once anyways :) )

Steps to Reproduce:
1. F17 -> yum install transmission
2. fedup-cli --reboot --network 19

Actual results:

F17 RPM left "installed" in RPMDB

Expected results:

F17 RPM not in RPMDB

Additional info:

This was the only RPM that had a failure of this sort (the only other listed failure in the log is unrelated to RPM)

Comment 1 Conrad Meyer 2013-07-17 06:25:26 UTC

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

Comment 2 Conrad Meyer 2013-07-17 06:27:56 UTC
(To clarify: Fedup doesn't do any magic on top of yum, other than fetching the packages ahead of time. Yum doesn't do any magic here except the equivalent of "rpm -Uvh transmission-foo.fc18.bar.rpm". RPM is failing here because the earlier version of transmission is broken such that it cannot be uninstalled. See the other bug for more details on that.)