Description of problem: kde-settings-kdm has the following %preun scriptlet: %{?systemd_preun:%system_preun kdm.service} This fails when I attempted to remove kde from my computer, using yum remove kde\* Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. yum groupinstall "KDE Plasma Workspaces" 2. yum remove kde\* # yum groupremove "KDE Plasma Workspaces" does not work # somehow yum thinks the group is still not installed 3. yum remove kde-settings-kdm 4. rpm -e kde-settings-kdm Actual results: with yum: /var/tmp/rpm-tmp.i61Oku: line 1: fg: no job control error: %preun(kde-settings-kdm-19-23.fc19.noarch) scriptlet failed, exit status 1 Error in PREUN scriptlet in rpm package kde-settings-kdm-19-23.fc19.noarch with rpm: /var/tmp/rpm-tmp.Z8qeVJ: line 1: fg: no job control error: %preun(kde-settings-kdm-19-23.fc19.noarch) scriptlet failed, exit status 1 error: kde-settings-kdm-19-23.fc19.noarch: erase failed Expected results: Should uninstall cleanly Additional info:
This is likely due to a typo: %system_preun should be %systemd_preun $ rpm -E %system_preun %system_preun $ rpm -E %systemd_preun if [ $1 -eq 0 ] ; then # Package removal, not upgrade /usr/bin/systemctl --no-reload disable > /dev/null 2>&1 || : /usr/bin/systemctl stop > /dev/null 2>&1 || : fi
indeed, icky typo, i'll fix it this week.
I fixed this in the kde-settings-19-23.1 but according to fedora-kde list it doesn't fix the problem for those who already installed the package... Closing this as a duplicate of the newer bug because that's the one that will be closed by bodhi. *** This bug has been marked as a duplicate of bug 989145 ***
well after system update i have duplicate package error "yum check" gives message kde-settings-kdm-19-23.1.fc19.noarch jest duplikatem kde-settings-kdm-19-23.fc19.noarch where "yum list kde-settings-kdm* output is Zainstalowane pakiety kde-settings-kdm.noarch 19-23.fc19 installed kde-settings-kdm.noarch 19-23.1.fc19 @updates su -c "yum remove kde-settings-kdm-19-23.fc19.noarch" doesn't work
doesn't work... how? Can you post any output/error?
(In reply to Rex Dieter from comment #5) > doesn't work... how? Can you post any output/error? Running transaction /var/tmp/rpm-tmp.qFaQ4E: line 1: fg: no job control error: %preun(kde-settings-kdm-19-23.fc19.noarch) scriptlet failed, exit status 1 Error in PREUN scriptlet in rpm package kde-settings-kdm-19-23.fc19.noarch Verifying : kde-settings-kdm-19-23.fc19.noarch 1/1 Failed: kde-settings-kdm.noarch 0:19-23.fc19 Complete! And the package is not removed.
Ah, the dup'd bug has the workaround, which is: rpm -e --noscripts kde-settings-kdm-19-23.fc19
works like a charm, thanks