Greetings,
I just ran "yum update" on a remote 4.2 Centos install. Then I typed "yum search some package" and got this error message repeating continuously:
sem_post: Invalid argument
A search for this message revealed only these links:
http://www.linode.com/forums/archive/o_t/t_1898/centos4_installations_rpm_da...
http://bugs.centos.org/view.php?id=1202
If I run the command to look for duplicated RPMs described in those pages I get:
-bash-3.00# rpm -qa | sed 's/([A-Za-z0-9])-[0-9].*$/\1/' | sort | uniq -d kernel
As a matter of fact, I also get:
-bash-3.00# rpm -q kernel kernel-2.6.9-11.EL kernel-2.6.9-22.0.1.EL kernel-2.6.9-34.EL
My question is, what is the best, safest way to fix the system?
The hack described in those pages doesn't seem (to me) to apply directly to my case. Being the kernel involved, instead of normal packages, I'm hesitant to try something that, as far as I know, may bring this remote server in an unusable state.
Any help is appreciated.
Marco