[CentOS] yum update error

Mon Apr 3 12:01:51 UTC 2006
Dag Wieers <dag at wieers.com>

On Sun, 2 Apr 2006, Sungsoo Kim wrote:

> I wanted to update to CentOS 4.3 from CentOS 4.2.
> While updating packages using yum, there was serveral error messages,
> and I've found that some packages has not been updated.
> So I tried to update again but the packages would not be updated.
> I attached the messages shown below.

Doing something like:

	rpm -q --scripts hal diskdumputils squid nscd initscripts kernel

reveals that all of these packages that are mentioned are trying to create 
or update a user. So something is wrong on your system that is required 
for all of these packages.

You can use the above scripts on your currently installed packages to see 
what is required to work prior to installation.

As an example I have added the following scriptlet from the hal package:

	# Add the "haldaemon" user
	/usr/sbin/useradd -c 'HAL daemon' -u 68 \
	        -s /sbin/nologin -r -d '/' haldaemon 2> /dev/null || :

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]