Bug 4901

Summary: mlocate %pre(mlocate-0.25-1.mga2.i586) scriptlet fails on update, package fails to install
Product: Mageia Reporter: Stew Benedict <stewbintn>
Component: RPM PackagesAssignee: Jani Välimaa <jani.valimaa>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal Keywords: Triaged
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: mlocate-0.25-1.mga2.src.rpm CVE:
Status comment:

Description Stew Benedict 2012-03-12 14:41:17 CET
Description of problem:


installing mlocate-0.25-1.mga2.i586.rpm from /var/cache/urpmi/rpms             
Preparing...                     #############################################
groupmod: group 'mlocate' already exists
error: %pre(mlocate-0.25-1.mga2.i586) scriptlet failed, exit status 9
error: mlocate-0.25-1.mga2.i586: install failed
error: mlocate-0.24-1.mga1.i586: erase skipped

Version-Release number of selected component (if applicable):
mlocate-0.25-1.mga2.src.rpm

How reproducible:
very
workaround: groupdel mlocate

The way I've seen this handled in some packages is to || /bin/true in the groupadd stanza.

Steps to Reproduce:
1. urpmi mlocate in cauldron
2.
3.
Comment 1 Manuel Hiebel 2012-03-12 14:59:51 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(Please set the status to 'assigned' if you are working on it)

Keywords: (none) => Triaged
Assignee: bugsquad => jani.valimaa

Comment 2 Jani Välimaa 2012-04-01 19:56:56 CEST
Update fails when both slocate and mlocate group exists. This should be fixed in latest mlocate release.

Status: NEW => RESOLVED
Resolution: (none) => FIXED