Description of problem: * RHEL-5 client system attempting to install rhnmd-5.1.2-1: # rpm -i rhnmd-5.1.2-1.el5.i386.rpm useradd: invalid numeric argument 'apache' error: %pre(rhnmd-5.1.2-1.el5.i386) scriptlet failed, exit status 3 error: install: %pre scriptlet failed (2), skipping rhnmd-5.1.2-1.el5 # rpm -qp --scripts rhnmd-5.1.2-1.el5.i386.rpm preinstall scriptlet (using /bin/sh): if [ $1 -eq 1 ] ; then getent group rhnmd >/dev/null || groupadd -r rhnmd getent passwd rhnmd >/dev/null || \ useradd -r -g rhnmd -G apache -d /var/lib/rhnmd -s /sbin/tcsh -c "NOCpulse user" rhnmd fi # getent group apache # echo $? 2 Version-Release number of selected component (if applicable): rhnmd-5.1.2-1
Fix contained in f6095e4c8a125c6930c101054a51ff76f51fb53b New package version: rhnmd-5.1.3-1
Actually the correct package version is rhnmd-5.1.4-1 and additional commits are: b9e2a9e1153769f246b316d10b07b10f2226fc3c 80ff86a3034f3ca1d56645b1fc56ec42d2a19c07
[root@dhcp77-189 ~]# yum install rhnmd Loading "installonlyn" plugin Loading "rhnplugin" plugin Setting up Install Process Setting up repositories rhel-i386-server-5 100% |=========================| 1.4 kB 00:00 spacewalk 100% |=========================| 1.9 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 80 kB 00:00 ################################################## 251/251 Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for rhnmd to pack into transaction set. rhnmd-5.1.4-1.el5.i386.rp 100% |=========================| 4.9 kB 00:00 ---> Package rhnmd.i386 0:5.1.4-1.el5 set to be updated --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: rhnmd i386 5.1.4-1.el5 spacewalk 8.2 k Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 8.2 k Is this ok [y/N]: y Downloading Packages: (1/1): rhnmd-5.1.4-1.el5. 100% |=========================| 8.2 kB 00:00 Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: rhnmd ######################### [1/1] Installed: rhnmd.i386 0:5.1.4-1.el5 Complete!
VERIFIED