Earlier this morning while working on a CentOS Linux development server I received errors when doing anything with the yum package manager. I believe the error started after upgrading the kernel on the server from kernel version 2.6.18-164.15.1.el5 to kernel version 2.6.18-194.3.1.el5. After upgrading the kernel yum would output the same error multiple times as shown in the below output example.
When performing a “yum update” I received the following error which deals with a library needed by the nfs-utils package on CentOS.
Error: Missing dependency: libevent-1.1a.so.1 is needed by package nfs-utils
On this machine NFS is not needed so I took the following steps to complete the “yum update”.
- Remove nfs-utils: First remove nfs-utils by issuing the below command.
- yum remove nfs-utils