I am working on a Red Hat Enterprise Linux server where someone apparently fat-fingered a Python version cleanup and broke yum
as a result. A colleague gathered that in order to fix that, you have to manually install the Python .rpm used by that particular version of yum, but since yum --version
doesn't work, we have no way to know which version of yum is installed on that server. rpm -q yum
doesn't work either, because yum
appears to have been side-loaded on that server.
Is there any way to find the installed version other than with package manager commands?
yum
was installed outside the realm of package management, and the binary doesn't even work enough to have it tell you its version, hopefully you can find the shell history of the user who performed the install and will find the version number in (for example) the filename of the tarball which was extracted. – DopeGhoti Aug 31 '17 at 16:52