When I try yum install gcc-c++, I get this error message at the end.
Is it safe to continue trying to install gcc-c++?
Error: Package: libstdc++-devel-4.8.5-28.el7.x86_64 (base)
Requires: libstdc++(x86-64) = 4.8.5-28.el7
Installed: libstdc++-4.8.5-28.el7_5.1.x86_64 (installed)
libstdc++(x86-64) = 4.8.5-28.el7_5.1
Available: libstdc++-4.8.5-28.el7.x86_64 (base)
libstdc++(x86-64) = 4.8.5-28.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest