Hi
The server is a RedHat 6.9, and the reason I think the repository is corrupted is because nobody can use it. Everytime I type for example:
yum repolist or yum install package_name, I get an error that says:
"There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named sqlite"
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6"
Here it says that the yum uses python 2.6.6, but when I check the python version with python --version it gives me the 2.7 version. So what can I make yum to use python 2.7 instead of 2.6.6.(The sqlite3 is indeed installed)
The sqlite3 is located in the following directories:
/usr/lib64/python2.6/sqlite3
/usr/local/src/php-5.6.30/ext/sqlite3
/usr/local/include/php/ext/sqlite3
/usr/local/lib/python2.7/sqlite3
/usr/local/bin/sqlite3
/usr/bin/Python-2.7/Lib/sqlite3
/usr/bin/Python-2.7/Doc/includes/sqlite3
Last edited by m@o_614; 08-31-2017 at 09:47 AM.
|