Re: gcc-c++ install issues

I ran into this exact same problem, with the exact same provider.

After a couple of server recycles due to broken yums, I found a very simple solution that shouldn't invalidate your support.

To cut a long story short, the following will sort you out:

yum remove gcc yum remove cpp

rpm --install /usr/repos/rh5/cpp-4.1.2-42.el5.i386.rpm rpm --install /usr/repos/rh5/gcc-4.1.2-42.el5.i386.rpm rpm --install /usr/repos/rh5/gcc-c++-4.1.2-42.el5.i386.rpm

By the way, Verio don't actually roll CentOS, but rather OpenVZ. This leades to a number of problems as they're mixing many different repos and build types. Their custom repos are what tends to get in the way, but in situations like these it's important to remember that OpenVZ means that anything that rolls with the OS should be packagaed somewhere inside it - hence the weird version that show up as installed in YUM, but don't actually come from a proper repo (most likely a shell script that auto-installs a load of RPMS).

Anyway, good luck

VerioSolutions (last edited 2009-08-05 06:14:09 by ZhonJohansen)