I just installed CENTOS 7 on my vmware. After YUM update everything worked fine for sometime then system suddenly crashed and asked me to Logout.
In console in tried to
yum update but it showed following error:
There was problem importing one of the Python modules required to run yum. The error leading to this problem was:
/lib64/libxml2.so.2:File too short
Please install a package which provides this module or verify that module is installed correctly
Its possible that the above module does not match the current version of Python, which is 2.7.5 (default, Sept 2016, 22:37:46) [GCC 4.8.5 2015(Red Hat 4.8.5-4)]
I followed this answer but, did not work for me. I just know basic of Linux OS so please help me fix this issue.