Bug 989145 - Typo in preun scriptlet
Typo in preun scriptlet
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: kde-settings (Show other bugs)
19
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Martin Bříza
Fedora Extras Quality Assurance
https://fedoraproject.org/wiki/Common...
: CommonBugs
: 980899 994470 998139 1000550 1015901 1058361 1078637 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-27 18:02 EDT by Sandro Mani
Modified: 2014-03-20 06:05 EDT (History)
19 users (show)

See Also:
Fixed In Version: kde-settings-19-23.1.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-08-06 19:39:15 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sandro Mani 2013-07-27 18:02:28 EDT
Description of problem:
In this section of the spec file:
%preun kdm
%{?systemd_preun:%system_preun kdm.service}

There is a typo:
%{?systemd_preun:%system_preun kdm.service}
should read
%{?systemd_preun:%systemd_preun kdm.service}

Otherwise the preun scriptlet fails and the only way to remove the package is by rpm -e --noscripts.

Version-Release number of selected component (if applicable):
kde-settings-kdm-19-23.fc20.noarch
Comment 1 Martin Bříza 2013-07-29 05:12:00 EDT
Hi Sandro,
thanks for your report! I'm fixing the problem right now and will push the update in a minute.
Comment 2 Fedora Update System 2013-07-29 05:14:14 EDT
kde-settings-19-23.1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/kde-settings-19-23.1.fc19
Comment 3 Sandro Mani 2013-07-29 06:19:54 EDT
Thanks for the quick response!
Comment 4 Fedora Update System 2013-07-30 13:46:38 EDT
Package kde-settings-19-23.1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kde-settings-19-23.1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-13897/kde-settings-19-23.1.fc19
then log in and leave karma (feedback).
Comment 5 Martin Bříza 2013-08-01 04:05:56 EDT
*** Bug 980899 has been marked as a duplicate of this bug. ***
Comment 6 Fedora Update System 2013-08-06 19:39:15 EDT
kde-settings-19-23.1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 7 Kevin Kofler 2013-08-09 17:35:35 EDT
*** Bug 994470 has been marked as a duplicate of this bug. ***
Comment 8 Lars Gullik Bjønnes 2013-08-12 15:37:31 EDT
(In reply to Fedora Update System from comment #6)
> kde-settings-19-23.1.fc19 has been pushed to the Fedora 19 stable
> repository.  If problems still persist, please make note of it in this bug
> report.

Unable to remove the 19-23 package:

yum remove kde-settings-kdm-19-23.fc19.noarch:

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!
Comment 9 Sandro Mani 2013-08-12 15:48:36 EDT
Yeah, that is what this update fixes. To remove the old package, your only option is
# rpm -e --noscripts kde-settings-kdm-19-23.fc19.noarch

I still think that bodhi should check whether packages are removable as an auto-qa step, since such cases are really not user friendly, but there was not much feedback when I posted to devel: https://lists.fedoraproject.org/pipermail/devel/2013-July/186910.html
Comment 10 Rex Dieter 2013-08-17 13:07:13 EDT
*** Bug 998139 has been marked as a duplicate of this bug. ***
Comment 11 Rex Dieter 2013-08-26 09:05:33 EDT
*** Bug 1000550 has been marked as a duplicate of this bug. ***
Comment 12 Rex Dieter 2013-10-07 10:36:01 EDT
*** Bug 1015901 has been marked as a duplicate of this bug. ***
Comment 13 Adam Williamson 2013-12-30 01:12:27 EST
Sandro: FWIW, we aren't planning to add any new tests to AutoQA, instead development is focused on getting Taskotron (its replacement) up and running.
Comment 14 Rex Dieter 2014-01-27 12:46:15 EST
*** Bug 1058361 has been marked as a duplicate of this bug. ***
Comment 15 Kevin Kofler 2014-03-20 06:05:48 EDT
*** Bug 1078637 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.