Bug 4901 - mlocate %pre(mlocate-0.25-1.mga2.i586) scriptlet fails on update, package fails to install
Summary: mlocate %pre(mlocate-0.25-1.mga2.i586) scriptlet fails on update, package fai...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Jani Välimaa
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2012-03-12 14:41 CET by Stew Benedict
Modified: 2012-04-01 19:56 CEST (History)
0 users

See Also:
Source RPM: mlocate-0.25-1.mga2.src.rpm
CVE:
Status comment:


Attachments

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


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