Can not yum install anything

C0NFUS3D asked:

I’m on a new VPS running CentOS release 5.4 (Final) and using the DirectAdmin control panel.

When I try to run YUM for anything, I get the following error:

ERROR with rpm_check_debug vs depsolve:
e2fsprogs-libs is needed by (installed) e2fsprogs-devel-1.39-20.el5.x86_64
Complete!
(1, [u'Please report this error in http://yum.baseurl.org/report'])

Which, that page doesn’t work either!

I then proceeded to download e2fsprogs-libs-1.42.7.tar.gz from http://sourceforge.net/projects/e2fsprogs/files/e2fsprogs/v1.42.7/ and tried to install it…

‘make’ returns:

make[2]: Leaving directory `/root/e2fsprogs-libs-1.42.7/lib/blkid’

making all in lib/quota

make[2]: Entering directory `/root/e2fsprogs-libs-1.42.7/lib/quota’

make[2]: * No rule to make target ../../lib/ext2fs/ext2_fs.h', needed bymkquota.o’. Stop.

make[2]: Leaving directory `/root/e2fsprogs-libs-1.42.7/lib/quota’

make[1]: * [all-libs-recursive] Error 1

make[1]: Leaving directory `/root/e2fsprogs-libs-1.42.7′

make: * [all] Error 2

‘make install’ then outputs:

making all in lib/quota

make[1]: Entering directory `/root/e2fsprogs-libs-1.42.7/lib/quota’

make[1]: * No rule to make target ../../lib/ext2fs/ext2_fs.h', needed bymkquota.o’. Stop.

make[1]: Leaving directory `/root/e2fsprogs-libs-1.42.7/lib/quota’

make: * [all-libs-recursive] Error 1

My answer:


Run yum distro-sync to bring the system in sync with the package repository.

It appears that whoever built this VPS template got something out of sync (and for the love of Gawd, it’s “5.4”?!) and distro-sync will bring you current.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.