Bug 853643 - preun(kde-settings-kdm-4.9-1.fc19.noarch) scriptlet failed
Summary: preun(kde-settings-kdm-4.9-1.fc19.noarch) scriptlet failed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kde-settings
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-01 17:24 UTC by Tom
Modified: 2012-11-08 18:28 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-08 18:28:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tom 2012-09-01 17:24:00 UTC
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 18:51:47 UTC
> /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 18:28:26 UTC
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.