Bug 853643 - preun(kde-settings-kdm-4.9-1.fc19.noarch) scriptlet failed
preun(kde-settings-kdm-4.9-1.fc19.noarch) scriptlet failed
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kde-settings (Show other bugs)
rawhide
x86_64 Linux
unspecified Severity medium
: ---
: ---
Assigned To: Rex Dieter
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-01 13:24 EDT by Tom
Modified: 2012-11-08 13:28 EST (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-11-08 13:28:26 EST
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 Tom 2012-09-01 13:24:00 EDT
Description of problem:
Two duplicate kde-settings-kdm packages.

Version-Release number of selected component (if applicable):
yum info kde-settings-kdm
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit
Installed Packages
Name        : kde-settings-kdm
Arch        : noarch
Version     : 4.9
Release     : 1.fc19
Size        : 31 k
Repo        : installed
From repo   : rawhide
Summary     : Configuration files for kdm
URL         : http://fedorahosted.org/kde-settings
License     : MIT
Description : Configuration files for kdm.

Available Packages
Name        : kde-settings-kdm
Arch        : noarch
Version     : 19
Release     : 1.fc19
Size        : 39 k
Repo        : rawhide
Summary     : Configuration files for kdm
URL         : http://fedorahosted.org/kde-settings
License     : MIT
Description : Configuration files for kdm.

How reproducible:
Everytime

Steps to Reproduce:
1.yum update

2.yum check
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit
kde-settings-kdm-19-1.fc19.noarch is a duplicate with kde-settings-kdm-4.9-1.fc19.noarch

3.erase duplicate kde-settings-kdm-19-1.fc19.noarch, but keeps getting reinstalled.
  
Actual results:
yum install kdm kde-settings-kdm
Loaded plugins: downloadonly, langpacks, presto, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package kde-settings-kdm.noarch 0:4.9-1.fc19 will be updated
---> Package kde-settings-kdm.noarch 0:19-1.fc19 will be an update
---> Package kdm.x86_64 0:4.9.0-6.fc19 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================
 Package                 Arch          Version               Repository      Size
==================================================================================
Installing:
 kdm                     x86_64        4.9.0-6.fc19          rawhide        635 k
Updating:
 kde-settings-kdm        noarch        19-1.fc19             rawhide         39 k

Transaction Summary
==================================================================================
Install  1 Package
Upgrade  1 Package

Total download size: 674 k
Is this ok [y/N]: y
Downloading Packages:
Setting up and reading Presto delta metadata
(1/2): kde-settings-kdm-19-1.fc19.noarch.rpm               |  39 kB     00:00     
(2/2): kdm-4.9.0-6.fc19.x86_64.rpm                         | 635 kB     00:00     
----------------------------------------------------------------------------------
Total                                             774 kB/s | 674 kB     00:00     
Running Transaction Check
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : kde-settings-kdm-19-1.fc19.noarch                              1/3 
warning: /etc/kde/kdm/kdmrc created as /etc/kde/kdm/kdmrc.rpmnew
warning: /etc/pam.d/kdm created as /etc/pam.d/kdm.rpmnew
warning: /etc/pam.d/kdm-np created as /etc/pam.d/kdm-np.rpmnew
  Installing : kdm-4.9.0-6.fc19.x86_64                                        2/3 
/var/tmp/rpm-tmp.sccEv8: line 7: kdm.service: command not found
error: %preun(kde-settings-kdm-4.9-1.fc19.noarch) scriptlet failed, exit status 127
Error in PREUN scriptlet in rpm package kde-settings-kdm-4.9-1.fc19.noarch
  Verifying  : kdm-4.9.0-6.fc19.x86_64                                        1/3 
  Verifying  : kde-settings-kdm-19-1.fc19.noarch                              2/3 
  Verifying  : kde-settings-kdm-4.9-1.fc19.noarch                             3/3 

Installed:
  kdm.x86_64 0:4.9.0-6.fc19                                                       

Updated:
  kde-settings-kdm.noarch 0:19-1.fc19                                             

Failed:
  kde-settings-kdm.noarch 0:4.9-1.fc19                                            

Complete!

Expected results:


Additional info:
Comment 1 Kevin Kofler 2012-09-01 14:51:47 EDT
> /var/tmp/rpm-tmp.sccEv8: line 7: kdm.service: command not found
> error: %preun(kde-settings-kdm-4.9-1.fc19.noarch) scriptlet failed, exit status 127
> Error in PREUN scriptlet in rpm package kde-settings-kdm-4.9-1.fc19.noarch

This is your problem.

Workaround:
rpm -e --noscripts kde-settings-kdm-4.9-1.fc19
Comment 2 Rex Dieter 2012-11-08 13:28:26 EST
subsequent builds fixed it, but we can't retroactively avoid the broken %preun

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