[haibo@fhbfcl lnx_wks]$ sudo yum update usbmuxd [sudo] password for haibo: Loaded plugins: fastestmirror, langpacks, refresh-packagekit Loading mirror speeds from cached hostfile * fedora: free.nchc.org.tw * rpmfusion-free-rawhide: mirrors.ustc.edu.cn * rpmfusion-nonfree-rawhide: mirror.bjtu.edu.cn * updates: mirrors.163.com * updates-testing: mirror.bjtu.edu.cn Resolving Dependencies --> Running transaction check ---> Package usbmuxd.i686 0:1.0.8-8.fc20 will be updated ---> Package usbmuxd.i686 0:1.0.8-10.fc20 will be an update --> Finished Dependency Resolution Dependencies Resolved ================================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================================= Updating: usbmuxd i686 1.0.8-10.fc20 fedora 69 k Transaction Summary ================================================================================================================================================================= Upgrade 1 Package Total download size: 69 k Is this ok [y/d/N]: y Downloading packages: Delta RPMs reduced 69 k of updates to 37 k (46% saved) usbmuxd-1.0.8-8.fc20_1.0.8-10.fc20.i686.drpm | 37 kB 00:00:03 Finishing delta rebuilds of 1 package(s) (69 k) /var/cache/yum/i386/20/fedora/packages/usbmuxd-1.0.8-8.fc20_1.0.8-10.fc20.i686.drpm: md5 mismatch of result Some delta RPMs failed to download or rebuild. Retrying.. usbmuxd-1.0.8-10.fc20.i686.rpm | 69 kB 00:00:02 ----------------------------------------------------------------------------------------------------------------------------------------------------------------- Total 17 kB/s | 106 kB 00:06 Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : usbmuxd-1.0.8-10.fc20.i686 1/2 /var/tmp/rpm-tmp.Scb97X: line 1: fg: no job control /var/tmp/rpm-tmp.Scb97X: line 3: fg: no job control /var/tmp/rpm-tmp.Scb97X: line 5: fg: no job control error: %preun(usbmuxd-1.0.8-8.fc20.i686) scriptlet failed, exit status 1 Error in PREUN scriptlet in rpm package usbmuxd-1.0.8-8.fc20.i686 Verifying : usbmuxd-1.0.8-10.fc20.i686 1/2 Verifying : usbmuxd-1.0.8-8.fc20.i686 2/2 Updated: usbmuxd.i686 0:1.0.8-10.fc20 Failed: usbmuxd.i686 0:1.0.8-8.fc20 Complete!
So after upgrade there are 2 versions of usbmuxd: [haibo@fhbfcl lnx_wks]$ rpm -qa|grep usbmuxd usbmuxd-1.0.8-10.fc20.i686 usbmuxd-1.0.8-8.fc20.i686
rpm remove fails either: [haibo@fhbfcl ~]$ sudo rpm -e usbmuxd --nodeps [sudo] password for haibo: /var/tmp/rpm-tmp.XAfIEo: line 1: fg: no job control /var/tmp/rpm-tmp.XAfIEo: line 3: fg: no job control /var/tmp/rpm-tmp.XAfIEo: line 5: fg: no job control error: %preun(usbmuxd-1.0.8-8.fc20.i686) scriptlet failed, exit status 1 error: usbmuxd-1.0.8-8.fc20.i686: erase failed
I originally install fedora Alpha 4, and update all. This issue happens.
The scripts in the old version are broken, which is what the updated version fixes. The broken scripts from the buggy package get executed upon its removal, preventing it from getting cleanly erased. 'rpm -e --noscripts usbmuxd-1.0.8-8.fc20.i686' to get rid of the buggy version. *** This bug has been marked as a duplicate of bug 1017493 ***