F17 yum/rpm not running groupadd in %pre scripts

Rex Dieter rdieter at math.unl.edu
Wed Aug 15 02:33:36 UTC 2012


Chuck Anderson wrote:

> I ran into a comedy of errors today after I did a new F17 installation
> yesterday.  Here are a couple:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=848148
> Error in PREIN scriptlet in rpm package wireshark-1.6.9-1.fc17.x86_64
> 
> (and why does yum still let the transaction succeed, creating problems
> in the RPMDB, broken dependencies?)

I believe your suspicions are correct.

...
> So what is going on with %pre not running groupadd properly?  Are there
> any known issues in this area?

Maybe try running the scriptlet by hand?

%pre
/usr/sbin/groupadd -g 84 -r -f screen

and and try to figure out why it fails on your box.

-- rex




More information about the test mailing list