Bug 995632

Summary: The nscd RPM script to remove older versions fails, resulting in multiple versions being installed
Product: [Fedora] Fedora Reporter: Peter Trenholme <PTrenholme>
Component: glibcAssignee: Carlos O'Donell <codonell>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: codonell, fweimer, jakub, law, michal, pfrankli, pwouters, schwab, spoyarek, vonsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-13 19:48:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Trenholme 2013-08-09 22:30:23 UTC
Description of problem:The nscd RPM script to remove older versions fails, resulting in multiple versions being installed


Version-Release number of selected component (if applicable):
From fc18 on

How reproducible:
Every time

Steps to Reproduce:
1.Try "yum reinstall nscd"
2.
3.

Actual results:
Error messages, failure

Expected results:
Reinstallation

Additional info:
var/tmp/rpm-tmp.cgWY6J: line 1: fg: no job control
error: %preun(nscd-2.17.90-4.fc20.x86_64) scriptlet failed, exit status 1

error: nscd-2.17.90-4.fc20.x86_64: erase failed

/var/tmp/rpm-tmp.ySm4Mw: line 1: fg: no job control
error: %preun(nscd-2.17.90-5.fc20.x86_64) scriptlet failed, exit status 1

error: nscd-2.17.90-5.fc20.x86_64: erase failed

/var/tmp/rpm-tmp.KdENSj: line 1: fg: no job control
error: %preun(nscd-2.17.90-6.fc20.x86_64) scriptlet failed, exit status 1

error: nscd-2.17.90-6.fc20.x86_64: erase failed

/var/tmp/rpm-tmp.WCuyk7: line 1: fg: no job control
error: %preun(nscd-2.17.90-10.fc20.x86_64) scriptlet failed, exit status 1

error: nscd-2.17.90-10.fc20.x86_64: erase failed

Comment 1 Carlos O'Donell 2013-08-13 19:46:12 UTC
Moving to glibc component since nscd is part of the glibc package.

Comment 2 Carlos O'Donell 2013-08-13 19:48:26 UTC

*** This bug has been marked as a duplicate of bug 983760 ***

Comment 3 Michal Jaegermann 2013-08-13 20:47:44 UTC
(In reply to Peter Trenholme from comment #0)
> Description of problem:The nscd RPM script to remove older versions fails,
> resulting in multiple versions being installed

Even with bug 983760 fixed this will leave you with multiple old versions, with failing package scripts, of nscd installed.  To drop these you may use 'package-cleanup --cleandupes --noscripts' or you may apply 'rpm --noscripts -e ....' directly.